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 <Richard.A.Williams.5@ND.edu>
To   statalist@hsphsun2.harvard.edu
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: Richard.A.Williams.5@ND.Edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index