Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: limit on IVs for multiple regression


From   [email protected]
To   [email protected]
Subject   Re: st: RE: limit on IVs for multiple regression
Date   Wed, 17 Sep 2003 14:42:13 -0700

When I enter the first line, I get the error message:
     unrecognized command  _grmissing

What does this mean?

Thanks,
JIm Seward


                                                                                                                               
                    "Nick Cox"                                                                                                 
                    <[email protected]>           To:     <[email protected]>                                  
                    Sent by:                         cc:                                                                       
                    [email protected]       Subject:     st: RE: limit on IVs for multiple regression                 
                    arvard.edu                                                                                                 
                                                                                                                               
                                                                                                                               
                    09/17/2003 02:23 PM                                                                                        
                    Please respond to                                                                                          
                    statalist                                                                                                  
                                                                                                                               
                                                                                                                               




[email protected]
>
> Is there a limit on the number of IVs in a multiple
> regression?  If I enter
> in too many, I get r(2000).  As I eliminate them one by one
> I am eventually
> able to run it.

Are IVs so-called independent variables or instrumental
variables?

Whatever: r(2000) means "no observations". I guess that
something else is biting, principally any
missing values.

One way to find out is

. egen nmiss = rmissing(<varlist>)
. count if nmiss == 0


Nick
[email protected]
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/




*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index