Combined and Weighted Statistics Calculator

Enter groups as rows of n, mean and SD, and optionally raw data with weights, to get combined statistics, pooled SD, weighted measures and absolute deviations.

Funziona nel tuo browser. I tuoi file non lasciano mai il dispositivo. Scopri come verificarlo

…

Come si usa

  1. 1
    Enter groups

    n, mean and SD per row.

  2. 2
    Add rows

    One per group.

  3. 3
    Paste raw data

    Optional values.

  4. 4
    Enter weights

    Optional, same count as values.

  5. 5
    Read the statistics

    Combined, pooled and weighted.

Informazioni su questo strumento

Often you do not have the raw data, only summaries of several groups: their sizes, means and standard deviations. Combining them correctly is not a simple average of the SDs; the spread between group means must be added. This calculator combines any number of groups exactly, gives the pooled within-group SD used in t-tests and ANOVA, and for raw data adds weighted statistics, sample and population variance and robust absolute deviations.

Who this is for

Researchers combining study arms or classes, meta-analysts, teachers merging class results and students learning variance.

Combining groups

For groups with sizes n_i, means x̄_i and SDs s_i: - overall mean x̄ = Σn_i x̄_i / N, - total sum of squares = Σ(n_i − 1)s_i² + Σn_i(x̄_i − x̄)², - overall SD = √(total SS / (N − 1)). This is the formula recommended by the Cochrane Handbook for combining subgroups.

Pooled SD

The pooled within-group SD, √(Σ(n_i − 1)s_i² / (N − k)), ignores differences between means. It is the SD used in the pooled t-test and as the denominator of Cohen's d.

Sample or population?

Sample variance divides by n − 1 (Bessel's correction) and estimates the population variance without bias; population variance divides by n when you have the whole population. Both are shown.

Weighted statistics

With weights w_i (for example frequencies), the weighted mean is Σw_i x_i / Σw_i and the frequency-weighted SD uses Σw_i(x_i − x̄)² / (Σw_i − 1). The population form divides by Σw_i.

Absolute deviations

The mean absolute deviation averages |x − x̄| and is easy to explain; the median absolute deviation (MAD) around the median is robust to outliers and used in outlier detection.

Good practice

Check that the SDs are standard deviations, not standard errors (SE = SD/√n). Mixing them is a common error in meta-analysis.

Why the combined SD is larger

When group means differ, the combined data spread over a wider range than any single group. Averaging the two SDs (6.5 in the example) would underestimate the real spread (8.5), a common mistake in reports and meta-analyses.

Weighted means in practice

Course grades, price indices and survey estimates are weighted means: each value counts in proportion to its weight, such as credits, quantities or sampling weights.

Worked example

Group A: n = 10, mean 50, SD 5. Group B: n = 20, mean 60, SD 8. Combined N = 30, mean 56.67 and SD 8.53, larger than both SDs because the means differ; the pooled within-group SD is 7.17. For the data 12, 15, 11, 18, 14, 16, 13, 20, the mean is 14.88, sample SD 3.04 and population SD 2.85.

Limits

Groups must be independent and the SDs describe the same variable; not a substitute for official statistical review.

Esempio svolto

Groups (10, 50, 5) and (20, 60, 8) combine to mean 56.67 and SD 8.53.

In breve

Domande frequenti

How do I combine standard deviations of groups?

Add within-group and between-group sums of squares, then divide by N − 1.

What is the pooled SD?

The within-group SD that ignores differences between group means.

Why divide by n − 1?

It corrects the bias of estimating variance from a sample.

What is the median absolute deviation?

The median of distances from the median, a robust spread measure.

Can I use standard errors?

Convert them to SDs first: SD = SE × √n.

Is my data stored?

No. Everything is calculated in your browser.

Completamente gratisNessun costo, nessuna registrazione
I file restano privatiTutto funziona nel tuo browser
Facile nella tua linguaDisponibile in molte lingue