Learn R Programming

mixor (version 1.0.4)

logLik.mixor: Return the log-likelihood for a Fitted Mixor Model

Description

Returns the log-likelihood of a fitted mixor model.

Usage

# S3 method for mixor
logLik(object, ...)

Arguments

object

a mixor object.

other arguments.

Value

Log-likelihood of the fitted mixor model.

See Also

See Also as mixor, summary.mixor, deviance.mixor

Examples

Run this code
# NOT RUN {
library("mixor")
data("schizophrenia")
### Random intercept
SCHIZO1.fit<-mixor(imps79o ~ TxDrug + SqrtWeek + TxSWeek, data=schizophrenia, 
     id=id, link="probit")
summary(SCHIZO1.fit)
logLik(SCHIZO1.fit)
# }

Run the code above in your browser using DataLab