probtrans_by_convolution_clockreset {ebmstate}R Documentation

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

Description

Compute transition probabilities for a given starting state and target state under a clock-reset model with a single time scale (sojourn time), using a convolution algorithm.

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

Usage

probtrans_by_convolution_clockreset(
  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.

Author(s)

Rui Costa & Moritz Gerstung

See Also

probtrans_ebmstate; probtrans_by_convolution_clockforward; probtrans_by_convolution; unique_paths; cumhaz_splines.


[Package ebmstate version 0.1.4 Index]