Definition
A hypothesis test is a process that uses sample statistics to test
a claim about the value of a population parameter
A null hypothesis H0 is a statistical hypothesis that
contains a statement of equality, such as ≤,=, or ≥.
Definition
A hypothesis test is a process that uses sample statistics to test
a claim about the value of a population parameter
A null hypothesis H0 is a statistical hypothesis that
contains a statement of equality, such as ≤,=, or ≥.
The alternative hypothesis Ha is the complement of the
null hypothesis. It is a statement that must be true if H0 is
false and it contains a statement of strict inequality, such as
>, 6=, or <.
Definition
A hypothesis test is a process that uses sample statistics to test
a claim about the value of a population parameter
A null hypothesis H0 is a statistical hypothesis that
contains a statement of equality, such as ≤,=, or ≥.
The alternative hypothesis Ha is the complement of the
null hypothesis. It is a statement that must be true if H0 is
false and it contains a statement of strict inequality, such as
>, 6=, or <.
For example: if the claim value is k and the population parameter
is µ, then some possible pairs of null and alternative hypotheses
are
Example
Write the claim as a mathematical sentence. State the null and
alternative hypotheses, and identify which represents the claim.
A school publicizes that the proportion of its students who
are involved in at least one extracurricular activity is 61%.
Example
Write the claim as a mathematical sentence. State the null and
alternative hypotheses, and identify which represents the claim.
A school publicizes that the proportion of its students who
are involved in at least one extracurricular activity is 61%.
H0 : p = 0.61 (Claim)
Ha : p 6= 0.61
A car dealership announces that the mean time for an oil
change is less than 15 minutes.
Example
Write the claim as a mathematical sentence. State the null and
alternative hypotheses, and identify which represents the claim.
A school publicizes that the proportion of its students who
are involved in at least one extracurricular activity is 61%.
H0 : p = 0.61 (Claim)
Ha : p 6= 0.61
A car dealership announces that the mean time for an oil
change is less than 15 minutes.
H0 : µ ≥ 15minutes
Ha : µ < 15(Claim)
Cont
Cont
H0 : µ ≤ 18years
Ha : µ > 18years(Claim)
TYPES OF ERRORS
TYPES OF ERRORS
TYPES OF ERRORS
LEVEL OF SIGNIFICANCE
In a hypothesis test, the level of significance is your maximum
allowable probability of making a type I error. It is denoted by α.
That is P (type I error) = α.
Statisticians generally agree on using three arbitrary
significance levels: the 0.10, 0.05, and 0.01 levels.
LEVEL OF SIGNIFICANCE
In a hypothesis test, the level of significance is your maximum
allowable probability of making a type I error. It is denoted by α.
That is P (type I error) = α.
Statisticians generally agree on using three arbitrary
significance levels: the 0.10, 0.05, and 0.01 levels.
That is, if the null hypothesis is rejected, the probability of a
type I error will be 10%, 5%, or 1%, depending on which level
of significance is used.
LEVEL OF SIGNIFICANCE
In a hypothesis test, the level of significance is your maximum
allowable probability of making a type I error. It is denoted by α.
That is P (type I error) = α.
Statisticians generally agree on using three arbitrary
significance levels: the 0.10, 0.05, and 0.01 levels.
That is, if the null hypothesis is rejected, the probability of a
type I error will be 10%, 5%, or 1%, depending on which level
of significance is used.
Here is another way of putting it: When α = 0.10, there is a
10% chance of rejecting a true null hypothesis; when
α = 0.05, there is a 5% chance of rejecting a true null
hypothesis; and when α = 0.01, there is a 1% chance of
rejecting a true null hypothesis.
LEVEL OF SIGNIFICANCE
In a hypothesis test, the level of significance is your maximum
allowable probability of making a type I error. It is denoted by α.
That is P (type I error) = α.
Statisticians generally agree on using three arbitrary
significance levels: the 0.10, 0.05, and 0.01 levels.
That is, if the null hypothesis is rejected, the probability of a
type I error will be 10%, 5%, or 1%, depending on which level
of significance is used.
Here is another way of putting it: When α = 0.10, there is a
10% chance of rejecting a true null hypothesis; when
α = 0.05, there is a 5% chance of rejecting a true null
hypothesis; and when α = 0.01, there is a 1% chance of
rejecting a true null hypothesis.
P-VALUES
P-VALUES
P-VALUES
P-VALUES
P-VALUES
DEFINITION
If the alternative hypothesis Ha contains the less-than
inequality symbol (<), the hypothesis test is a left-tailed
test.
DEFINITION
If the alternative hypothesis Ha contains the less-than
inequality symbol (<), the hypothesis test is a left-tailed
test.
DEFINITION
If the alternative hypothesis Ha contains the less-than
inequality symbol (<), the hypothesis test is a left-tailed
test.
Cont
Cont
Cont
Example
The area corresponding to z = −2.98 is 0.0014.
Example
The area corresponding to z = −2.98 is 0.0014.
Because this test is a left-tailed test, the P-value is equal to
the area to the left of z = −2.98.
Example
The area corresponding to z = −2.98 is 0.0014.
Because this test is a left-tailed test, the P-value is equal to
the area to the left of z = −2.98.
So, P = 0.0014. Because the P-value is less than α = 0.01,
you should decide to reject the null hypothesis.
Example
The area corresponding to z = −2.98 is 0.0014.
Because this test is a left-tailed test, the P-value is equal to
the area to the left of z = −2.98.
So, P = 0.0014. Because the P-value is less than α = 0.01,
you should decide to reject the null hypothesis.
Find the critical values and rejection regions for a two-tailed test
with α = 0.05.
Example
Employees at a construction and mining company claim that the
mean salary of the company’s mechanical engineers is less than
that of one of its competitors, which is 68, 000. A random sample
of 30 of the companys mechanical engineers has a mean salary of
66, 900 with a standard deviation of 5500. At α = 0.05, test the
employees claim
Solution:
Example
Employees at a construction and mining company claim that the
mean salary of the company’s mechanical engineers is less than
that of one of its competitors, which is 68, 000. A random sample
of 30 of the companys mechanical engineers has a mean salary of
66, 900 with a standard deviation of 5500. At α = 0.05, test the
employees claim
Solution:
The claim is “the mean salary is less than 68, 000.” So, the
null and alternative hypotheses can be written as.
Example
Employees at a construction and mining company claim that the
mean salary of the company’s mechanical engineers is less than
that of one of its competitors, which is 68, 000. A random sample
of 30 of the companys mechanical engineers has a mean salary of
66, 900 with a standard deviation of 5500. At α = 0.05, test the
employees claim
Solution:
The claim is “the mean salary is less than 68, 000.” So, the
null and alternative hypotheses can be written as.
Cont
x−µ
z= √ , Because n ≥ 30, use the z-test.
σ/ n
66, 900 − 68, 000
z≈ √ , Because n ≥ 30, use σ ≈ s = 5500. Assume µ
5500/ 30
z ≈ −1.10.
Cont
The graph shows the location of the rejection region and the
standardized test statistic z. Because z is not in the rejection
region, you fail to reject the null hypothesis.
Cont
The graph shows the location of the rejection region and the
standardized test statistic z. Because z is not in the rejection
region, you fail to reject the null hypothesis.
Interpretation: There is not enough evidence at the 5%
level of significance to support the employees claim that the
mean salary is less than 68,000.
Cont
The graph shows the location of the rejection region and the
standardized test statistic z. Because z is not in the rejection
region, you fail to reject the null hypothesis.
Interpretation: There is not enough evidence at the 5%
level of significance to support the employees claim that the
mean salary is less than 68,000.
d.f = n − 1 = 20
t0 = −1.725.
d.f = n − 1 = 20
t0 = −1.725.
Table
Find the critical value t0 for a right-tailed test with α = 0.01 and
n = 17.
Find the critical values −t0 and t0 for a two-tailed test with
α = 0.10 and n = 26.
d.f = n − 1.
A used car dealer says that the mean price of a 2008 Honda CR-V
is at least $20, 500. You suspect this claim is incorrect and find
that a random sample of 14 similar vehicles has a mean price of
$19, 850 and a standard deviation of $1084. Is there enough
evidence to reject the dealers claim at α = 0.05? Assume the
population is normally distributed.
Solution: The claim is “the mean price is at least 20, 500. So, the
null and alternative hypotheses are
and
Ha : µ < $20, 500
Example
Example
The graph shows the location of the rejection region and the
standardized test statistic t. Because t is in the rejection region,
you should reject the null hypothesis.
Interpretation: There is enough evidence at the 5% level of
significance to reject the claim that the mean price of a 2008
Honda CR-V is at least $20, 500
Dr. Umer Saeed (NICE) Introduction 37 / 38
Hypothesis Testing for the Mean (Small Samples)