deviance.ocm {ordinalCont} | R Documentation |
Extract the deviance from a fitted Continuous Ordinal Model
Description
Extracts the absolute conditional deviance for a fitted ocm
object
Usage
## S3 method for class 'ocm'
deviance(object, ...)
Arguments
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
Examples
## Not run:
fit.overall <- ocm(overall ~ cycleno + age + bsa + treatment, data=ANZ0001.sub, scale=c(0,100))
deviance(fit.overall)
## End(Not run)
[Package ordinalCont version 2.0.2 Index]