Fisherian reduction for the t-Test

Author

Stefan Heyder

Published

February 8, 2022

Modified

November 28, 2023

In the second chapter of () the authors talks about a Fisherian reduction which I think of as a framework of doing inference given a sufficient statistic S. An interesting point here is that one can use the conditional distribution of the data, X1,,Xn say, on S to evaluate the fit of the model.

In this post I want to explore this concept in the setting of a standard t-Test, i.e. we have Xii.i.dN(μ,σ2). The parameter of interest is of course μ and S=(X¯n,σ^n2) is a sufficient statistic, with σ^n2 the empirical variance.

To apply the Fisherian reduction we thus need to find the conditional distribution of X=(X1,,Xn) on X¯n, i.e.X|X¯n. For this, let A=(A1,B)Rn×n be an orthogonal matrix whose first column is A1=(1n,,1n).

Then Y=ATXN(μATμ1,σ2In) and Y=(nX¯n,Z) where ZN(σ2In1), Z and X¯n being independent.

Transforming back we obtain the conditional distribution we sought: X|X¯nAY|X¯n1X¯n+BZ

The catch here is that B is a n×(n1) dimensional matrix, so X|X¯n has a normal distribution of dimension n1, e.g. the variance-covariance matrix is rank-deficient.

Let’s verify this through simulation.

Code
mu <- 10
sigma <- 1
n <- 2
m <- 1000
x <- matrix(rnorm(n * m, mu, sigma), nrow= n)

y <- t(t(x) - colMeans(x))

transformed <- c(matrix(c(1/sqrt(2), -1/sqrt(2)), nrow = 1) %*% y)

plot(y[1,], y[2,])

hist(transformed)
print(mean(transformed))
print(sd(transformed))

[1] 0.007553103
[1] 1.05018

References

Cox, D. R. 2006. Principles of Statistical Inference. Cambridge ; New York: Cambridge University Press.