A fortran program is called to compute the value of the log likelihood.
dclike.panel(indata, ainv, amat, evalues, ncov, nstage)
- 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
- The inverse of the intensity matrix.
- The intensity matrix.
- The eigenvalues.
- The number of levels the covariate comes at.
- nstage is the number of stages in the Markov model.
The value of the log likelihood is returned.
There are no known side effects.
Documentation reproduced from package panel, version 1.0.7. License: GPL