Learn R Programming

mixor (version 1.0.4)

deviance.mixor: Return the deviance for a Fitted Mixor Model

Description

Returns the deviance of a fitted mixor model.

Usage

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

Arguments

object

a mixor object.

other arguments.

Value

Deviance of the fitted mixor model.

See Also

See Also as mixor, summary.mixor, logLik.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)
deviance(SCHIZO1.fit)
# }

Run the code above in your browser using DataLab