Well, you could just trick outreg into thinking you had regression results.
If you run your model and then run the mfx command, you could post those
results so that outreg would see them. For example
xtpois ....
mfx ....
mat myb=e(Xmfx_dydx)
mat myV=diag(e(Xmfx_se_dydx))
mat myV=myV*myV
local obs=e(N)
ereturn post myb myV, obs(`obs')
outreg using mymfx...
This approach won't give you a column title, but you may be able to figure
out how to do that using outreg's options. You could even create a wrapper
ado for this. Of course, it may be better to write your own output routine,
but if you are familiar with outreg and like it's approach, then something
like the code above may meet your needs.
Michael Blasnik
[email protected]
----- Original Message -----
From: "Ed Levitas" <[email protected]>
To: <[email protected]>
Sent: Monday, March 29, 2004 11:49 AM
Subject: st: mfx and outreg
> Hello Statalisters,
>
> We've used STATA's MFX command to calculate coefficient elasticities after
> XTPOIS. Is it possible now to format the elasticities and associated std
> errors into a table using OUTREG? I've tried but do not seem to have any
> luck. If this is not possible using OUTREG, can anyone suggest another
> procedure?
>
> Thanks in advance.
>
> Ed
>
>
>
> ****************************************
> Edward Levitas, PhD
*
* 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/