<>
*************
sysuse auto, clear
prob for tr tu len head, rob
est store raw
mfx
est store marg
esttab raw marg, margin
*************
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von 21443017
Gesendet: Montag, 6. Juli 2009 13:58
An: [email protected]
Betreff: st: report both coefficient and marginal effects in probit and
tobit model
Dear All,
I am running a probit and tobit model in stata and I want to estimate the
marginal effects by using mfx. I want to report the coefficient of the
independent variables and marginal effects as well. However, by using the
code of "estimates store" and "estout", the stata always reports the
coefficient of the independent variables, but not report the marginal
effects. I was just wondering whether there is any way to allow the stata to
report the coefficient and marginal effects in a same table.
The code I use is as below:
Probit y x1 x2, rob
mfx compute
estimates store m9, title(model 9)
estout m9000 , cells(b(fmt(%9.3f)) t(star par fmt(%9.2f))) starlevels(* 0.1
** 0.05 *** 0.01) stats(r2 N, fmt(%9.3f %9.0g) labels(R-squared)) legend
label collabels(, none)varlabels(_cons Constant) posthead("")prefoot("")
postfoot("")varwidth(16) modelwidth(12) delimiter("")
Many Thanks
Best Wishes
Wen
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/