Expand description
Distribution functions of the multivariate normal and t distributions by Genz’s
quasi-Monte Carlo method (SciPy’s multivariate_normal.cdf and multivariate_t.cdf), the
exact bivariate normal distribution function (Drezner and Wesolowsky, as Genz’s bvnu), and
Dunnett’s many-to-one comparisons (SciPy’s dunnett).
See the book entry Multivariate distribution functions and quasi-Monte Carlo sampling.
Structs§
- Dunnett
Result - The result of
dunnett. - MvCdf
Options - Options for the multivariate distribution functions (SciPy’s defaults).
Enums§
- Dunnett
Alternative - The alternative hypothesis of
dunnett.
Functions§
- bivariate_
normal_ upper P(X > h, Y > k)for standard bivariate normal(X, Y)with correlationr(Genz’sbvnu, after Drezner and Wesolowsky): for|r| < 0.925Plackett’s integral over the correlation,∫₀^{asin r} exp(−(h² + k² − 2hk sin θ)/(2 cos²θ)) dθ / 2π + Φ(−h)Φ(−k), by 6-, 12- or 20-point Gauss-Legendre rules; near|r| = 1an asymptotic expansion plus a correction integral. Accurate to about 10⁻¹⁵.- dunnett
- Dunnett’s test comparing each treatment group with a control (SciPy’s
dunnett):tᵢ = (x̄ᵢ − x̄₀)/(s √(1/nᵢ + 1/n₀))with the pooled standard deviationsonN − k − 1degrees of freedom. The statistics are jointly multivariate t with correlationsρᵢⱼ = 1/√((1 + n₀/nᵢ)(1 + n₀/nⱼ)), and each p-value is the probability that the largest (absolute) statistic exceedstᵢ, from the multivariate t distribution function — so the p-values carry its quasi-Monte Carlo error (about 10⁻³ with SciPy’s 1000 points per dimension). - dunnett_
confidence_ interval - Simultaneous confidence intervals for the differences of the treatment means and the control
mean (SciPy’s
DunnettResult.confidence_interval):x̄ᵢ − x̄₀ ± c s √(1/nᵢ + 1/n₀)for the two-sided alternative, with(−∞, … + …]and[… − …, ∞)for the one-sided ones, wherecis the critical value of Dunnett’s test at the level1 − confidence_level: thecfor which the probability that the largest (absolute) statistic exceeds it is1 − confidence_level.