posterior_check_infxns_to_death.Rd
Posterior Check for Infections to Death
posterior_check_infxns_to_death( IFRmodel_inf, whichrung = "rung1", dwnsmpl, by_chain = FALSE )
IFRmodel_inf | R6 class; The result of the IFR Model MCMC run along with the model input. |
---|---|
whichrung | character; Specify which rung to sample from (default is rung1) |
dwnsmpl | integer; Number of posterior results to draw -- weighted by posterior prob |
by_chain | logical; Whether or not credible intervals should be reported with respect to individual chains (TRUE) or not. |
Given sampling iterations with posterior-log-likes greater than or equal to a specific threshold, posterior results for the linear spline are generated. Assumed that the spline was fit in "un-transformed" space