In: Statistics and Probability
The test statistic for a One Sample t Test is denoted t, which is calculated using the following formula:
t=(mean(x)-u)/(s/(n^0.5))
Denominator is s/n^0.5 i.e. estimated standard error of mean
For independent t test
for repeated measures