Sensitvity Analysis
Before we get building, we recommend reviewing the sensitivity options that are offered in Amua
https://github.com/zward/Amua/wiki/Sensitivity-Analysis

Step 1: Complete the model
Congrats, you have already completed step 1 if you have worked through the case study sequence.
If not, please download the following:
Step 2: Identify the variance ranges
For every variable that you want to test, you need determine the range of values that it should be tested on. Typically this is a confidence interval for values from clinical trials. For other variables you can use things like common ranges, expert opinions, and assumptions
Below are the ranges we will use:
| Variable | Value | Range |
|---|---|---|
| p_sick | 0.03 | 0.01-0.07 |
| p_sicker | 0.12 | 0.08-0.30 |
| p_diseasedeath | 0.15 | 0.02-0.26 |
| sens | 0.9 | 0.86-0.93 |
| prev | 0.08 | 0.074-0.086 |
| hr_treated | 0.5 | 0.1-0.7 |
| initial_age | 50 | – |
| c_treatment | 30000 | 1000-500000 |
| c_pall | 15000 | 5000-25000 |
| c_mild | 1000 | 500-2000 |
| c_initialsicker | 50000 | 42000-66000 |
| u_healthy | 1 | – |
| u_sick | 0.842 | 0.81-0.88 |
| u_sicker | 0.645 | 0.60-0.70 |
| u_dead. | 0 | – |
| u_treatment | 0.932 | 0.92-0.94 |
Note: We do not need to vary initial age, utility of healthy, or utility of death
Step 3: Run a OWSA
A: Setup the Run
- Go to Run > Sensitivity Analysis > Tornado Diagram
- We will be using a tornado diagram as it is the most common method for presenting OWSA results

- Add in all the Low and High values. This is the determined lower and upper bound for each value.
- Click Run
- Set the Outcome to “ICER (Cost/LY)”
- Highlight the strategy being compared to the base case. For this example that would be “Treat All”.

B: Run The Analysis
- Click “Update Plot”
The plot should now display a bar for each variable with inputs 
C: Check The Plot
- Verify that the plot makes sense
- Is the direction correct?
- Are the most impactful variables what you would expect?
D: Common Issues
If your strategy is dominated or dominant, ICERs will not show. This would render the tornado useless.
However, in the benefits lecture we talked about the alternatives (NMB or NHB). You can get this by setting the analysis type to “Benefit-Cost Analysis (BCA)” in Model > Properties > Analysis
You have more than two strategies.
A tornado diagram cannot provide clear information when more than two strategies are involved. We recommend using the Stacked One-Way sensitivity Analysis.
Example:

image source: https://github.com/zward/Amua/wiki/Sensitivity-Analysis#stacked-one-way
Step 4: Threshold Analysis
A: Change the analysis to NMB (net-monetary benefit)
- Go to Model > Properties > Analysis
- Change the Analysis Type: to
Benefit-Cost Analysis (BCA) - Make sure that you have a Cost, Benefit, and WTP

A: Setup the Run
- Go to Run > Sensitivity Analysis > Threshold

- Add in all the Low and High value for the variable you want to test. Make sure that it is selected. (One variable is tested at a time)
- If you have more than two strategies, choose the two strategies that you want to compare
- Set the outcome to
NMB (QALE-Cost) - Intervals is set to
10, increase this number to get more granular data.

B: Run The Analysis
- Click “Run”
The plot shows the NMB of the strategies over the range of test values for the input parameter. In addition the Threshold: value appears above the Run button.
For c_treatment the threshold is 299586.4802. In other words, when treatment costs over $299,586.48, Treat All is no longer cost-effective compared to Treat None.

C: Check The Plot
- Verify that the plot makes sense. For example, as cost of treatment is more expensive it is logical for the treat all strategy to be less effective.
D: Common Issues
If your strategy is dominated or dominant, ICERs will not show and therefore no graph will be created.
However, in the benefits lecture we talked about the alternatives (NMB or NHB). You can get this by setting the analysis type to “Benefit-Cost Analysis (BCA)” in Model > Properties > Analysis
Step 5: Run a TWSA
A: Setup the Run
- Go to Run > Sensitivity Analysis > Two-way

