dclike.panel {panel}R Documentation

A function to compute the value of the log likelihood for a given set of panel data and a given value of the parameters.

Description

A fortran program is called to compute the value of the log likelihood.

Usage

dclike.panel(indata, ainv, amat, evalues, ncov, nstage)

Arguments

indata indata is a list with one entry for each individual. Each entry is a structure with the components: time: the inspection times for that individual stage: the stage the individual is in at each inspection times cov: the value of the covariate for that individual at the inspection time len: the number of inspections for that individual
ainv The inverse of the intensity matrix.
amat The intensity matrix.
evalues The eigenvalues.
ncov The number of levels the covariate comes at.
nstage nstage is the number of stages in the Markov model.

Value

The value of the log likelihood is returned.

Side Effects

There are no known side effects.

See Also

panel, eddcmp


[Package panel version 1.0.6 Index]