Statalist


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

Re: st: Using Bayesian Information Criterion (BIC)


From   Jeph Herrin <[email protected]>
To   [email protected]
Subject   Re: st: Using Bayesian Information Criterion (BIC)
Date   Mon, 21 Apr 2008 14:47:34 -0400

 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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index