Computes the semi-Markov kernel \(q_{ij}(k)\).
getKernel(x, k, var = FALSE, klim = 10000)
An object of S3 class smmfit
or smm
.
A positive integer giving the time horizon.
Logical. If TRUE
the asymptotic variance is computed.
Optional. The time horizon used to approximate the series in the computation of the mean sojourn times vector \(m\) (cf. meanSojournTimes function) for the asymptotic variance.
An array giving the value of \(q_{ij}(k)\) at each time between 0
and k
if var = FALSE
. If var = TRUE
, a list containing the
following components:
x: an array giving the value of \(q_{ij}(k)\) at each time
between 0 and k
;
sigma2: an array giving the asymptotic variance of the estimator \(\sigma_{q}^{2}(i, j, k)\).