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

RE: st: RE: Removing the limit to 31 variables from stata -impute- ado


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: Removing the limit to 31 variables from stata -impute- ado
Date   Thu, 13 Nov 2003 18:42:20 -0000

Excellent point. I would think of a set of dummies
as one logical variable, but clearly it could boost
the number of Stata variables substantially.

Nick
n.j.cox@durham.ac.uk

Renzo Comolli

> I of course totally agree with Nick on the general principle.
>
> But if you have something as simple as
> xi: impute weekly_hours_of_work i.census_occupation_code,
> gen(imputed_whw)
> and if your data allow, then you want to use (at least) two
> digits census
> occupation code, and that's 84 dummies. In this case, -impute- would
> probably be extrely fast (if it weren't limited) because
> these are 84
> dummies.
> This is just a "FYI" thread. As far as I am concerned, I am all set.

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index