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(*args)[source]

\(D_i\) matrices for af.

D_fa(*args)[source]

\(D_i\) matrices for fa.

af(*args)[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(*args)[source]

Closed to open transitions Closed to open transitions

recursion_af(*args)[source]

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

recursion_fa(*args)[source]

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

tau

Resolution or maximum length of the missed events