Professional Documents
Culture Documents
Sample
Sampling
STATISTICS Distribution
DESCRIPTIVE INFERENTIAL
ESTIMATION
HYPOTHESIS TESTS
Point & Interval
1 2 3 4
Formulate Decide Calculate Apply
𝐻0 & 𝐻1 on the p-value decision rule:
reject 𝐻0
if p-value <
OR retain it if
p-value >
Defining the hypothesis
•Formulate 𝐻0 & 𝐻1
1 •The null hypothesis always involve equality sign (=)
•The alternative hypothesis is what we are searching evidence for. It can contain an “≠” , “>” or “<“ sign
𝐻0 : 𝜇 = 𝜇0 𝐻0 : 𝜇 = 𝜇0
𝐻0 : 𝜇 = 𝜇0
𝐻1 : 𝜇 > 𝜇0 𝐻1 : 𝜇 < 𝜇0
𝐻1 : 𝜇 ≠ 𝜇0
ҧ 0
𝑥−𝜇 ഥ−𝝁𝟎
𝒙
𝑇𝑒𝑠𝑡 𝑆𝑡𝑎𝑡𝑖𝑠𝑡𝑖𝑐 = = ഥ
𝑠/ 𝑛 𝑺𝑬 𝒙
3 Judging whether or not the test statistic is outstanding “far from zero”, in the
direction of the alternative.
Decision:
P-value for a right-tail test P-value for a left-tailed test P-value for a two-tail test
=1-NORM.S.DIST(test statistic ,TRUE) =NORM.S.DIST(test statistic ,TRUE) =2*NORM.S.DIST(??,TRUE)
Errors in Hypothesis Testing: Type I and II errors
Since we rely on data samples to conduct hypothesis tests, there is a potential
of errors.
Possible scenarios:
The true ‘state of the world’
𝑯𝟎 is TRUE 𝑯𝟎 is FALSE
Do not reject 𝑯𝟎 CORRECT TYPE II ERROR
DECISION! (β)
Reject 𝑯𝟎 TYPE I ERROR CORRECT
(α) DECISION!
Part A: Hypothesis testing of sampling means
Go to the sheet labelled "Cassava". You will see the price received by farmers
in Timor-Leste for Cassava. The price is measured per kilogram. You have
already analysed the summary statistics of this data set in the Week 4
Tutorial.
We now analyse the entire data set, not by geographical location. You are
given the summary statistics for the price of Cassava. Take note of the sample
mean, sample standard deviation, sample size and the reported standard
error.
The local government is currently working on regulations to standardise the
price of Cassava sold. In order to understand the current market situation,
they wish to establish if the price of cassava is more than $0.19 per kilogram
on average.
Questions
T1. Formulate the null and alternative hypotheses for the statistical test
that would assist the local government in establishing evidence from the
data collected.
T2. Report the p-value for this test. Report your answer to four decimal
places.
T3. Compare the p-value with the significance level and state whether you
would reject or retain the null hypothesis.
Questions
T4. Write your conclusion in one sentence.
T6. How would the analysis change if the local government instead wished to
establish if the price cassava is, in fact, different to $0.19 on average?
Which statement is correct?
● The analysis does not change; we can still use the t-statistic and the p-value
from above.
● We cannot conduct such a statistical test to validate this claim.
● The t-statistic remains the same, but the p-value changes to 0.618.
● The t-statistic remains the same, but the p-value changes to 0.155.
Quiz Part A
T7. Let us conduct a hypothesis test to validate the claim that more than
50% of properties are sold by auction. Define the null and alternative
hypotheses.