Back to Clinical trial Lab
STATISTICS / INTERACTIVE LAB

Distribution Lab

Enter numbers and watch the distribution, mean and median change together.

∿

Enter data

01 / DATA

Separate values with commas, spaces or line breaks; decimals and negative numbers are supported. Up to 500 values.

Try an example

Sample values

N = 30
Mean50MEAN
Median50MEDIAN
95% CI for mean48.42 – 51.58t INTERVAL
02 / DISTRIBUTION

Explore the distribution

N = 30

Bars show frequency density; the line is a kernel density estimate, not a normality test.

Frequency densitySmoothed densityMeanMedian
34.1742.085057.9265.83
Value
Sample size 30Sample standard deviation 4.24
i

How to interpret

The interval is a two-sided t interval for the mean: mean ± t × sample standard deviation / √n. It assumes independent observations and may be unreliable for small or strongly skewed samples.

Curve smoothness depends on bandwidth; similar mean and median do not establish normality.

For education; not a substitute for statistical analysis.

NIST: confidence interval for the mean ↗