[R] Log-likelihood function
Doxastic
connect.chris at gmail.com
Wed May 2 08:29:37 CEST 2007
I've computed a loglinear model on a categorical dataset. I would like to
test whether an interaction can be dropped by comparing the log-likelihoods
from two models(the model with the interaction vs. the model without).
Since R does not immediately print the log-likelihood when I use the "glm"
function, I used SAS initially. After searching for an extracting function,
I found one in R. But, the log-likelihood given by SAS is different from
the one given by R. I'm not sure if the "logLik" function in R is giving me
something I don't want. Or if I'm misinterpreting the SAS output. Can
anyone help?
--
View this message in context: http://www.nabble.com/Log-likelihood-function-tf3678882.html#a10280717
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list