Professional Documents
Culture Documents
Reminders:
Use class format.
Double check null hypothesis has equals sign “≤”, “≥ “ or “≠”
Use Estimator Summary Sheet to get information like test name, conditions, formulas etc
Double check Minitab settings for hypotheses
And finally
• If p-value < significance we conclude we can reject the null hypothesis.
o We interpret this as “evidence for the alternative hypothesis”
Optional boiler plate “With significance of %%% we have significant evidence that
“alternative hypothesis in words””
• If p-value ≥ significance we conclude we can not reject the null hypothesis.
o We interpret this as “no significant evidence for the alternative hypothesis”
Optional boiler plate “With significance of %%% we have no significant evidence that
“alternative hypothesis in words””
Name test Hypothesis test on μ, σ unknown (one sample t-test on the population mean),
(get name from estimator summary
sheet)
Check specific conditions against Question states all conditions for inference hold
question text
Explain how you computed the p-value. Used Minitab’s one sample t-tool, right tailed test, hypothesized mean 4.5
Report key results: test statistic, d.f., p- test statistic 1.84, p-value 0.039.
value 𝑑𝑑𝑑𝑑 = 𝑛𝑛 − 1 = 24 − 1 = 23
Chapter 9 test: draw p-value picture p-value for right tailed test = P(T≥ sample test statistic)
Right tailed test p-value 𝑃𝑃(𝑇𝑇23 ≥ 1.84) = 0.039 (Minitab)
Right tailed test: mark test statistic on tdf with23 df
horizontal axis, shade right tail whose
area corresponds to the p-value.
-2.97 0.03
0 1.84 tdfz
23
Come to a conclusion Conclusion: Since the p-value 0.039 < 𝛼𝛼 = 0.05 we reject the null hypothesis
Interpret your results Interpretation: With significance of 5%, there is evidence that the population
We reject null→ evidence for alternative mean is more than 4.5
HA :μ >4.5. We write alternative in
words. “mean is more than 4.5”.
Question 37 b)
Name test Hypothesis test on μ, σ unknown (one sample t-test on the population
(get name from estimator summary sheet) mean)
Check specific conditions against question Question states all conditions for inference hold
text
Explain how you computed the p-value. Used Minitab’s one sample t-tool, two tailed test, hypothesized mean 4.5
Report key results: test statistic, d.f., p-value test statistic 1.84, p-value 0.079,
d.f. = n-1 = 24-1 =23
Chapter 9 test: explain how to compute the Test statistic is computed from
test statistic.
Notice how answer is formula → numbers in 𝑥𝑥̅ − 𝜇𝜇0 4.8 − 4.5
test statistic t = 𝑠𝑠 = = 1.84
the formula → answer � 𝑛𝑛 0.8�
√ √24
Notice that the test statistic for 37 b)
is the same as 37 a) because our
hypothesized population mean has
not altered.
0 1.84 tdfz
23
Step 4: Conclusion and Interpretation 4. Conclusion and Interpretation
Come to a conclusion Conclusion: Since the p-value 0.079 > 𝛼𝛼 = 0.05, we do not reject 𝑡𝑡ℎ𝑒𝑒 𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛
Interpret your results Interpretation With significance of 5% there is no evidence that the mean differs
We can not reject null→ no evidence for from 4.5
alternative
HA :μ ≠ 4.5. We write alternative in
words “mean differs from 4.5”
Question 40)
Additional information: the tiny sample of data was randomly chosen from a relevant population.
Reminder question 40 states that “the population is normally distributed”.
Name test Hypothesis test on μ, σ unknown (one sample t-test on the population mean),
(get name off estimator summary sheet)
Check specific conditions against Conditions check
question text Normality condition: n ≥ 30 or population normal
Notice that we follow a two step • n = 6, 6< 30 so sample is small. Check if population is normal
procedure to check the normality • Population normal: question states “population is normally
condition. distributed” so OK
1. We discover that the sample of Independent observations. Additional information states that “sample of data
data is smaller than the 30 cutoff was randomly chosen” so OK
n = 6, 6<30
2. We check whether we have Representative sample
information about the • Relevant population. Additional information “relevant population” so
distribution that the population OK
follows. Is it normal?
• Random sample : Additional information “randomly chosen” so OK
3. It is normal so normality condition
holds
Population standard deviation is not known
Explain how you computed the p-value. Typed dataset into an Excel Spreadsheet.
Report key results: Used Minitab’s one sample t-tool to compute all numbers, left tailed test,
As you used a dataset results are sample hypothesized mean 100
mean, sample standard deviation test statistic is -2.38, p-value is 0.0316; df=n-1=6-1=5
We always report test statistic, p-value. x ̅=92.33;s=7.89;
Compute d.f.
p-value= 0.0316,
Come to a conclusion Conclusion: As p-value, 0.0316 < significance 0.05, reject the null
Interpret your results Interpretation: With significance of 5%, there is evidence that the population
We can reject null→ evidence for mean is less than 100.
alternative hypothesis in words
Name test Hypothesis test on μ, σ unknown (one sample t-test on the population mean),
(get name off estimator summary sheet)
Check specific conditions against Normality condition: n ≥ 30 or population normal
question text • n = 6, 6< 30 so sample is small. Check if population is normal
• Population normal: question states “population is normally
distributed” so OK
Representative sample
• Relevant population. Additional information “relevant population” so
OK
• Random sample : Additional information “randomly chosen” so OK
Explain how you computed the p-value. Typed dataset into an Excel Spreadsheet.
Report key results Used Minitab’s one sample t-tool to compute all numbers, two tailed test,
hypothesized mean 100:
test statistic is -2.38, p-value is 0.0316; df=n-1=6-1=5
x ̅=92.33;s=7.89;
p-value = 0.0632
Come to a conclusion As p-value, 0.0632 > significance 0.05 , cannot reject the null
Interpret your results With significance of 5% there is no evidence that the population mean differs
We can not reject null→ no evidence for from 100.
alternative hypothesis (in words)
hypothesis
H0 : μ =100, HA : μ ≠ 100
Alternative hypothesis in words is that
population mean differs from 100
Name test Hypothesis test on μ, σ unknown (one sample t-test on the population mean),
(get name off estimator summary sheet)
Check specific conditions against Conditions:
question text • Normality: sample size ≥ 30 or population follows a normal distribution.
• sample size is 20; 20<30
Notice that we state what the • As sample is small, 20, check population follows a normal distribution,
condition is, and then compare it to
• No information on shape of population WARN
question text/ sample size.
• Population standard deviation unknown? Yup.
Some questions will have conditions • Independent observations: question states “randomly observed” => random
that are all fine and will not require sample so independence OK
assumptions. • Representative sample? OK
• random sample : OK. see previous
This example does not . • relevant population: “customers during the day” so OK
And the textbook has included it to => representative sample OK
remind us that if you do a test on a
small sample of data, n <30, you Assumption: assume population follows a normal distribution as sample has 20
need the population to follow a observations.
normal distribution.
Explain how you computed the p-value. Used Minitab one sample t tool to compute all numbers. Right tailed test
Report key results hypothesized mean 5
As you used a dataset results are sample sample mean 56.5, sample standard deviation 2..2
mean, sample standard deviation test statistic 3.01, p-value 0.003
We always report test statistic, p-value. 𝑑𝑑𝑑𝑑 = n − 1 = 19
Compute d.f.
Chapter 9 test: 𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 = 𝑡𝑡 =
𝑥𝑥̅ −𝜇𝜇0 6.5−5
= 2.2 = 3.05.
𝑠𝑠 �
explain how to compute the test statistic. �
√𝑛𝑛 √20
Get formula from summary sheet
Answer is formula → numbers in formula
→ answer
Chapter 9 test: draw p-value picture Right tail test, p-value = P(T ≥ sample test statistic)
Come to a conclusion As p-value 0.003 is less than significance 10%, can reject null.
Interpret your results There is Significant evidence from this sample that the average customer waits
We can reject null→ evidence for more than 5 minutes with significance of 10%. We suggest hiring an
alternative additional employee.
We warn that our results rely on the assumption that the population follows a
normal distribution.
Question 46:
Explain how you computed the p-value. Used Minitab to do all computations using one sample t tool, right tailed test,
Report key results hypothesized mean 0.066
test statistic t= 2.7, p-value 0.005, 𝑑𝑑𝑑𝑑=36-1=35
This question’s text included sample
statistics, so all we report is test
statistic, p-value and the d.f.
Come to a conclusion p-value 0.005 is less than significance, 0.05, reject the null.
Interpret your results At the 5% significance level, we conclude that there is evidence that the average
We can reject null→ evidence for increase in home prices in the West is greater than the average increase in the
alternative Midwest.
Name test Hypothesis test on a population mean, population standard deviation unknown.
(get name off estimator summary sheet)
Check specific conditions against Conditions:
question text • Normality: n≥ 30 or population normal.
n = 12; n < 30. Question states population normal so OK
• σ unknown. Yup
• Independent observations: no idea how sample was chosen – warn.
• Representative sample
o Relevant: “tested … 12 of the cars” so yes.
o Random: no information, warn
Assume that sample is representative , and that observations are independent.
Explain how you computed the p-value. Used Minitab’s one sample t-tool to do all computations:
Report key results test statistic t = -3.08, p-value 0.0052
df = n – 1 = 11
Come to a conclusion As p-value 0.0052 < significance (5%) reject the null.
Interpret your results At the 5% level of significance, there is evidence from this sample that the
We can reject null→ evidence for average clock time of all cars is less than 6 seconds. With significance of 5%
alternative there is evidence from this sample that the new sports car is meeting its goal.
We warn that our results rely on the assumption of a representative sample of
data.
Question 50, revised question given below.
The dataset attached to this question comes from the Chapter 8 example, a random and representative sample of ultra fuel efficient
cars. A journalist wants to know whether there is evidence that ultra fuel efficient cars fuel efficiency differs from 95 mpg. If there is
evidence that ultra fuel efficient cars average fuel efficiency differs from 95 mpg he will write an article on uncertain mpg in ultra fuel
efficient cars.
a) What are the hypotheses that test whether average mpg of ultra fuel efficient cars differs from 95 mpg.
b) Check the conditions required to do the hypothesis test that answers a). What assumption must you make to do inference?
c) Assume that all conditions for inference hold. Would you advice the journalist to write the article? Use a significance level
of 5% in your analysis.
a) Hypotheses
b) Test name: Hypothesis test on the population mean, population standard deviation unknown.
Conditions:
• Normality: n≥ 30 or population normal
Sample size is 25 (Minitab descriptive statistics), 25 < 30
Need population to follow normal distribution as sample is small – 25. No information in question
• σ unknown. yep
• Representative sample: question states representative
• Independent observations: question states random sample so OK
c) Hypothesis Test
Hypotheses: given in a)
Significance 5%
Test name and conditions check: see b)
Computation method: Used Minitab’s one sample t-tool to directly compute test statistic 0.71, p-value 0.48
Sample statistics from one sample t-tool
𝑥𝑥̅ = 96.52
𝑠𝑠 = 10.70
𝑑𝑑𝑑𝑑 = n − 1 = 25 − 1 = 24
Conclusion: p-value of 0.48 is greater than significance of 5%, cannot reject the null.
Interpretation: With 5% significance, there is no evidence that average MPG is different to 95mpg.
We would not advise writing the article
We warn that our results rely strongly on the assumption of a normal distribution for the