Learn R Programming

ordinalCont (version 2.0.2)

deviance.ocm: Extract the deviance from a fitted Continuous Ordinal Model

Description

Extracts the absolute conditional deviance for a fitted ocm object

Usage

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

Arguments

object

ocm object

...

further arguments to be passed to methods

Value

The value of the deviance extracted from object.

Details

The deviance is computed as: $$-2\ell$$ where \(\ell\) is the conditional penalized log-likelihood.

See Also

ocm

Examples

Run this code
# NOT RUN {
fit.overall  <- ocm(overall  ~ cycleno + age + bsa + treatment, data=ANZ0001.sub, scale=c(0,100))
deviance(fit.overall)
# }

Run the code above in your browser using DataLab