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

st: RE: limit on IVs for multiple regression

From   "Nick Cox" <>
To   <>
Subject   st: RE: limit on IVs for multiple regression
Date   Wed, 17 Sep 2003 22:23:21 +0100
> 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 

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  

*   For searches and help try:

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