For the latest version of JMP Help, visit

Publication date: 11/10/2021

Cochran’s Q Statistic

The Cochran’s Q test statistic is calculated as follows:

Equation shown here


k is the number of treatments

b is the number of blocks

Xij is the response (0 or 1) for the ith subject for the kth treatment

N is the grand total of positive responses across all subjects and treatments

Want more information? Have questions? Get answers in the JMP User Community (