Skip to content
Prev 228224 / 398500 Next

Servreg $loglik

David:

Thank you for your comments.  

I do understand that absolute values of likelihoods by themselves aren't
meaningful, and only gain meaning when compared with others computed using
the same model but with differing parameter values (for example). That is
why I compute likelihoods myself for confidence interval construction using
the loglikelihood ratio criterion.  But when my plain-vanilla
max(loglikelihood) didn't agree with that reported by survreg() (except when
the data are unweighted) I was afraid I overlooked something.  I am still
puzzled that the servreg(), using the same model with the same data (37
weighted and the corresponding 70 unweighted) produces different values for
loglik.

Thank you for your help.  It gives me peace of mind.  ~:-)

Charles Annis, P.E.

Charles.Annis at StatisticalEngineering.com
561-352-9699
http://www.StatisticalEngineering.com


-----Original Message-----
From: David Winsemius [mailto:dwinsemius at comcast.net] 
Sent: Tuesday, July 20, 2010 12:27 PM
To: Charles.Annis at statisticalengineering.com
Cc: r-help at r-project.org
Subject: Re: [R] Servreg $loglik
On Jul 20, 2010, at 11:20 AM, Charles Annis, P.E. wrote:

            
This has come up on r-help many times before (and probably on other  
lists as well), despite not being an R question at all. It is  
commonplace in modeling grouped data to see likelihoods reported  
differently from the result obtained when modeling ungrouped data  
representations with the same frequencies. The only valid statistical  
process is to compare differences in the likelihoods (or log(L) ),  
since the likelihood (or log(L) ) is only defined up to an arbitrary  
constant. You need to be comparing the result to some sort of "null  
model" for it to have any meaning. (... or perhaps that is your null  
model and you need to be looking at the impact of adding a covariate  
or two.)