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

RE: st: RE: Estout and predicted signs


From   "Jann, Ben" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: Estout and predicted signs
Date   Sun, 13 Feb 2005 21:12:19 +0100

Herv� wrote
> ...
> I still have a little remaining problem. In my real estimation (see
> below), I need to have the b and p values published. 
> ... 
> Then, I get for the predicted signs two columns: one with the 
> b and one
> with the p. I don't know if I can write -estout- in such a 
> way that, for
> the "signs" model, I only get the "b" (i.e. the signs). I 
> looked at the
> -estout- help and found something with -drop- and -estimates- but I
> don't know what to do.

Check the -pattern()- suboption which can be attached to the statistics
in the -cells()- option. In your case, type

 . estout signs m1 m2 m3 m4, cells("b p(fmt(%9.3f) pattern(0))") ... 

to suppress the p-values for the first model (note that -pattern(0)- is 
interpreted as -pattern(0 1 1 1 1)- here). (Furtheremore, the -pattern()- 
suboption may also solve the problems you had with solution 1.) 

> Another minor element: when I precise the format for the b, the signs
> disappear and are replaced by a 0. So, I decided not to add a precise
> format for the b. (I can manage the format in excel later).

The crux is that the fmt also affects the display of the placeholder 
numbers for the signs. Thus, if you specify, say, -b(fmt(%9.3f))- you'd
have to type -substitute(-999.000 - 999.000 +).

ben

*
*   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