logLik.ocm {ordinalCont}R Documentation

Extract Log-likelihood for a Continuous Ordinal Model

Description

Extracts the log-likelihood for a fitted ocm object

Usage

## S3 method for class 'ocm'
logLik(object, ...)

Arguments

object

an ocm object

...

further arguments to be passed to methods

Value

The log-likelihood of an ocm object. This is a number with attributes

df

estimated degrees of freedom for the fitted model object. When the model maximizes the penalized likelihood, i.e. smoothing is involved in the g function or the formula contains random effects, the effective degrees of freedom are returned.

nobs

number of observations used in the fitted model object

class

class of the returned object: logLik.ocm

Author(s)

Maurizio Manuguerra, Gillian Heller

See Also

ocm

Examples

## Not run: 
fit.overall  <- ocm(overall  ~ cycleno + age + bsa + treatment, data=ANZ0001.sub, scale=c(0,100))
logLik(fit.overall)

## End(Not run)

[Package ordinalCont version 2.0.2 Index]