Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

re: st: RE: accessing first stage results in xtivreg2


From   Laura Grant <[email protected]>
To   [email protected]
Subject   re: st: RE: accessing first stage results in xtivreg2
Date   Wed, 2 Mar 2011 21:56:44 -0800

Old thread, same desire. I would like to use -lincom- to produce SEs
for a linear combination of coefficients from two separate regressions
at the same time -- one coefficient from the first stage and a few
from the main. This could be for any two-stage regression (-ivreg-,
-xtivreg-, I happen to be using -xtivreg2-).

I can -savefirst- and then -restore- them but this "restores a stored
estimation set, making it the active set so that all postestimation
commands will act on it." However, I still want the main results too
to be inputs in the -lincom- too. There must be a way to keep them
both active in memory or recall the components (like the -hausman-
command does). Of course, I could save the e(b) and e(V) and do the
-lincom- manually, but then it's harder to replicate.

Thanks, Laura
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index