Probabilistic sensitivity analysis run that turns joint parameter draws into stored decision outputs
psa(f, theta_i, lambda, N) = (ENHB, P_CE, EL_new, EL_comp)
Maps a decision model f, the joint distribution of its uncertain inputs and a cost-effectiveness threshold lambda to the outputs stored for every draw and their summaries. Each of the N draws theta_i is one complete set of inputs, applied to every option so that incremental results keep their dependence, and the model returns each option's cost and QALYs in that draw. The summaries are live records and are not restated here. Expected net monetary and net health benefit from the draws are HE-FM-ENB-001 and HE-FM-ENB-002, the probability that each option is cost-effective and the acceptability frontier are HE-FM-CEAC-001 to HE-FM-CEAC-003, and per-person EVPI from the same draws is HE-FM-VOI-001 with the forms in HE-FM-EVPI-001 to HE-FM-EVPI-004. A probabilistic ICER is the two-option ratio HE-FM-ICER-001 taken on expected values (HE-AS-ICER-003). The Monte Carlo standard error of a mean output over independent draws is the standard deviation across draws divided by the square root of N, the form of HE-FM-ANTV-002 with one observation per draw, and the number of draws for a target standard error is HE-FM-ABM-003 (HE-FM-ABM-004 for a share of draws); antithetic pairs are HE-FN-ANTV-001. Why a run at the mean inputs differs from the mean of the runs is covered by HE-FM-EV-001 to HE-FM-EV-004, and input distributions by HE-FN-BETA-001, HE-CF-BETA-001, HE-FM-BETA-005 and HE-FM-DIRI-001. The probability of a wrong decision and the Monte Carlo error of that probability belong to the Decision Uncertainty page. This package adds the two-parameter Cholesky step that draws a correlated pair of normal inputs, the expected loss of each of two options with the identity that links the two losses to expected net health benefit, and a computational function that runs the whole analysis on a small fixed set of draws. Notation follows the Probabilistic Sensitivity Analysis article.
Two-parameter Cholesky step for a correlated pair of normal PSA draws
L_21 = rho * s_2; L_22 = s_2 * sqrt(1 - rho^2); x_1 = mu_1 + s_1 * z_1; x_2 = mu_2 + L_21 * z_1 + L_22 * z_2
Expected loss of each of two options from five PSA draws of incremental net health benefit
EL_new = (max(-INHB_1, 0) + max(-INHB_2, 0) + max(-INHB_3, 0) + max(-INHB_4, 0) + max(-INHB_5, 0)) / 5; EL_comp = (max(INHB_1, 0) + max(INHB_2, 0) + max(INHB_3, 0) + max(INHB_4, 0) + max(INHB_5, 0)) / 5; D_EL = EL_comp - EL_new
