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

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/ocm.methods.R

Description

Extracts the absolute conditional deviance for a fitted ocm object

Usage

1
2
## S3 method for class 'ocm'
deviance(object, ...)

Arguments

object

ocm object

...

further arguments to be passed to methods

Details

The deviance is computed as:

-2\ell

where \ell is the conditional penalized log-likelihood.

Value

The value of the deviance extracted from object.

Author(s)

Maurizio Manuguerra, Gillian Heller

See Also

ocm

Examples

1
2
3
4
5
## Not run: 
fit.overall  <- ocm(overall  ~ cycleno + age + bsa + treatment, data=ANZ0001.sub, scale=c(0,100))
deviance(fit.overall)

## End(Not run)

ordinalCont documentation built on Dec. 3, 2020, 1:06 a.m.