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   Jim.Seward@sunhealth.org
To   statalist@hsphsun2.harvard.edu
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"                                                                                                 
                    <n.j.cox@durham.ac.uk>           To:     <statalist@hsphsun2.harvard.edu>                                  
                    Sent by:                         cc:                                                                       
                    owner-statalist@hsphsun2.h       Subject:     st: RE: limit on IVs for multiple regression                 
                    arvard.edu                                                                                                 
                                                                                                                               
                                                                                                                               
                    09/17/2003 02:23 PM                                                                                        
                    Please respond to                                                                                          
                    statalist                                                                                                  
                                                                                                                               
                                                                                                                               




Jim.Seward@sunhealth.org
>
> 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
n.j.cox@durham.ac.uk
*
*   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–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index