Topic 5 · Lesson 2 of 3
Correlation and Normal mean tests
Testing for correlationA level only
In the data topic you met the product moment correlation coefficient , which measures linear correlation in a sample. A test asks whether the population correlation, (the Greek letter rho), is really non-zero, or whether the sample's could have arisen by chance from uncorrelated data.
How to test for correlation
- Step 1: Hypotheses: ; or (one-tailed) or (two-tailed).
- Step 2: Find the critical value from the table for the sample size and significance level (given in the formula booklet's statistical tables).
- Step 3: If is beyond the critical value (in the direction of ), reject .
- Step 4: Conclude in context.
Worked example
Correlation testA level
For 12 days from the large data set, the PMCC between daily mean temperature and daily sunshine is . Test, at the 5% level, whether there is positive correlation between the two in the population.
Show solutionHide solution
- , .
- For , one-tailed, 5%: critical value 0.4973.
- , so is in the critical region, shown below: reject .
- There is sufficient evidence at the 5% level of positive correlation between daily mean temperature and sunshine.
Testing a Normal meanA level only
If individual values follow , the mean of a random sample of size has its own distribution:
The mean of the sample means is still , but their spread is smaller, with standard deviation , because averaging several values cancels out some of the variation. (Try it: averages of 25 people's heights vary much less than individual heights.) This is why a larger sample makes a test more sensitive.
How to test a Normal mean
- Step 1: and (one- or two-tailed).
- Step 2: Under , , using the known or assumed .
- Step 3: Find (or , in the direction of ), or standardise: , and compare with the critical -value.
- Step 4: Compare with the significance level (half of it in each tail for a two-tailed test) and conclude in context.
Worked example
A Normal mean testtop gradeA level
The masses of bags of flour are Normal with standard deviation 6 g. The mean has been 50 g. After a machine is serviced, a sample of 25 bags has mean 52.1 g. a) Test, at the 5% level, whether the mean has increased. b) Find the critical region for . c) State the probability that the test wrongly concludes the mean has increased.
Show solutionHide solution
- a) , , where is the population mean mass after the service.
- Under , .
- .
- : reject . There is sufficient evidence at the 5% level that the mean mass has increased.
- b) Reject when , so the critical region is (to 2 d.p.), as the diagram shows.
- c) Wrongly concluding an increase means rejecting when it is true. For a continuous distribution this probability is exactly the significance level, 0.05.
Practise this topic
Both are part of Premium.