This function generates random transition time (status durations) based on the average observed transition times (given by argument histobj). MarkovChain transition time generator assumes transition times have normal distribution. This is the default time generator engine for the transition system monte-carlo simulation.

markovchain_transition_time_estimator(
  histobj,
  input,
  current_time,
  family = c("normal", "exponential", "exp", "gaussian", "norm"),
  ...
)

Arguments

histobj

object of class TransitionSystem containing history of all transitions upto the current time current_time

input

dataframe containing transitions for which a transition end time needs to be generated

current_time

POSIXct containing the current time. All transition end times will be after the specified current time.

Value

dataframe with additional column pred_duration in seconds.