McNemar's Test: Define Success (Related-Samples Nonparametric Tests)

McNemar's test is intended for flag fields (categorical fields with only two categories), but is applied to all categorical fields by using rules for defining "success".

Define Success for Categorical Fields. This specifies how "success" is defined for categorical fields.

  • Use first category found in data performs the test using the first value found in the sample to define "success". This option is only applicable to nominal or ordinal fields with only two values; all other categorical fields specified on the Fields tab where this option is used will not be tested. This is the default.
  • Specify success values performs the test using the specified list of values to define "success". Specify a list of string or numeric values. The values in the list do not need to be present in the sample.

To Obtain Related-Samples Nonparametric Tests