logLik.ocm: Extract Log-likelihood for a Continuous Ordinal Model

Description Usage Arguments Value Author(s) See Also Examples

View source: R/ocm.methods.R

Description

Extracts the log-likelihood for a fitted ocm object

Usage

1
2
## 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

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

## End(Not run)

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