ExactSurvivor

class dcprogs.likelihood.ExactSurvivor(*args)[source]

Computes exact missed-event survivor function.

Parameters:
  • qmatrix – The Q-matrix for which to compute the exact likelihood.
  • double (float) – The maximum length of missed events.
D_af()[source]

\(D_i\) matrices for af.

D_fa()[source]

\(D_i\) matrices for fa.

af()[source]

Open to close transitions Open to close transitions

eigenvalues_af

Eigenvalues in of the transition matrix.

This is the real part of the eigenvalues only.

eigenvalues_fa

Eigenvalues in of the transpose transition matrix.

This is the real part of the eigenvalues only. For numerical reasons, the order of the eigenvalues for AF and FA recursion may be different

fa()[source]

Closed to open transitions Closed to open transitions

recursion_af()[source]

\(C_{iml}\) recursion matrices for af.

recursion_fa()[source]

\(C_{iml}\) recursion matrices for fa.

tau

Resolution or maximum length of the missed events