Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: AGAIN: omit output of some coefficients with outreg2


From   Roy Wada <[email protected]>
To   <[email protected]>
Subject   st: AGAIN: omit output of some coefficients with outreg2
Date   Fri, 23 May 2008 13:54:57 -0700

>you proposed to type outreg2 a b using myfile, which works 
>perfect. now imagine i have 20 regressors a1 to a20 but want 
>to omit the result for a20. do i have to type outreg2 a1 a2 a3 
>... a19 using myfile or is there an easier way to do it?

In the variables are consecutive, you can try

outreg2 a1-a19 using myfile 

But what you want to do is to "positively" drop a variable. 
This comes up occassionally. It's the syntax that was 
never settled on. If -drop( )- option is added, should 
-keep( )- option be added as well? That seems redundant 
with the current set up.

Unless someone has a better suggestion, I will go ahead 
and ask Kit Baum to upload a new one with -drop- and 
-keep- options added. This should be available next month.

Roy

_________________________________________________________________
Change the world with e-mail. Join the i’m Initiative from Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ChangeWorld
*
*   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