Two by two

Home | StatisticsShow all | About | Parameters | Buttons | Sample output

About Fisher exact

Calculates the exact probability of occurrence of a two-by-two contingency table and the sum of probabilities of all more extreme cases.

Requires

The grand total of the table must not exceed 170. Only positive integer values are allowed. The test is designed for small samples.

About McNemar/Yates

Allows the significance of differences between two related samples to be determined where the frequencies of discrete categories are known. The measurements require no more than nominal scaling.

Feature

A Yates correction is carried out if the data are from a two-by-two matrix.

Parameters

Two by two dialog

Source

Data from

Test

Options

Subtitle

Allows you to specify an optional subtitle which will be included in the statistical output.

Buttons

?

Opens the help system for this dialog.

Dataset…

Sends the output from this analysis to a new OxonStat Dataset. See Dataset output for more details.

Print…

Sends the output from this analysis to a printer.

Cancel

Cancels the analysis and closes the dialog.

Screen…

Displays the output from this analysis in the Results window.

Sample output

Fisher Exact

OxonStat21:14, 10 Sep 2026

Statistic:Two by Two
Option:Fisher Exact
Subtitle:<none>

SexDia_BP
ID000012.000088.0000
ID000022.000058.0000

p
Exact probability0.3499
Sum extremes0.5260


McNewmar Yates

OxonStat21:16, 10 Sep 2026

Statistic:Two by Two
Option:McNemar/Yates
Subtitle:<none>

SexDia_BP
ID000012.000088.0000
ID000022.000058.0000

Chi-squaredfp
Yates correction50.4171<0.0001
Without correction52.2671<0.0001