Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: estout after margeff


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: estout after margeff
Date   Fri, 7 Aug 2009 12:12:49 +0200

<> 

You must add the -replace- option to the -margeff- call, as advised in the
post you cited. Otherwise, the -ereturn-s from -xtprobit- remain in place
and find their way to -estout-...


*************
vers 10.1

webuse union, clear

xtprobit union age grade /* 
 */  not_smsa south southXt
 
margeff, at(mean) replace 

estimates store margeff
estout margeff using Myoutput, /* 
 */ cells (b(fmt(%9.4f)) /* 
 */ se(par fmt(%9.2f))) replace

*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Tanveer Shehzad
Gesendet: Freitag, 7. August 2009 11:49
An: [email protected]
Betreff: st: estout after margeff

Dear Stata-Users:

 I am estimating five xtprobit models. After results I use margeff
command to calculate marginal effects. After than I store my results.
Finally I use estout to make regression table. The problem is that the
result output does not contain marginal effects as shown by margeff
command. Instead of that the displayed results are the original output
of stata. I saw a thread on the same problem before
(http://www.stata.com/statalist/archive/2005-04/msg00259.html) but it is
not working out. My commands are as follows:

xtprobit dep indep1 indep2
margeff
estimates store s1

xtprobit dep indep1 indep2
margeff
estimates store s2

xtprobit dep indep1 indep2
margeff
estimates store s3

estout s1 s2 s3, cells ..................

Can anybody help me on this?

best regards,

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



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