Skip to contents

This function performs the deterministic one-way sensitivity analyses (DOWSA) using probabilistic inputs and outputs for the health economic model developed to test the package. The outcome of the DOWSA is the incremental net monetary benefit.

Usage

perform_dowsa(df, vars, wtp = 120000)

Arguments

df

a dataframe. This dataframe contains the probabilistic inputs and outputs of the health economic model.

vars

a vector of strings. Contains the name of the variables for which to perform thedeterministic one-way sensitivity analysis.

wtp

numeric. The willingness to pay per QALY in euros. Default is 120,000 euros per QALY.

Value

A dataframe. The ouctome of the deterministic one-way sensitivity analyses is the iNMB by default.

Examples

# Perform the deterministic one-way sensitivity analyses for a selection of parameters
data(df_pa)
df_res_dowsa <- perform_dowsa(df = df_pa,
                              vars = c("rr", "c_pfs", "p_pd", "u_pfs", "u_pd"))
#> Error in `[.data.frame`(df, , vars): undefined columns selected