When to use it
Use to test continuous data for normality prior to applying parametric inferential tests.
Required Inputs
- Sample numeric data array (N = 3 to 5,000)
- Alpha significance level (typically 0.05)
Test whether a sample distribution departs significantly from normality using the Shapiro-Wilk W statistic and p-value.
Run this test live in StatLab npm i @statlab/coreUse to test continuous data for normality prior to applying parametric inferential tests.
W = [ Σ a_i x_(i) ]² / Σ (x_i - X̄)²
from scipy import stats
W, p = stats.shapiro(sample_data)
print(f"W={W:.4f}, p={p:.4f}")
shapiro.test(sample_data)
import { shapiroWilk } from '@statlab/core';
const res = shapiroWilk(sampleData);
Continuous A/B testing, statistical telemetry analysis, and automated feedback loops for live backend services.
Explore VoxelPulse →Fixed-price AI release-readiness sprints, automated regression testing, and reliability statistical benchmarks.
Explore VoxelAssurance →Explore static calculators across the StatLab inference engine suite.