- Add in the Low and High values for the two variables you want to compare. This is the determine lower and upper bound for each value.
- Set Parameter 1 to
hr_treated - Set Parameter 2 to
c_treatment - Set Outcome to ICER (Cost/Effect)
- Set Cost-Effectiveness threshold to
100000 - Intervals is set to
10, increase this number to get more granular data.

B: Run The Analysis
- Click “Run”
- Click “Update Plot”
The plot should now display a matrix grid with a decision for each value intersection as well as a mark for the base values.

C: Check The Plot
- Verify that the plot makes sense
- Look at the four corners and make sure the decision is clinically realistic
Parameter 1 high, Parameter 2 low
Parameter 1 high, Parameter 2 high
Parameter 1 low, Parameter 2 high
Parameter 1 low, Parameter 2 low
- Look at the four corners and make sure the decision is clinically realistic
D: Common Issues
If your strategy is dominated or dominant, ICERs will not show and therefore no graph will be created.
However, in the benefits lecture we talked about the alternatives (NMB or NHB). You can get this by setting the analysis type to “Benefit-Cost Analysis (BCA)” in Model > Properties > Analysis
Step 6: Run a PSA
A: Determine variable distributions
The table below provides recommendations:
| Parameter Type | Distribution |
|---|---|
| Probability | beta |
| Rate | gamma |
| Utility weight | beta |
| Right skew (e.g., cost) | gamma, lognormal |
| Relative risks or hazard ratios | lognormal |
| Odds Ratio | logistic |
For each variable you will need to determine the necessary Amua inputs.
Formulas to use distributions in Amua:
Pulled from: Link to Amua Input Documentation
| Distribution | Name | Description | Parameters | Support |
|---|---|---|---|---|
Beta |
Beta | A continuous distribution bounded by 0 and 1. Often used to model probabilities |
a: Shape parameter >0b: Shape parameter >0 |
Real numbers in [0,1] |
Gamma |
Gamma | A continuous distribution that yields positive real numbers | k: Shape >0θ: Scale >0 |
Real numbers >0 |
Logistic |
Logistic | A continuous distribution that resembles the Normal distribution in shape but has heavier tails | μ: Locations: Scale >0 |
Real numbers |
LogNorm |
Log-Normal | A continuous distribution of a random variable whose logarithm follows a Normal distribution | μ: Locationσ: Scale >0 |
Real numbers >0 |
If you need help getting the distribution values, use the following tool: Distribution Solver
B: Save a Model Copy
We recommend that you create a copy of your model to use for PSA as you will override your variables.
Save your model (Model > Save)
Then use Model > Save As to create a duplicate (Example: model_psa.amua)
C: Update the Variables
Start with the
p_sickvariable. It is a beta distribution withalpha = 4.3996andbeta = 127.3367Double click on
p_sickto open the “Define Parameter” pop-up
Delete all the previous expression
Click the
before “Expression” to open the “Build Expression” pop-upUnder “Elements” select Distribution > Beta

Click
Insert ValueReplace
awith4.3996andbwith127.3367
Click
Update ExpressionRepeat for all the following variables
Beta
| Variable | Alpha (a) | Beta (b) |
|---|---|---|
| p_sick | 4.3996 | 127.3367 |
| p_sicker | 7.7719 | 36.3478 |
| p_diseasedeath | 2.5561 | 20.8677 |
| sens | 256.2902 | 29.2273 |
| prev | 74.3729 | 855.2879 |
| u_sick | 342.9965 | 62.1399 |
| u_sicker | 226.2892 | 121.4084 |
| u_treatment | 2313.2903 | 173.2424 |
Gamma
| Variable | Shape (k) | Scale (θ) |
|---|---|---|
| c_treatment | 5.9944 | 10000 |
| c_pall | 6.4077 | 2000 |
| c_mild | 8.4748 | 133.333 |
| c_initialsicker | 75.7058 | 714.286 |
lognorm
| Variable | Location (μ) | Scale (σ) |
|---|---|---|
| hr_treated | -1.3296 | 0.4964 |

D: Setup the Run
- Go to Run > Sensitivity Analysis > Probabilistic (PSA)

- Verify that all the parameters look correct
E: Run The Analysis
- Set the “# Iterations”
- Click “Run”

F: The Plots
This will create 4 tabs of graphics. To understand these, use the Amua guide Link to Amua Input Documentation
CEAC is most commonly presented in results.
