Population sizes of individuals in each starting state as input for the competing risks model.

get_start_state_proportions(path_probs, startstateid, samplesize,
  numsamples)

Arguments

path_probs

Probabilitites along each branch, from root to leaf usinghj calc_pathway_probs

startstateid

How to group terminal nodes

samplesize

Total population size

numsamples

Number of realisations

Value

list

Examples