Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE:st: how to obtain the saved estimation result


From   xiao yi <[email protected]>
To   [email protected]
Subject   RE:st: how to obtain the saved estimation result
Date   Wed, 6 Jul 2005 17:03:03 -0700 (PDT)

Many thanks. That works

--- [email protected] wrote:

> Try the site at the bottom of this email( not all of
> it is relevant but the
> following part could be of help???
>
======================================================
> scalar ll0 = e(ll)
> 
> scalar ll1 = e(ll)
> 
> compute the value of the likelihood ratio test and
> its p-value.
> 
> . scalar lr = 2*(ll1-ll0)
> 
> . scalar p = .5*chi2tail(1,lr)
> 
> And display the results:
> 
> . di "hand lr is " lr " with p-value " p 
>
=======================================================
> 
>
http://www.stata.com/statalist/archive/2002-09/msg00339.html
> 
> *
> *   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/
> 



		
____________________________________________________
Sell on Yahoo! Auctions � no fees. Bid on great items.  
http://auctions.yahoo.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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index