Statalist


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

Re: R�p. : Re: R�p. : Re: st: -esto ut- a nd dummies (-indicate- option)


From   "Ben Jann" <[email protected]>
To   [email protected]
Subject   Re: R�p. : Re: R�p. : Re: st: -esto ut- a nd dummies (-indicate- option)
Date   Thu, 10 Jan 2008 23:48:23 +0100

As an aside, formats specifications can be simplified. For example,
you could type

 fmt(3 3 3 0 3 0 3 3)

instead of

 fmt(%9.3f %9.3f %9.3f %9.0f %9.3f %9.0f %9.3f %9.3f)

See -help estout, marker(fmt)-
ben

On Jan 10, 2008 4:40 PM, Herve STOLOWY <[email protected]> wrote:
> Dear Ben:
>
> As usual, it works perfectly.
>
> Here are my final command lines:
>
> estadd nagelkerke: m1 m2 m3
> estadd scalar cons = _b[_cons]: m1 m2 m3
> estadd scalar cons_t = _b[_cons]/_se[_cons]: m1 m2 m3
> estadd scalar cons_p = (1-normal(abs(_b[_cons]/_se[_cons]))) * 2: m1 m2
> m3
>
>
> estout m1 m2 m3 using Table5, replace  cells ("b(fmt(%9.3f)
> label(Coefficients)) t(fmt(%9.3f) label(z)) p(fmt(%9.3f))") stats (cons
> cons_t cons_p N chi2 p  r2_p nagelkerke, layout("@ @ @") fmt(%9.3f %9.3f
> %9.3f %9.0f %9.3f %9.0f %9.3f %9.3f) labels("Constant" "Number of
> observations" "Chi square" "p(chi2)" "Pseudo R-square" "Nagelkerke
> R-square")) label labcol2( + + - + - -, title(Predicted signs))
> indicate("Industry effects = _Inew_sic3*" "Country effects =
> _Icountry*") drop(_cons)
>
> Thank you again for your help.
>
> Best regards
>
> Herv�
>

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