Statalist


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

Re: st: using estout with nlcom?


From   James Baldwin <jbaldwin@bu.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: using estout with nlcom?
Date   Sun, 04 May 2008 22:57:30 -0400

Excellent, that seems to have done the trick. I neglected the most obvious step of reading the nlcom documentation. My omission of the "s" in eststo was a typo in my email.
thanks, much appreciated!

Austin Nichols wrote:

James Baldwin <jbaldwin@bu.edu>:
As -help nlcom- states, -nlcom- does not change estimation results in
e() by default. But if you specify the -post- option e.g.
eststo r1lr: nlcom (nly: _b[y]/(1-(_b[l1.x]))) (nlz:
_b[z]/(1-(_b[l1.x])) , post
then -nlcom- will post its estimates to e(b) and e(V) where -estout-
can see them. BTW, are you using the latest version of estout? The
prefix is now -eststo- not -esto- and you might find -esttab- a
convenient shortcut for writing out a table.

On Sun, May 4, 2008 at 10:17 PM, James Baldwin <jbaldwin@bu.edu> wrote:

I am attempting to dump the results of 8 sets of three regressions which use
nlcom to calculate long run effects for each regression. I would like to
generate latex formated tables using estout to automate dumping the results
(b, se, p )into one table of short and long run effects for each set of
regressions. It seems that estout is not friendly with nlcom and my
searches for work arounds are turning up empty. Is there a way to dump
results from nlcom into something useful such as a latex formated or at
least tab delimited file?

my code is something like

esto r1sr: xtabond x y z ...

esto r1lr: nlcom (nly: _b[y]/(1-(_b[l1.x]))) (nlz: _b[z]/(1-(_b[l1.x])) ...

esto r2sr: xtabond ...
esto r2lr: nlcom ....

...

estout r1sr r1lr r2sr r2lr ... using "file", style(tex) cells(b(star
fmt(3)) se(par)) replace

which gives me only the results of the abond regressions

Thank for any and all assistance,
James





*
* 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/
--
_____________________________________
James G. Baldwin
Doctoral Candidate / Teaching Fellow
Dept. of Geography and Environment
Boston University
STO 435
jbaldwin@bu.edu
people.bu.edu/jbaldwin
www.jamesgeorgebaldwin.com
_____________________________________


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index