The test statistic is:

\[\begin{align} t=\frac{\bar x_1-\bar x_2}{\sqrt{\frac{\sum^{J}_{j=1}\sum^{n_j}_{i=1} w_{ij}(x_{ij} - \bar x_j)^2}{v}(\frac{1}{e_1}+\frac{1}{e_1})}}\end{align}\]

where:

\(\bar x_1\) and \(\bar x_2\) are the means of the two groups being compared and \(\bar x_j\) is the mean of the \(j\) of \(J\) groups,

when applying the test to Repeated Measures, each respondent’s average is initially subtracted from their data and it is this corrected data that constitutes of \(x_{ij}\),

\(n_j\) is the number of observations in the \(j\)th of \(J\) groups,

\(w_{ij}\) is the Calibrated Weight for the \(i\)th observation in the \(j\) group,

\(e_j\) is the Effective Sample Size (see Weights, Effective Sample Size and Design Effects) for the \(j\) group,

\(v = (J - 1)(\sum^J_{j=1} e_j - 1)\) for Repeated Measures and \(v = \sum^J_{j=1} e_j - J\) otherwise.

\(p \approx 2\Pr(t_v \ge |t|),\)

the *p*-value is then corrected using the False Discovery Rate Correction.

## Circumstances when this test is applied

- Computing either:
- Column Comparisons (see Statistics).
- A Planned Tests Of Statistical Significance for a row or column of a table.

- This test has been selected in the Statistical Assumptions setting of
**Multiple comparison correction > Column comparisons**.