estat ic
matrix S=r(S)
gen BIC=S[1,6]
Creates the variable you want.
hth,
Jeph
Beat Hintermann wrote:
Hi there
I know how to display the BIC by typing estat(ic), but I can't seem
to figure out how to use it in a calculation.
For example, I'd like to create a variable that takes the value of
the BIC of the last regression. gen newvar=e(BIC) or something along
those lines does not seem to work. Can anyone help?
Beat
* * 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/