Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: Individual log likelihoods


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Individual log likelihoods
Date   Thu, 17 Feb 2011 16:01:55 +0000

One way to do it is to modify your likelihood calculation program so that whatever is stored for -ml- purposes in a temporary variable is copied to a permanent variable. So, when your main program ends, the final value of the log-likelihood can be accessed in that variable. 

Nick 
n.j.cox@durham.ac.uk 

Davide Contu

I'd like to compute and store individual log likelihoods.
I need them in order to compute Vuong's test for non nested models.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index