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]

Re: st: cmp and Vuong test


From   Arne Risa Hole <[email protected]>
To   [email protected]
Subject   Re: st: cmp and Vuong test
Date   Fri, 2 Nov 2012 10:01:20 +0000

Chris

Do you have the most recent version of -cmp-? Update the command (ssc
install cmp, replace) and try again.

Arne

On 2 November 2012 08:37, Chris Rh <[email protected]> wrote:
> David, thanks for the advice.
> Unfortunately,  Stata keeps telling me that "option lnl not allowed"
> although our model seems pretty standard:
> cmp (RISK: risk= X1 X2 X3 Z1 Z2) (WTP: low_bid high_bid = X1 X2 X3),
> ind($cmp_oprobit $cmp_int)
> This is all the more puzzling because I can estimate the scores (predict
> XXX, score), thus the likelihood must be stored somewhere. Also, I shall
> mention that you don't list lnl as a valid option for predict in the --cmp
> help file. Can you give me any other hint how to retrieve the
> observation-level ll?
> Thanks,
> Chris
>
>
>
> Am 02.11.2012 04:15, schrieb David Roodman ([email protected]):
>
>> You need the observation-level log likelihoods? You can get them
>> post-estimation by typing "predict XXX, lnl" where XXX is the name of a new
>> variable.
>>
>> --David
>>
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]]
>> Sent: Thursday, November 01, 2012 2:33 PM
>> To: [email protected]
>> Subject: st: cmp and Vuong test
>> Dear all,
>> we have fitted a limited dependent variable model using David Roodman's
>> cmp command and want to do a Vuong test (Vuong, Ectrica 1989) for model
>> selection. Is there a way to save the individual likelihoods when running
>> cmp models? If not how can we extract the individual likelihoods?
>>
>> Thanks
>> Chris
>>
>>
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/faqs/resources/statalist-faq/
>> *   http://www.ats.ucla.edu/stat/stata/
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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