← All analyses

Chi-square test

Assess associations between categorical variables using contingency-table counts.

View documentation →

01

Data input

Data source Upload a UTF-8 CSV or TSV with one header row. Limits: 2 MiB, 10,000 rows, 60 columns and 200,000 cells. Empty cells, NA, N/A, NaN and NULL are treated as missing. Data and results are private to this browser session. Use Remove dataset to delete the selected dataset and its results immediately. After 15 minutes without contact, the session ends and its data is automatically deleted.
Download example
Example data and settings

This synthetic example demonstrates the workflow; it is not clinical evidence. Use example data applies the settings below. Uploading your own file uses data-dependent initial settings.

Use categorical columns of individual observations, rather than a pre-aggregated count matrix. Select one variable for goodness of fit or two for independence.

ParameterExample setting
Measurementcategory
Grouping variablegroup
CorrectionChecked
ProbabilitiesBlank

What to inspect: Test and count tables report chi-square, degrees of freedom and p. Independence tests also export expected counts and count expected cells below 5. Goodness-of-fit tests export the actual normalized probabilities and expected counts. Additional downloadable analysis-summary and diagnostics tables describe the analysis scope and method checks. Selected-variable missingness is reported where applicable. Diagnostics do not establish external validity or verify untested assumptions.

02

Analysis parameters

Upload or select a dataset to configure the analysis.

03

Results

Run an analysis to view results and downloads here.