generate_psa_params: Generate PSA dataset of CEA parameters

View source: R/05a_probabilistic_analysis_functions.R

generate_psa_paramsR Documentation

Generate PSA dataset of CEA parameters

Description

generate_psa_params generates PSA input dataset by sampling decision model parameters from their distributions. The sample of the calibrated parameters is a draw from their posterior distribution obtained with the IMIS algorithm.

Usage

generate_psa_params(l_params_all, seed = 20210202)

Arguments

l_params_all

List with all parameters of cost-effectiveness model.

seed

Seed for reproducibility of Monte Carlo sampling.

Value

A data frame with 18 columns of parameters for PSA. Each row is a parameter set sampled from distributions that characterize their uncertainty

Examples

generate_psa_params(l_params_all = load_all_params())

feralaes/cdx2cea documentation built on April 7, 2024, 10:12 a.m.