The matched structure lets the analysis account for repeated measurements from the same subjects rather than treating every response as independent. Each subject contributes a set of binary outcomes across treatments, conditions, or time points. This design focuses the comparison on changes in response proportions across related measurements, making it suitable for within-subject experimental or clinical comparisons.
Responses are organized in a binary matrix, with subjects and related conditions represented systematically. Treatment totals summarize positive responses for each condition, while subject totals summarize each subject's responses across conditions. Combining these totals produces the test statistic, which is evaluated using a chi-square distribution with k−1 degrees of freedom.
It is appropriate when the samples are related and every observation has a binary outcome, such as success or failure. The same subjects must contribute responses under multiple conditions, treatments, or time points. If observations come from unrelated groups, this matched repeated-measure structure is not present, so the test does not address the intended comparison.
The test provides an overall assessment of whether response proportions differ across three or more related conditions. A significant overall finding identifies systematic differences but does not by itself specify which particular conditions differ. Researchers can therefore use follow-up pairwise comparisons after the omnibus test to investigate individual treatment, condition, or time-point contrasts.
First, arrange the observations in a binary matrix that preserves the matching among subjects. Next, calculate totals for each treatment or condition and totals for each subject. Combine these quantities to obtain the test statistic, then compare it with the appropriate chi-square distribution using k−1 degrees of freedom to evaluate differences among the related conditions.
The procedure evaluates whether the proportions of positive binary responses are the same across related treatments, conditions, or time points. Its outcome addresses the presence of a systematic difference across the full set of conditions. When such a difference is detected, further pairwise analysis can help identify where the contrasts occur.
Researchers can apply it when the same subjects are assessed under multiple related conditions and each assessment is recorded as a binary outcome. Examples supported by this framework include success-versus-failure responses across treatments or repeated time points. In clinical and experimental research, the method helps screen for systematic differences before more specific comparisons are made.