probtrans_by_convolution_clockforward function

Compute transition probabilities under a clock-forward model using a convolution algorithm.

Compute transition probabilities under a clock-forward model using a convolution algorithm.

Compute transition probabilities for a given starting state and target state under a clock-forward model, using a convolution algorithm.

probtrans_by_convolution_clockforward is an internal function of probtrans_by_convolution and is not meant to be called directly by the user.

probtrans_by_convolution_clockforward( tmat, cumhaz, from_state, to_state, spline_list, unique_paths_object, time )

Arguments

  • tmat: Transition matrix.
  • cumhaz: msfit object.
  • from_state: Initial state.
  • to_state: Target state.
  • spline_list: A list whose elements are spline functions approximating the cumulative hazard of making each possible transition in the process. This is normally a list object created by running cumhaz_splines.
  • unique_paths_object: An object created by running unique_paths.
  • time: A vector of ordered time points.

See Also

probtrans_ebmstate; probtrans_by_convolution_clockreset; probtrans_by_convolution; unique_paths; cumhaz_splines.

Author(s)

Rui Costa & Moritz Gerstung

  • Maintainer: Rui Costa
  • License: GPL (>= 3)
  • Last published: 2024-10-19

Useful links