Grade 9 - Advance Statistics 2ND Quarter
Grade 9 - Advance Statistics 2ND Quarter
Grade 9 - Advance Statistics 2ND Quarter
I. Hypothesis Testing
Hypothesis Testing
> a decision-making process for evaluating claims about population
> testing an assumption that we can make about a population
Hypothesis
> an assumption or conjecture about a population parameter which may or may not be true
> an assertion or tentative theory which aims to explain facts about the real world
> Greater than, above, higher than, longer than, bigger than, increased, at least
< Less than, below, lower than, smaller than, shorter than, decreased or reduced
from, at most
II. Types of Error
Parameter
> any numerical quantity that characterizes a given population or some of its aspects
> denotes the true value
Statistic
> the numerical measure that is calculated from the sample
> known number and a variable that depends on the portion of the population
mean x̄ μ
variance s² σ²
Standard deviation s σ
proportion p̂ p
Types of Error:
Decision Actual condition
Ho is true Ho is false
Type I error
> rejecting the null hypothesis when it is true
> probability denoted by alpha (α)
> known as false positive
> tends to assert something that is not really present, a false hit
alpha region
> the normal curve that shows the critical region
Type II error
> accepting the null hypothesis when it is false
> probability denoted by beta (β)
> known as false negative
> fails in identifying something that is present, a miss
beta region
> the normal curve that shows the acceptance region
Note!
• the larger the value of alpha, the smaller the value of beta
Correct decision
> when the null is false and you reject it
> when the null is correct and you accept it
Examples:
1. Maria insists that she is 30 years old when, in fact she is 32 years old. What errors is Maria
committing?
– Type I error
2. A man plans to go hunting the Philippine monkey - eating eagle believing that it is a proof of
his mettle. What type of error is this?
– Type II error
3. Stephen says that he is not bald. His hairline is just receding. Is he committing an error? If
yes, what type of error?
– Type I error
Type I error:
We conclude that the mean number of years a teacher work before retiring is not 30 years,
when it really is 30 years.
Type II error:
We conclude that the mean number of years a teacher work before retiring is 30 years, when in
fact it really is not 30 years.
III. Level of Significance and Type of Test
Significance
> defined as the quality of being statistically significant
Examples:
1) Maria uses 5% level of significance in proving that there is no significant change in the
average number of enrollees in the 10 sections for the last two years. It means that the chance
that the null hypothesis (Ho) would be rejected when it is true is 5%.
– α = 0.05 is the area
2) In 2015, it was recorded that around 34% of the population in 2015 were not married. A
researcher surveyed a random sample of 500 couples. He found out that 18% of them were
living together but unmarried. Test at 5% significance level if the current percentage of
unmarried couples is different from 34%.
– α/2 = 0.025
3) An average construction worker hourly rate pay in the Philippines is Php 62.50 with a
standard deviation of Php 6.01. A random sample of 20 manufacturing workers were asked on
their hourly rate and found out that they had an average of Php 50 hourly rate pay with a
standard deviation of Php 5.00. Construct a 90% confidence interval that the average hourly
rate for construction workers is higher than the average hourly rate for manufacturing workers
– α = 0.10
4) A chemist invented an additive to increase the lifespan of rechargeable battery. The said
additive will extend on average the battery’s lifespan to 48 months. Test the hypothesis at 0.01
level of significance that the average lifespan is higher than 48 months.
– α = 0.01
5.) The average number of years to finish basic education is 14. A sample of 30 senior high
school students were asked and found out that the mean number of years to finish their basic
education is 12 with a standard deviation of 2 years. Test the hypothesis at 93% confidence
interval that the average number of years to finish basic education is less than 14 years.
– α = 0.07
Z-TEST (σ is given) T-TEST(σ is not given)
The average number of years to finish basic In 2015, it was recorded that around 34%
education is 14. A sample of 30 senior high school of the population in 2015 were not married.
students were asked and found out that the mean A researcher surveyed a random sample of
number of years to finish their basic education is 500 couples. He found out that 18% of
12 with a standard deviation of 2 years. Test the them were living together but unmarried.
hypothesis at 93% confidence interval that the Test at 5% significance level if the current
average number of years to finish basic education percentage of unmarried couples is
is less than 14 years. different from 34%.
Examples:
1. The school registrar believes that the average number of enrollees this school year is not the
same as the previous school year.
Let μo be the average number of enrollees last year.
Ho: μ = μo
Ha: μ ≠ μo If Ha uses ≠, use a two-tailed test.
However, if the school registrar believes that the average number of enrollees this year is less
than the previous school year, then you will have:
Ho: μ = μo
Ha: μ < μo If Ha uses <, use the left-tailed test.
On the other hand, if the school registrar believes that the average number of enrollees this
school year is greater than the previous school year, then you will have:
Ho: μ = μo
Ha: μ > μo If Ha uses >, use the right-tailed test.
IV. Decisions (p-value)
alpha value
> significance level chosen by the researcher to determine the threshold for rejecting the Ho
p-value
> probability of obtaining results as extreme as the observed results, assuming the Ho is true
> how likely you are to get the sample statistics if the null hypothesis were actually true
Note!
• reject Ho if p-value ≤ αlpha
• fail to reject Ho if p-value > αlpha
Examples:
1) Make a decision using the p-value 0.0752
a) α = 10% b) α = 0.05
p-value = 0.0752 < α = 0.10 p-value = 0.0752 > α = 0.05
– Fail to Reject Ho – Reject Ho
2) A random sample of 25 observations from a normal population has a mean of 22. Assuming
the population standard deviation is known to be 4.9.
Can we conclude at α = 0.01 that the population mean note!
is significantly below 24? σ – population standard deviation
n = 25 x̄ = 22 σ = 4.9 α = 0.01 n – sample size
x̄ – sample mean
μ – population mean
Ho: μ ≥ 24
Ha: µ < 24 (Left-tailed Test)
z = x̄ - μ Test Statistic
σ = 22 −24 = –2 = -2.04
√n 4.9/√25 0.98 Since p-value > α = 0.01 there is not enough
– fail to reject Ho evidence that μ < 24
3) A random sample of 25 observations from a normal population has a mean of 22. Assuming
the population standard deviation is known to be 4.9. Can we conclude at α = 0.05 that the
population mean differs from 24?
n = 25 x̄ = 22 σ = 4.9 α = 0.05
Ho: μ = 24
Ha: μ ≠ 24 (Two-tailed Test)
Significance Level
> probability of committing a type 1 error
Levels of Significance:
▪ If p ≤ 0.05 ; the difference is said to be significantly at the 0.05 or 5%, or less level
▪ If p ≤ 0.01 ; the difference is said to be significantly at the 0.01 or 1%, or less level
▪ If p ≤ 0.001 ; the difference is said to be highly significant
Two-tailed Test
Decision rule: Reject Ho if the test statistic is greater than the upper critical value or less than
the lower critical value
Test statistic
> random variable that is calculated from sample data and used in hypothesis test
Z - Test
> the population standard deviation (σ) is known
> population is normally distributed
> z-score is calculated with population parameters
> used to validate a hypothesis that the sample drawn belongs to the same population
> the sample size is large (n ≥ 30)
T - Test
> used when the population variance or standard deviation (σ) are not known
> population is normal or nearly normally distributed
Critical Value
> a point (boundary) on the test distribution that is compared to the test statistic to determine if
the null hypothesis would be rejected
Examples:
Determine the critical value and illustrate the rejection region under the normal curve by using
the given information.
1) Ha: p ≠ 0.52
α = 0.05
Critical Value: ±1.960
α = 0.05
Ha: p < 0.22
Critical Value: -1.645
5) In Kalinga Special Education School, a sample of 144 students was chosen and among
them, 48 are diagnosed with Attention Deficit Hyperactivity Disorder (ADHD). At a = 0.01, test
the hypothesis that the proportion of ADHD students in the school is not 0.40.
α = 0.01
Ha: p ≠ 0.40
Critical Value: ± 2.575
Formulas:
Test statistics
x̄ = sample mean
s = sample standard deviation
μ = assumed mean
n = sample size