logLikelihoodPH_RK: Loglikelihood of phase-type using Runge-Kutta
Description
Loglikelihood for a sample.
Usage
logLikelihoodPH_RK(h, alpha, S, obs, weight, rcens, rcweight)
Arguments
- h
Step-length.
- alpha
Initial probabilities.
- S
Sub-intensity matrix.
- obs
The observations.
- weight
Weights of the observations.
- rcens
Censored observations.
- rcweight
Weights of the censored observations.