Chi-square test
Assess associations between categorical variables using contingency-table counts.
Data input
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.
| Parameter | Example setting |
|---|---|
| Measurement | category |
| Grouping variable | group |
| Correction | Checked |
| Probabilities | Blank |
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.
Analysis parameters
Upload or select a dataset to configure the analysis.
Results
Run an analysis to view results and downloads here.