Expand description
Test functions whose Sobol’ indices are known in closed form, to check an analysis against.
Guide: Sensitivity analysis’s Checked against section shows both methods on them.
Ishigami:y = sin x₁ + a sin² x₂ + b x₃⁴ sin x₁on[−π, π]³. It is nonlinear and not additive:x₃does nothing alone (S₃ = 0) but a quarter of the variance withx₁.SobolG:y = Πᵢ (|4xᵢ − 2| + aᵢ)/(1 + aᵢ)on[0, 1]^k. Eachaᵢ ≥ 0sets how much factorimatters, from most ataᵢ = 0to almost nothing ataᵢ = 99.
Each evaluates a point given as a slice, the form super::morris and super::sobol pass,
and gives NaN for a point of the wrong length, which an analysis then refuses.