Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
(≠ is for two tailed test, < and > is for one tailed test )
Step 2: determine what is given so that you know which critical value and test
statistic to use (if 𝜎 is known use 𝑧 and if it is unknown use 𝑡)
𝑋̅−𝜇
Step 3: calculate the test statistic if 𝜎 is known then 𝑧 = 𝑧𝑠𝑡𝑎𝑡 = 𝜎 and
⁄ 𝑛
√
𝑋̅−𝜇
if 𝜎 is not known then 𝑡 = 𝑡𝑠𝑡𝑎𝑡 = 𝑆
⁄
√𝑛
finding the p-value is also guided by 𝐻1 and be done if the test statistic is 𝑧𝑠𝑡𝑎𝑡
NB: finding the P-value depends on 𝐻1 , but stating the decision does not depend
on 𝐻1
Example
The coffee association has reported that the mean daily consumption for South
African citizens to be 1.65 cups. Assume that a sample of 38 people from Limpopo
consumed a mean of 1.84 cups of coffee per day with a standard deviation of 0.85
cups. Using 5% level of significance, can the Limpopo citizens be said to consume
significantly more coffee than the rest of South Africa?
Solution:
1. 𝐻0 : 𝜇 = 1.65
𝐻1 : 𝜇 > 1.65
2. 𝑛 = 38, 𝑋̅ = 1.84, 𝑆 = 0.85 and 𝛼 = 0.05, so
𝜎 is unknown therefore we use 𝑡
𝑋̅ −𝜇 1.84−1.65
3. 𝑡 = 𝑡𝑠𝑡𝑎𝑡 = 𝑆 = 0.85⁄ = 1.3779
⁄
√𝑛 √38