Skip to main content
Version: 🚧 Alpha 🚧

7. Beta^d Sensitivity Analysis

This step introduces GAMA’s betad batch method, which estimates differences between conditional and overall output distributions.

In particular, this step presents:

  • The principle of the Beta^d method and what distinguishes it from Morris and Sobol
  • How to declare method betad and configure its facets
  • How to choose a sampling strategy for Beta^d
  • How to read the report and combine results across all three methods

The model file for this step can be found in: Tutorials/SIR Analysis/models/SIR_Betad.gaml


How Beta^d works​

Beta^d is a distribution-based sensitivity analysis method. In this implementation, simulation outputs are grouped by parameter value. For each group, its empirical output distribution is compared with the empirical distribution across all runs using a discretized Kuiper distance; the reported value is the average across groups. A larger value indicates a greater difference under this calculation. See the implementation reference 10.1007/s10588-021-09358-5.

Because it compares output distributions, Beta^d summarizes differences that are not represented by a comparison of means alone. Interpret it alongside the model, parameter ranges, sample design and other sensitivity measures.


Comparing all three methods​

MethodSummary described by this tutorial
MorrisElementary effects for each parameter
SobolFirst-order and total-order output-variance indices
betadEmpirical output-distribution differences by parameter value

These methods summarize different aspects of model output. Compare their reports in the context of the parameter ranges, sampling settings and output used for each run.


Sampling strategy​

The experiment sets sampling: orthogonal. See Batch Experiments for the batch experiment context.

The checked-in model sets sample: 6. The implementation expands the sampled plan using the bootstrap facet, which defaults to four when omitted. This setting changes the number of simulations; it is not described as a confidence-interval setting by the implementation.


The method betad statement​

The model sets sample: 6, uses sampling: orthogonal, and writes the report and raw data to ../results/betad_report.txt and ../results/betad_raw.csv. The facets used in the experiment are:

  • outputs: - list of global variables to analyse. Mandatory.
  • sample: - number of parameter points to draw. Mandatory.
  • sampling: - sampling algorithm. This experiment uses orthogonal.
  • report: - path to the output file. This model uses a .txt report.
  • results: - optional path to the raw CSV with one row per run.
  • bootstrap: - number of additional parameter combinations generated for each sampled point and parameter. Optional; the implementation default is 4.
method betad
outputs: ["nb_recovered"]
sample: 6
sampling: orthogonal
report: "../results/betad_report.txt"
results: "../results/betad_raw.csv";

Reading the report​

The report file contains the output name, input parameter and estimated value. The implementation uses an empirical CDF with a discretized output range; interpret estimates alongside the sampling and model settings that produced them.


Model in GAMA​

The complete runnable model is included in the SIR Analysis project: SIR_Betad.gaml.


Conclusion​

This tutorial has introduced a GUI model, batch exploration and several sensitivity-analysis methods:

  1. LHS exploration - covers the parameter space efficiently and saves raw results
  2. Stochastic analysis - determines how many replications are needed before interpreting any sensitivity index
  3. Morris - screens parameters cheaply and ranks them by μ*
  4. Sobol - quantifies variance contributions via S1 and ST
  5. Beta^d - compares conditional and overall empirical output distributions by parameter value

Use the analysis methods that answer the questions relevant to the model. Review the sampling design, parameter ranges and output definitions for each method.

For further reading, refer to the Exploration Methods reference page and the Batch Experiments documentation.