Chi-square contingency table

Enter independent whole-number counts, not percentages. The Pearson chi-square p-value is asymptotic, and small expected cells stay flagged.

  • Runs in your browser
  • No upload
  • Check before download

Enter independent whole-number counts, not percentages. The Pearson chi-square p-value is asymptotic, and small expected cells stay flagged. Yates correction is available only for 2×2 tables. Empty margins make the result undefined. Use at most 20×20 cells and a total of 10 million. There is no automatic switch to Fisher's test.

Model, grammar and limits

Eᵢⱼ=RᵢCⱼ/N; χ²=Σ(Oᵢⱼ−Eᵢⱼ)²/Eᵢⱼ; df=(r−1)(c−1)

Limits: 256000 raw data characters, 5000 source records and 50000 cells in total; decimals up to 48 characters; up to 20 groups or contributions and 50 columns. Limits for exact and bootstrap methods are stated with each tool. Parsing and resource checks run before the calculation, and the worker stops after 15 seconds. Editing, canceling or resetting discards pending results.

Check assumptions, ties and missing values before drawing conclusions. Results show 10 significant digits; CSV keeps the numeric values and units. Exact enumeration means exact counts, not exact displayed decimals. Numerical tail zeros, floors and unavailable intervals are labeled. Nothing here is a diagnosis, proof of causation or validity approval.

Your data stays in this browser. The calculation runs in a local worker, and CSV and backup files are local downloads you choose to make. Your data is not sent anywhere or saved silently, so keep your original data. Input data, formulas and filenames are never sent. Only with your optional consent, Refentra sends aggregate counts of actions and outcomes, without input content.

Use a decimal point. Commas/tabs separate matrix columns; newlines separate rows. NA or empty matrix cells are missing. No automatic deletion of extremes.
Data matrix, one row per record — Edit data cell

Use the chosen model

  1. Model, grammar and limits

    Enter independent whole-number counts, not percentages. The Pearson chi-square p-value is asymptotic, and small expected cells stay flagged. Yates correction is available only for 2×2 tables. Empty margins make the result undefined. Use at most 20×20 cells and a total of 10 million. There is no automatic switch to Fisher's test.

  2. Calculate

    Eᵢⱼ=RᵢCⱼ/N; χ²=Σ(Oᵢⱼ−Eᵢⱼ)²/Eᵢⱼ; df=(r−1)(c−1). Limits: 256000 raw data characters, 5000 source records and 50000 cells in total; decimals up to 48 characters; up to 20 groups or contributions and 50 columns. Limits for exact and bootstrap methods are stated with each tool. Parsing and resource checks run before the calculation, and the worker stops after 15 seconds. Editing, canceling or resetting discards pending results.

  3. Download CSV report

    Check assumptions, ties and missing values before drawing conclusions. Results show 10 significant digits; CSV keeps the numeric values and units. Exact enumeration means exact counts, not exact displayed decimals. Numerical tail zeros, floors and unavailable intervals are labeled. Nothing here is a diagnosis, proof of causation or validity approval. Your data stays in this browser. The calculation runs in a local worker, and CSV and backup files are local downloads you choose to make. Your data is not sent anywhere or saved silently, so keep your original data. Input data, formulas and filenames are never sent. Only with your optional consent, Refentra sends aggregate counts of actions and outcomes, without input content.

Model questions

Model, grammar and limits

Enter independent whole-number counts, not percentages. The Pearson chi-square p-value is asymptotic, and small expected cells stay flagged. Yates correction is available only for 2×2 tables. Empty margins make the result undefined. Use at most 20×20 cells and a total of 10 million. There is no automatic switch to Fisher's test. Eᵢⱼ=RᵢCⱼ/N; χ²=Σ(Oᵢⱼ−Eᵢⱼ)²/Eᵢⱼ; df=(r−1)(c−1)

Unit

Data matrix, one row per record; Chi-square correction. Limits: 256000 raw data characters, 5000 source records and 50000 cells in total; decimals up to 48 characters; up to 20 groups or contributions and 50 columns. Limits for exact and bootstrap methods are stated with each tool. Parsing and resource checks run before the calculation, and the worker stops after 15 seconds. Editing, canceling or resetting discards pending results.

Model results

Check assumptions, ties and missing values before drawing conclusions. Results show 10 significant digits; CSV keeps the numeric values and units. Exact enumeration means exact counts, not exact displayed decimals. Numerical tail zeros, floors and unavailable intervals are labeled. Nothing here is a diagnosis, proof of causation or validity approval.

Download input backup

Your data stays in this browser. The calculation runs in a local worker, and CSV and backup files are local downloads you choose to make. Your data is not sent anywhere or saved silently, so keep your original data. Input data, formulas and filenames are never sent. Only with your optional consent, Refentra sends aggregate counts of actions and outcomes, without input content.