Statalist The Stata Listserver


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

Re: st: calculating a loglikelihood in regress


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: calculating a loglikelihood in regress
Date   Thu, 03 May 2007 22:21:40 -0500

At 01:33 PM 5/3/2007, Dan MacNulty wrote:
Richard - thanks for the helpful reply. Do you also happen to know how
to calculate a loglikelihood from a nonlinear regression model generated
with the command -nl- ?
Also, according to the Oct 20 2005 whatsnew for Stata:

nl has received the following enhancements. The previous behavior of nl is preserved by setting version to one earlier than 9.1...

The value of the log-likelihood function assuming i.i.d. normal errors is saved in e(ll), and
likelihood-ratio tests can be performed after estimation using lrtest.



-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME: (574)289-5227
EMAIL: [email protected]
WWW: http://www.nd.edu/~rwilliam

*
* 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