dclike.panel {panel} | R Documentation |
A fortran program is called to compute the value of the log likelihood.
dclike.panel(indata, ainv, amat, evalues, ncov, nstage)
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. |
The value of the log likelihood is returned.
There are no known side effects.
panel, eddcmp