Bookmark and Share

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


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

Re: st: exact logistic regression


From   SR Millis <[email protected]>
To   [email protected]
Subject   Re: st: exact logistic regression
Date   Mon, 21 Jun 2010 13:39:57 -0700 (PDT)

Why do you want to perform exact logistic regression with this particular (and large) data set?

Scott Millis



--- On Mon, 6/21/10, Michael N. Mitchell <[email protected]> wrote:

> From: Michael N. Mitchell <[email protected]>
> Subject: Re: st: exact logistic regression
> To: [email protected]
> Date: Monday, June 21, 2010, 4:29 PM
> Dear Nick
> 
>    I created an example based on the -auto-
> dataset like this...
> 
> clear all
> sysuse auto
> replace rep78 = rep78 - 1 if rep78 !=1
> tab rep78
> expand 28
> keep in 1/2061
> xi: exlogistic foreign i.rep78 , memory(1400m)
> 
>    and I was not able to complete this
> either, getting the message
> 
> observation 415: enumerations =    9333408
> observation 416: enumerations =    9470664
> the operating system refuses to provide the requested
> memory
> r(909);
> 
>    Do you have a very small or empty cell
> when you crosstabulate -a- by -b-? Perhaps you 
> could share the crosstab of -a- and -b- with us to
> illustrate the need for exact logistic 
> regression?
> 
> Best regards,
> 
> Michael N. Mitchell
> Data Management Using Stata      - http://www.stata.com/bookstore/dmus.html
> A Visual Guide to Stata Graphics - http://www.stata.com/bookstore/vgsg.html
> Stata tidbit of the week     
>    - http://www.MichaelNormanMitchell.com
> 
> 
> 
> On 2010-06-21 12.29 PM, Nikolaos Pandis wrote:
> > Hi to all.
> >
> > 1. I try to run in Stata 11 IC:
> >
> > xi:exlogistic a i.b
> > a= binary (0,1)
> > b=4 level categorical (0-3)
> > 2061 observations
> >
> > I get the following error message:
> > exceeded memory limit of 10.0M bytes; use the memory()
> option to increase the memory limit
> > error(499)
> >
> > I use set memory to values larger than 10m and still
> get the same message.
> >
> > exceeded memory limit of 10.0M bytes; use the memory()
> option to increase the memory limit
> > error(499)
> >
> > 2. I was wondering if it is possible to run
> multinomial logistic regression using exact methods.
> >
> >
> > Any comments would be appreciated.
> >
> > Many thanks,
> > Nick
> >
> >
> >
> > *
> > *   For searches and help try:
> > *   http://www.stata.com/help.cgi?search
> > *   http://www.stata.com/support/statalist/faq
> > *   http://www.ats.ucla.edu/stat/stata/
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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