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

RE: st: est table --- problem with keep(list_of_variables)


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: est table --- problem with keep(list_of_variables)
Date   Mon, 2 Aug 2004 16:14:46 +0100

I haven't come across this, but one standard device is 
to use -unab- to "unabbreviate" compact varlists. Another 
is to use -ds-. In other words there is a preprocessing 
step something like 

unab myvars : <whatever>
..., keep(`myvars') 

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

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of Michael S.
> Hanson
> Sent: 02 August 2004 16:08
> To: statalist@hsphsun2.harvard.edu
> Subject: Re: st: est table --- problem with keep(list_of_variables)
> 
> 
> On Aug 1, 2004, at 11:45 PM, Fredrik Wallenberg wrote:
> 
> > I used to be able to specify the variables I wanted to include using
> > keep() with a list of variables. I have working examples (well, they
> > used to work) of lists that include Abbreviated variable names (Var1
> > instead of Var1_has_this_name), Range of names (var3-var8) and
> > Wildcards (HHvar*).
> >
> > None of these options work in -estout- anymore, nor do they work in
> > -estimates table-. I wish I could prove that this used to work, but
> > don't have an old installation of Stata on which to do it. 
> I know that
> > "bugs" usually are user errors, but I have reason to suspect that
> > there is something else going on here.
> >
> > Thoughs/Suggestions?
> 
> 	No suggestions, I'm afraid, but I too have noticed that 
> the -drop- and 
> -keep- options of -est table- do not allow wildcards, ranges, etc.  I 
> too would appreciate ways to get around this limitation.
> 
>                                          -- Mike
> 
> *
> *   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index