|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: Extracting list of RHS variables after recalling stored estimates?
From
"Michael Blasnik" <[email protected]>
To
<[email protected]>
Subject
st: Re: Extracting list of RHS variables after recalling stored estimates?
Date
Thu, 14 Jun 2007 14:13:10 -0400
...
Well, it depends on what you want them for and how you plan to use them. I
don't know what you mean by *list* form. Once you restore the estimates, you
should have full access to whatever you normally would have right after
estimation. You can start out looking at the results of these commands:
mat b=e(b)
local eqnames: coleq b
local varnames: colnames b
local eqvarnames: colfullnames b
di "`eqnames'"
di "`varnames'"
di "`eqvarnames'"
You can then either do a foreach loop through the varnames and check which
equations they are in using eqnames, or you can just loop through and parse
eqvarnames on colons.
Michael Blasnik
----- Original Message -----
From: "Rachel" <[email protected]>
To: "statalist" <[email protected]>
Sent: Thursday, June 14, 2007 1:43 PM
Subject: st: Extracting list of RHS variables after recalling stored estimates?
I executed an ML command and stored the results using -estsave-.
Calling -estsave, from()- and -ml display- displays the entire set of
results with the names of the covariates within the table. However,
I'd like to extract or display the list of covariates (RHS variables)
in each equation in *list* form. Is this possible?
Thanks,
Rachel
*
* 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–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |