Chi-Square Tests
Mcnemar Test Statistical Calculator
McNemar Test Calculator test marginal change in paired binary outcomes. Use McNemar Test Calculator to validate before positive / after negative b, before negative / after positive c, continuity correction, alpha and report discordant total, chi square, p value, decision with method-specific calculations, diagnostics, and interpretation. Use the tabbed test workspace below for data, variables, analysis, visualizations, results, interpretation and reporting.
Quick method summary
Test marginal change in paired binary outcomes. The page uses the named formula and never substitutes a generic test.
Chi-Square Tests
McNemar Test Calculator
Test marginal change in paired binary outcomes. Use McNemar Test Calculator to validate before positive / after negative b, before negative / after positive c, continuity correction, alpha and report discordant total, chi square, p value, decision with method-specific calculations, diagnostics, and interpretation.
Calculated result
Calculation method
Test marginal change in paired binary outcomes.
Formula
χ²=(|b-c|-correction)²/(b+c).
Assumptions and limits
Use a design and data structure that match the named statistic. Review zero cells, missing values, sample size, independence or pairing before interpretation.
Method integrity
This calculator has a separate canonical page, separate function, method-specific inputs and an automated fixture. It does not use a generic fallback result.
Formula review
Formula, input validation, output contract, and independent control cases reviewed 2026-08-02; study-design assumptions remain visible to the user.
McNemar Test Calculator method, assumptions and reporting guideComplete selected-test explanation, assumptions, formula and reporting details
Data Import and Variable Requirements
Upload XLSX, CSV or TSV data locally, review the cleaning report, then map cleaned variables to the exact method. For McNemar Test Calculator, map Before positive / after negative b, Before negative / after positive c, Continuity correction, Alpha from the cleaned browser-local table; every mapped variable remains editable before calculation, and the active dataset remains available while you work with this selected test and when you return to the Test Finder.
Uploaded files are processed locally in the browser. The cleaning report appears before variable selection, and the selected cleaned columns are mapped to this exact calculator rather than a generic fallback.
McNemar Test Calculator Workspace Features
- Dedicated McNemar Test Calculator variable mapping, calculation contract, result explanation, and diagnostics
- Dedicated formula and input validation
- Method-specific result fields and interpretation
- Responsive result chart and CSV export
- Protected canonical URL and no generic fallback
About the McNemar Test Calculator
Test marginal change in paired binary outcomes. Use McNemar Test Calculator to validate before positive / after negative b, before negative / after positive c, continuity correction, alpha and report discordant total, chi square, p value, decision with method-specific calculations, diagnostics, and interpretation. Chi-square and exact-table calculators analyze categorical counts, expected frequencies, or standardized contingency-table association.
When to Use the McNemar Test Calculator
Use this calculator when the study design, data scale and formula assumptions match McNemar Test.
How the McNemar Test Calculator Works
χ²=(|b-c|-correction)²/(b+c).
The calculation runs in the browser. Submitted values are validated for required numeric ranges, data shape, units and method-specific restrictions before results are shown.
Assumptions and Checks
- The entered design, scale and sampling structure match this named method.
- Missing values, zero cells, dependence, pairing or ordering are handled explicitly before calculation.
- The sample size and distributional or model conditions are adequate for the reported inference.
Required Inputs
- Before positive / after negative b (required)
- Before negative / after positive c (required)
- Continuity correction (required) Options: Yates correction, No correction
- Alpha (required)
Results Reported
The result workspace shows the final answer and intermediate quantities needed to audit the calculation. Depending on the method, reported values include:
- Discordant Total
discordant_total - Chi Square
chi_square - P Value
p_value - Decision
decision
McNemar Test Calculator Worked Example
Use the example data button, calculate, then review the result table, formula, and worked solution before using the answer.
| Input | Example value |
|---|---|
| Before positive / after negative b | 12 |
| Before negative / after positive c | 25 |
| Continuity correction | yes |
| Alpha | 0.05 |
Verified Worked Result
The packaged automated fixture produces the following checked values from the example inputs. Display rounding can differ from the full-precision browser result.
| Result | Verified value |
|---|---|
| Discordant Total | 37 |
| Chi Square | 3.8918918918919 |
| P Value | 0.048519738280249 |
| Decision | Reject the null hypothesis |
How to Use This Workspace
- Confirm that the method matches the quantity, hypothesis, model or planning question you need to solve.
- Enter values with compatible units and the requested sample, group, matrix, count, date or option format.
- Use Example Data to inspect a valid input layout, or enter your own values and run the calculation.
- Review the result table, formula, substitutions, warnings and interpretation rather than relying only on the headline number.
- Copy, download or print the result when you need a reusable analysis record.
Understanding and Reporting the Result
Review the estimate or statistic, uncertainty, p-value where applicable, assumptions, warning messages and method-specific interpretation before reporting. In the McNemar Test Calculator result workspace, interpret Discordant Total, Chi Square, P Value, Decision together with the method assumptions, warning messages, confidence information, effect magnitude, and diagnostic plots shown for the selected variables.
Enter counts rather than percentages and review expected-frequency warnings; sparse 2x2 tables may require Fisher exact inference.
Keep the entered values, units, selected options and any warning shown beside the result. For a hypothesis test, report the statistic, degrees of freedom where applicable, p-value, alpha level, effect size and decision. For an estimate or conversion, report the formula convention and final unit.
How to Report the Result
Report the method name, inputs or sample structure, main estimate/statistic, uncertainty or p-value where available, and a conclusion tied to the research question. A reproducible McNemar Test Calculator report should identify the mapped variables, valid observations, exclusions or missing-data handling, selected options, principal outputs, uncertainty, diagnostics, and the practical conclusion supported by the analysis.
Accuracy and Limitations
The calculator keeps full browser precision during calculation and rounds only for display. Accuracy still depends on correct inputs and on whether the displayed model represents the real problem. Educational calculators cannot replace required professional review, current official rules, field measurements, laboratory methods or specialist statistical software where those are necessary.
Frequently Asked Questions
What does the McNemar Test Calculator calculate?
Test marginal change in paired binary outcomes. Use McNemar Test Calculator to validate before positive / after negative b, before negative / after positive c, continuity correction, alpha and report discordant total, chi square, p value, decision with method-specific calculations, diagnostics, and interpretation.
Which formula does the McNemar Test Calculator use?
χ²=(|b-c|-correction)²/(b+c).
What does the mcnemar test statistical calculator calculate?
Test marginal change in paired binary outcomes.
Which inputs are required?
Use the dedicated fields shown on this page; each field is validated before the method runs.
Can I use Excel or CSV data?
Yes. Upload is processed locally, cleaned, and mapped to this exact method.
How should I report the result?
Report the method, sample or inputs, main estimate or statistic, uncertainty or p-value when available, and a research-question conclusion.