Adjust the settings and inspect the live result and working.
Copy the result or save a local report.
What the inputs mean
Contingency table
One group per row, columns separated by commas/spaces. 2–20 rows and columns; nonnegative whole counts.
A WORKED STARTING POINT
See the working.
Inputs used in this example
These are example values, not a current price, tariff or personal recommendation. Reset example restores them in the workspace.
Input
Example value
Contingency table
20,30
30,20
Chi-square independence p-value
0.0455002639
χ² = Σ(observed−expected)²/expected; expected = row total × column total / grand total
χ²: 4; df: 1; minimum expected count: 25.
0 of 4 expected counts are below 5.
No continuity correction is applied. Counts must be independent mutually exclusive observations.
Floating-point probabilities are numerical approximations. Interpret tests with their sampling/model assumptions; a p-value is not the probability that a hypothesis is true.
Method references
Background reading for the calculation. These sources do not endorse PixelDesk or verify an individual result.
Your input is processed on this device. PixelDesk does not upload it to a calculation or file-processing server. Copying and downloading are deliberate actions. Closing the page clears the in-memory inputs; the app remembers only its theme and public reference-rate cache.
Test independence in a contingency table of nonnegative whole counts; report expected-count limitations.
What does the chi-square test example show?
With Contingency table: 20,30
30,20, the example returns 0.0455002639. The workspace shows the substituted formula and its assumptions; Reset example restores these inputs.
What should I check before using the result?
χ²: 4; df: 1; minimum expected count: 25. 0 of 4 expected counts are below 5.