S2 - Q4l9statppt10
S2 - Q4l9statppt10
All:
Lord, we turn our life and will over to You
That we will cease to struggle alone
But instead allow You to lift us up
On eagle’s wings.
Leader:
Saint Michael, defender of the Church of God,
take us under your care and protection.
All:
This we humbly pray.
Amen
STATISTICS AND
PROBABILITY
COURSE OUTLINE
Lesson 1: RANDOM VARIABLES
Lesson 2: PROBABILITY MASS FUNCTION AND
HISTOGRAM
Lesson 3: MEAN AND VARIANCE OF A DISCRETE
RANDOM VARIABLE
Lesson 4: NORMAL DISTRIBUTION
Lesson 5: SAMPLING AND SAMPLING DISTRIBUTION
COURSE OUTLINE
Lesson 6: MEAN AND VARIANCE OF A SAMPLING
DISTRIBUTION
Lesson 7: CENTRAL LIMIT THEOREM
Lesson 8: ESTIMATION OF PARAMETERS
Lesson 9: THE T-DISTRIBUTION
Lesson 10: HYPOTHESIS TESTING
Lesson 11: CORRELATION
I. Objectives/Expected Outcomes/Competencies:
At the end of this lesson, you should be able to:
1. Illustrate the t-distribution
2. Constructs a t-distribution
3. Identify the regions under the t-distribution corresponding to different
t-values
4. Identify percentiles using the table
5. Illustrate null and alternative hypotheses, level of significance,
rejection region, and types of errors in hypothesis testing
6. Calculate the probabilities of committing a type I and type II error.
I. Objectives/Expected Outcomes/Competencies:
At the end of this lesson, you should be able to:
7. Identify the parameter to be tested given a real-life problem
8. Formulate the appropriate null and alternative hypotheses on a
population mean
9. Compute the test statistic and make decision by drawing conclusion
REVIEW
The sample mean estimates & approximates
population mean μ.
Standard error describes how much difference is
reasonable to expect between the sample mean and
population mean.
REVIEW
Use z-score statistic to quantify inferences about the
population.
=
Solution:
With 95% confidence interval, α = 0.05 and = 0.025.
The df is 24. Thus, locating the intersection of 24 df
and alpha 0.025, = 2.064
EXAMPLE 2
Find the variance of the t-distribution with 20 degrees
of freedom.
Solution:
The df is 20. The variance of a t-distribution is = =
1.11
PRACTICE 2
1. Find the value of for a 99% confidence interval
when the sample size is 30.
One-tailed Two-tailed
1. Ha: μo < μ (left-tailed) or Ho: μo = μ
Ha: μo > μ (right-tailed) Ha: μo ≠ μ
2. Ho: μo ≥ μ
Ha: μo < μ (left-tailed)
3. Ho: μo ≤ μ
Ha: μo > μ (right-tailed)
LLL – SENIOR HIGH SCHOOL
DIRECTIONAL VS
NONDIRECTIONAL TEST
Solution:
Step 1: State the null and alternative hypotheses.
In this example, these are already given, and we
test Ho: μ = 250 against Ha: μ 250.
Step 2: Level of Significance: α = 0.05 (This represents
the probability of “rejecting” a true null hypothesis.
LLL – SENIOR HIGH SCHOOL
DIRECTIONAL VS
NONDIRECTIONAL TEST
Solution:
Step 3: Compute for the test statistic: Since the
population is normally distributed and is known, we
use “z-score statistic” test.𝐳 ≈𝟏 . 𝟑𝟑
Step 3.1 Determine the critical value. Since Ha
contains the symbol , we have a two-tailed test. This
means that half of 0.05, or 0.025, is placed in each tail.
LLL – SENIOR HIGH SCHOOL
DIRECTIONAL VS
NONDIRECTIONAL TEST
Solution:
Rejection Rejection
Region Region
α α
=𝟎 . 𝟎𝟐𝟓 =𝟎 . 𝟎𝟐𝟓
2 2
-1.96 1.96
Accept Ho Reject Ho
Ho is true. Correct Type I error
decision
Ho. is false. Type II error Correct
decision
PROBABILITY OF COMMITTING
LLL – SENIOR HIGH SCHOOL TYPE I AND II ERRORS AND
POWER OF A TEST
Example:
Suppose it is known that the population has a standard
deviation of 8 and a sample with size 36 was randomly
selected. If you decide to reject the null hypothesis
when the sample mean is 17 or greater, calculate the
probability of committing a Type I error if the population
mean is 15.
PROBABILITY OF COMMITTING
LLL – SENIOR HIGH SCHOOL TYPE I AND II ERRORS AND
POWER OF A TEST
SOLUTION:
The test is directional and is right-tailed. You will
commit a type I error if the observed sample falls within
the rejection region, that is if 𝑥 > 17.
PROBABILITY OF COMMITTING
LLL – SENIOR HIGH SCHOOL TYPE I AND II ERRORS AND
POWER OF A TEST
SOLUTION:
17
PROBABILITY OF COMMITTING
LLL – SENIOR HIGH SCHOOL TYPE I AND II ERRORS AND
POWER OF A TEST
Example 2:
Referring to the previous example, if it is known to you
that the mean is 18, what is the probability of
committing a Type II error?
PROBABILITY OF COMMITTING
LLL – SENIOR HIGH SCHOOL TYPE I AND II ERRORS AND
POWER OF A TEST
SOLUTION:
Example 3:
It has been shown over many times that women
consume less than 2,000 calories per day. But from
your experiment set at α = 0.10, a p-value of 0.05 was
computed and thus, you did not reject the null
hypothesis. You concluded that women consume
2,000 calories per day or greater. What type of
decision error did you commit?
PROBABILITY OF COMMITTING
LLL – SENIOR HIGH SCHOOL TYPE I AND II ERRORS AND
POWER OF A TEST
Solution:
Type II error. The null hypothesis that women consume
2000 calories per day or greater is false but you accept
it or did not reject it.
PROBABILITY OF COMMITTING
LLL – SENIOR HIGH SCHOOL TYPE I AND II ERRORS AND
POWER OF A TEST
Example 4:
You are testing a hypothesis at α = 0.01. What is the
probability of committing a Type I error?
Solution:
The probability of committing a Type I error is 1%.
PROBABILITY OF COMMITTING
LLL – SENIOR HIGH SCHOOL TYPE I AND II ERRORS AND
POWER OF A TEST
Example 5:
A certain population has a standard deviation of 12 and
an unknown mean. You are testing the hypothesis that
the population mean is 56 so you selected a sample
with size 49. If you decided to reject the null
hypothesis when the sample size mean is 60 or
greater, calculate the probability of committing a Type I
error.
PROBABILITY OF COMMITTING
LLL – SENIOR HIGH SCHOOL TYPE I AND II ERRORS AND
POWER OF A TEST
SOLUTION:
z = = = 4 x = = 2.33
> 56) = P (z > 2.33)
> 56) = 0.5 – 0.4901
> 56) = 0.0099
The probability of committing a type I error is 0.99%.
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS KNOWN
=
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS KNOWN
Rejection Rejection
Region Region
α α
=𝟎 . 𝟎𝟐𝟓 =𝟎 . 𝟎𝟐𝟓
2 2
400
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS KNOWN
Step 4: Make a decision / draw a conclusion.
Because the computed test statistic z = 2.72 falls within the
rejection region (beyond the critical values ±1.96), REJECT
the null hypothesis and accept the alternative hypothesis.
Therefore, CONCLUDE that the average daily take home pay
of jeepney drivers is not equal to P400.00. This result is
considered to be significant at α = 0.05 level.
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS KNOWN
Rejection
Region
α =𝟎 . 𝟎𝟏
89
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS KNOWN
Step 4: Make a decision / draw a conclusion.
Because the computed test statistic z = -1.94 does not fall
within the rejection region (beyond the critical values -2.33),
DO NOT REJECT the null hypothesis. Therefore, CONCLUDE
that the mean score of the students in the first periodic math
examination is equal or NOT less than 89. This result is
considered to be significant at α = 0.01 level.
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS UNKNOWN
163
167
159
165
162
164
163
160
169
174
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS UNKNOWN
165
159 SAMPLE MEAN
163
𝑥=
∑ 𝑥
163
𝑛
163
177 3300
𝑥= =𝟏𝟔𝟓
169
163
20
165
167
= 3300
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS UNKNOWN
= 3300
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS UNKNOWN
= 3300
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS UNKNOWN
165 0 0
159 -6 36 SAMPLE MEAN
163 -2 4
𝑥=
∑ 𝑥
163 -2 4
𝑛
163 -2 4
177 12 144 3300
𝑥= =𝟏𝟔𝟓
169
163
4
-2
16
4
20
165 0 0
167 2 4
= 3300 = 396
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS UNKNOWN
165 0 0
159 -6 36 SAMPLE VARIANCE
163
163
-2
-2
4
4
2
𝑠 =
∑ ( 𝑥 − 𝑥) 2
163 -2 4
𝑛 −1
177 12 144 2 396
𝑠 = =20.84
169 4 16 20 − 1
163 -2 4
165 0 0
167 2 4
= 3300 = 396
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS UNKNOWN
165 0 0
159 -6 36 SAMPLE VARIANCE
163
163
-2
-2
4
4
2
𝑠 =
∑ ( 𝑥 − 𝑥) 2
163 -2 4
𝑛 −1
177 12 144 2 396
𝑠 = =20.84
169 4 16 20 − 1
163 -2 4
165 0 0 SAMPLE S.D.
167 2 4 𝑠=√ 20.84
= 3300 = 396
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS UNKNOWN
165 0 0
159 -6 36 SAMPLE VARIANCE
163
163
-2
-2
4
4
2
𝑠 =
∑ ( 𝑥 − 𝑥) 2
163 -2 4
𝑛 −1
177 12 144 2 396
𝑠 = =20.84
169 4 16 20 − 1
163 -2 4
165 0 0 SAMPLE S.D.
167 2 4
= 3300 = 396
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS UNKNOWN
Rejection Rejection
Region Region
α α
=𝟎 . 𝟎𝟐𝟓 =𝟎 . 𝟎𝟐𝟓
2 2
163
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS UNKNOWN
Step 4: Make a decision / draw a conclusion.
Because the computed test statistic t = 1.96 does not fall
within the rejection region, DO NOT REJECT the null
hypothesis. Therefore, CONCLUDE that there is no sufficient
evidence to indicate that the average heights of Filipino males
is different from 163 cm.
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS UNKNOWN
Example 4: It was announced over the radio that the average
price of a kilogram of pork liempo in Metro Manila is P195.
However, a sample of 15 prices randomly collected from
different markets in Metro Manila showed an average of P200
and a standard deviation of P9.50. Using a 0.05 level of
significance, is there sufficient evidence to conclude that the
average price of pork liempo in Metro Manila is more than
P195.00? Assume normality over the population.
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS UNKNOWN
Rejection
Region
α =𝟎 . 𝟎𝟓
195
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS UNKNOWN
Step 4: Make a decision / draw a conclusion.
Because the computed test statistic t = 2.04 falls within the
rejection region, REJECT the null hypothesis. Therefore,
CONCLUDE that there is sufficient evidence to conclude that
the average price of pork liempo in Metro Manila is more than
P195.00.
HYPOTHESIS TESTING ABOUT
LLL – SENIOR HIGH SCHOOL A POPULATION MEAN WHEN
THE VARIANCE IS UNKNOWN
Example 5: According to last year’s report, a Filipino
household spends an average of P400.00 per day for food.
Suppose you recently took random samples of 25 households.
You determined how much each household spent for food
each day and the results revealed a mean of P390.00 and a
standard deviation of P21.50. Using a 0.01 level of
significance, can it be concluded that the average amount
spent per year for food of a Filipino household has
decreased? Assume normality over the population.
STATISTICS AND PROBABILITY