Statalist


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

=?UTF-8?Q?R=C3=A9p.=20:=20Re:=20st:=20-Estout-=20and=20-labcol2-?=


From   "Herve STOLOWY" <[email protected]>
To   <[email protected]>
Subject   =?UTF-8?Q?R=C3=A9p.=20:=20Re:=20st:=20-Estout-=20and=20-labcol2-?=
Date   Tue, 20 Nov 2007 15:38:44 +0100

Dear Ben:

It works perfectly. Thanks a lot for your help.

Best regards

Herve

***********************************************************
Professeur/Professor
HEC Paris
Département Comptabilité Contrôle de gestion / Dept of Accounting and
Management Control
1, rue de la Liberation
78351 - Jouy-en-Josas
France
Tel: +33 1 39 67 94 42 - Fax: +33 1 39 67 70 86
mail: stolowy at hec dot fr
web: http://www.hec.fr/stolowy
>>> "Ben Jann" <[email protected]> 20/11/07 15:14 >>>
Herve, use empty strings, i.e. "". Example:

 labcol2(- ? + "" - +)

Note: Quotes can also be used to insert strings that contain spaces,
e.g.

 labcol2(+ "- / +" - +)


ben


On Nov 20, 2007 2:12 PM, Herve STOLOWY <[email protected]> wrote:
> Dear Statalisters:
>
> I am using -estout- (downloadable from SSC)  to report the results of
a
> tobit regression. In the past, Ben Jann helped me to insert a second
> column to display the predicted signs of each variable. In a revised
> version of -estout-, Ben Jann has introduced a new feature: -labcol2-
to
> insert more easily this second column.
>
> In the command lines below, you will see this option at the end. My
> question is the following: what should I do if I want to have an empty
> cell in  the second column for a given variable which is not the last
> one?
>
> More precisely, in my regression, I want to have predicted signs for
the
> first 11 variables, then nothing - because the variables are control
> variables, then a "?" for the constant. For the moment, I don't know
how
> to get the "?" for the constant.
>
> Best regards
>
> Herve Stolowy
>
> use global6_controleur1, clear
>
> xi: tobit competence11 conseil2 concent3_0 instit concent3_0_instit
> size auditor_d i.for_list2 leverage leverage2  growth_op2 age1 roa_adj
> i.bis_gics , ul
>
> label var _Ifor_list2_1 "Foreign listing NYSE"
> label var _Ifor_list2_2 "Foreign listing NASDAQ"
>
> label var _Ibis_gics_25 "Consumer discretionary"
> label var _Ibis_gics_30 "Consumer staples"
> label var _Ibis_gics_35 "Health care"
> label var _Ibis_gics_50 "High tech"
> label var _Ibis_gics_55 "Energy/Utilities"
>
> estimates store tobit1, title(Financial expertise - Basic measure)
>
> estadd nagelkerke: tobit1
>
> estout tobit1  using table4_tobit, replace cells (" b(fmt(%9.3f)
> label(coef.)) p(fmt(%9.3f) )") stats (chi2 p  r2_p nagelkerke N,
> fmt(%9.3f %9.3f  %9.3f %9.3f %9.0f) labels("Chi square" "p(chi2)"
> "Pseudo R-square" "Nagelkerke" "Number of observations")) label
> drop(sigma:) varlabels(_cons Constant, elist(growth_op2
> "`=char(13)'Control variables")) labcol2(- ? + - + + + + ? ? -,
> title(Predicted signs))
>
>
>
> ***********************************************************
> Professeur/Professor
> HEC Paris
> Département Comptabilité Contrôle de gestion / Dept of Accounting and
> Management Control
> 1, rue de la Liberation
> 78351 - Jouy-en-Josas
> France
> Tel: +33 1 39 67 94 42 - Fax: +33 1 39 67 70 86
> mail: stolowy at hec dot fr
> web: http://www.hec.fr/stolowy
> *
> *   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/

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