change_current_prob_to_cycle_prob |
Title This function converts the given probabilities to match the model's cycle length |
check_variables_compatibility |
Title This function ensures the model's input are compatible |
cond_prob_calc |
Title conditional probability sd calculation |
cond_prob_calc_1 |
Title part one conditional probability sd calculation |
cond_prob_calc_2 |
Title part two conditional probability sd calculation |
covert_discount_rate |
Title This function converts an annual discount rate to the proper discount rate based on the cycle length of the model |
extract_by_age |
Title This function extract the all-cause mortality probabilities using the inital age and time-horizon |
extract_prob |
Title This function extract all-cause mortality probability based on the model's parameters |
f1_sum |
Title part one of the sd calculation |
fill_trans_matrix_val |
Title This function embeds the all-cause mortality probabilities in the transition matrices |
final_res |
Title sum of conditional probability one and two |
main_sd_function |
Title part two of the sd calculation |
prepare_trans_matrix |
Title This function embeds the all-cause mortality probabilities in the transition matrices |
run_both_arms_sim |
This is data to be included in my package |
sample_data |
This is data to be included in my package |
SD_main_func |
Title This function calculates the standard deviation of the model's outputs |
sd_sim_function |
Title simulation function used in the sd calculation |
sim_function |
Title This function runs the simulation using the given parameters |