Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: Stata 11 discrim logistic leave-one-out

From   "Lachenbruch, Peter" <>
To   "''" <>
Subject   RE: st: Stata 11 discrim logistic leave-one-out
Date   Tue, 13 Apr 2010 09:05:15 -0700

It might be feasible to do a number of leave one out regressions in a foreach loop and summarize the results.  I'd use 500 to 1000 reps as a start.  10000 might mean an overnight run, but not everyone works all night ...


Peter A. Lachenbruch
Department of Public Health
Oregon State University
Corvallis, OR 97330
Phone: 541-737-3832
FAX: 541-737-4001

-----Original Message-----
From: [] On Behalf Of
Sent: Tuesday, April 13, 2010 6:42 AM
Subject: Re: st: Stata 11 discrim logistic leave-one-out

Burkhard C. Schipper <> asks why there is
no -lootable- option with -discrim logistic- (and correspondingly
why there is no -estat classtable, loo- postestimation available
after -discrim logistic-) when it is available after the other
-discrim- commands.

The reason is that there are quick update formulas for performing
leave-one-out analysis for the other methods.

Think of the case where you have a lot of observations -- lets
say 10,000.  With -discrim lda-, -discrim qda-, and -discrim knn-
there are formulas that allow us to take the discrimination
results from the full sample and quickly alter it to remove one
observation.  We are unaware of quick update formulas for
logistic discrimination and so providing a -lootable- option for
-discrim logistic- was not provided since with moderate to large
size datasets, the computation time would be excessive.  With
10,000 observations we would need to run 10,000 logistic

Ken Higbee
*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index