Heteroscedastic Dual-Sample Generator
Generates independent two-group Gaussian datasets with disparate sample sizes (n_1, n_2) and unequal variances (σ_1^2, σ_2^2).
Investigate two-sample hypothesis testing under variance heteroscedasticity, formulate Welch's t-statistic, evaluate Satterthwaite's effective degrees of freedom approximation, and verify two-sample mean difference detection. Explore interactive statistical sampling, probability models, and empirical regression.
Ready to sample with Factor k = 1.0.
Adjust Factor k, then execute statistical trial.
Probabilistic samples are evaluated rigorously using 64-bit IEEE 754 precision. Residuals reflect ordinary least-squares regression across successive observations. Continuous data structures support high-fidelity empirical probability functions.
Welch's t-test assumes normal parent distributions; severe departures from normality with small samples require rank tests. The empirical regression of expected Welch test statistics against difference factor k confirms robust two-sample scaling with slope m = 2.5000 and R² = 1.000000.
Generates independent two-group Gaussian datasets with disparate sample sizes (n_1, n_2) and unequal variances (σ_1^2, σ_2^2).
Computes classical Student's two-sample t assuming equal variances to demonstrate Type I error inflation.
Computes Welch's unpooled test statistic t = (x̄_1 - x̄_2) / √(s_1^2/n_1 + s_2^2/n_2).
Evaluates the fractional effective degrees of freedom ν_W via the Welch-Satterthwaite equation.
Simulates 20,000 heteroscedastic trials to compare Welch versus Student empirical rejection rates under the null.
Performs linear regression of expected Welch t versus difference factor k to confirm the gradient m = 2.500.
Investigate two-sample hypothesis testing under variance heteroscedasticity, formulate Welch's t-statistic, evaluate Satterthwaite's effective degrees of freedom approximation, and verify two-sample mean difference detection. Standardized parameter settings: 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 factor.
Configure group 1 with n_1 = 10, σ_1^2 = 1.0 and group 2 with n_2 = 25, σ_2^2 = 4.0 on the two-sample simulation interface.
Draw independent samples with equal means μ_1 = μ_2 = 0.0. Compute sample means (x̄_1, x̄_2) and sample variances (s_1^2, s_2^2).
Evaluate the Welch-Satterthwaite equation to obtain effective degrees of freedom ν_W, noting that ν_W is non-integer and bounded between min(n_1-1, n_2-1) and n_1+n_2-2.
Compare pooled Student's t with unpooled Welch's t across 20,000 runs, observing that Student's t inflates Type I error when smaller samples have larger variances.
Increment the true mean difference Δμ = μ_1 - μ_2 across standardized settings k ∈ {1.0, 2.0, 3.0, 4.0, 5.0, 6.0}, recording expected Welch t-statistics.
Fit a linear regression model y = mx to coordinate pairs (x = k, y = E[t]). Confirm that empirical slope m = 2.5000 validates Welch test scaling.
Points are your recorded observations. The solid regression line validates Two-Sample Welch t-Test mathematical scaling.
| # | True Difference Factor k (factor) | Expected Welch Test Statistic E[t] (Welch t) | True Difference Factor k | Expected Welch Test Statistic E[t] | Remove |
|---|
No readings yet. Execute a statistical trial and record it.