Learn R Programming

carx (version 0.7.1)

logLik.carx: The quasi-log-likelihood of a carx object

Description

The quasi-log-likelihood of a carx object

Usage

# S3 method for carx
logLik(object, ...)

Arguments

object

a fitted carx object.

...

not used.

Value

the quasi-log-likelihood value.

Examples

Run this code
# NOT RUN {
dat = carxSim(nObs=100,seed=0)
mdl <- carx(y~X1+X2-1,data=dat, p=2, CI.compute = FALSE)
lk = logLik(mdl)
# }

Run the code above in your browser using DataLab