probtrans_by_convolution_semiMarkov: Compute transition probabilities under a semi-Markov model...

Description Usage Arguments Author(s) See Also

View source: R/probtrans_ebmstate.R

Description

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

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

Usage

1
2
3
4
5
6
7
8
9
probtrans_by_convolution_semiMarkov(
  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_Markov; probtrans_by_convolution; unique_paths; cumhaz_splines.


ebmstate documentation built on Jan. 6, 2021, 1:09 a.m.