Module 27 ยท How do you run a sensitivity analysis?
Turn the dials and watch what happens
By the end of this module you will be able to
- Run a quick sensitivity check by hand.
- Compare findings across two thresholds.
- Report fragility honestly.
Even without a special package, you can run a quick sensitivity check by hand. Run CNA at a couple of different thresholds and see whether the story stays the same or suddenly changes its tune.
sensitivity.R
# strict cna(immunization, outcome = "LowCov", con = 0.9, cov = 0.9) # relaxed cna(immunization, outcome = "LowCov", con = 0.85, cov = 0.85)
If the same pattern survives both runs, your confidence quietly goes up. If a tiny change rewrites the whole solution, treat the finding as fragile and say so plainly in your report. Honesty here saves embarrassment later.
Reflect
Try turning the dials.
- Does your pathway survive both a strict and a relaxed threshold?
- If it changes, how would you describe that honestly in a report?