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/