Worked example
Use the alternative to select the reference tail
Independent random samples come from two normal populations with known variances. The summaries are and .
Use for the population mean difference.
Test against at per cent.
Give the statistic to 3 decimal places.
Use the two tails beyond the magnitude of the statistic specified by the alternative. The standard error calculation is .
Standardise the observed estimate after subtracting the null value. This gives , or to 3 decimal places. Use z from the standard normal.
The p-value is to 4 decimal places. It lies above the significance level, so do not reject the null.