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

st: AGAIN: omit output of some coefficients with outreg2

From   Roy Wada <>
To   <>
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.


Change the world with e-mail. Join the i’m Initiative from Microsoft.
*   For searches and help try:

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