Skip to content

coxph function (Survival Library) (PR#12638)

2 messages · ana.marcos at uam.es, Peter Dalgaard

#
Hi,

I am pretty sure that the results of Likelihood ratio test are bigger 
than the real value. They are multiplied for the factor Ln(10), in this 
way the p-values are smaller than what they should be.
The reason is that you apply the formula -2*log(exp(L(0)/exp(L(B)) and 
not  what it should be -2*log(L(0)/L(B)).

Please if I am not right, tell me

Thanks

Ana
#
ana.marcos at uam.es wrote:
I don't think you are and please don't use the bug report system when 
you are not sure.

Notice that the conventions for the default base in "log" differ between 
countries (and even between education levels with countries). There's no 
indication that base 10 logs are used anywhere, so where would a factor 
of ln(10) creep in?