Hierarchy of management that covers different levels of management
ย
Hypothesis Testing Examples ANOVA Z-Tests
1. Hypothesis Testing
Z-test โ used when the population standard deviation
is given.
๐ง = ๐ฅโ๐
๐
โ ๐
x โ actual mean (computed mean)
๐ โ hypothesized mean
๐ โ population standard deviation
n โ population size
(z test using one sample mean)
2. Hypothesis Testing
Example:
A random sample of 100 recorded deaths in
the Philippines during the past years showed an
average life span of 71.8 years, with a population
standard deviation of 8.9 years. Does this seem to
conclude that the average life span is greater than
70 years? Test the hypothesis using 0.05 level of
significance.
3. Hypothesis Testing
Example:
Suppose we want to test whether or not the
girls, on average, score higher than 600 on SAT
verbal section. If the sample mean of 20 girls on
SAT verbal section is 641 with population standard
deviation of 100. Test the hypothesis using 0.05
level of significance.
4. Hypothesis Testing
Example:
Suppose it is known from experience that the
standard deviation of the weight of 10 ounce
packages of cookies is 0.20 ounces. To check
whether the true average is 10 ounces on a given
day, employees select a random sample of 36
packages and find that their mean weight is 9.45
ounces. Perform two-tailed z-test using ฮฑ = 0.01
level of significance.
5. Hypothesis Testing
Example:
According to the website
philbasiceducation.com, the Philippine high
schoolโs mean percentage score (MPS) in National
Achievement test for mathematics is 46.37% for the
school year 2011-2012 with standard deviation of
10.3%. Aware of this figure, the principal of Isulan
National High School prepared a new mathematics
program for the school year 2012-2013, for grade
10 students to cater improvement in mathematics
education.
6. Hypothesis Testing
Example:
To validate the principalโs claim that her
program will substantially improve mathematics
teaching, she selected 80 students at random from
grade 10 consisting of 10 sections. The students
undergone the said mathematics program for the
whole year. Now, after the 2012-2013 NAT results,
it was known that the MPS of these 80 students is
50.1%. Based on the data, can the principal
conclude at 0.05 level of significance that the new
program improves the mathematics proficiency of
grade 10 students in INHS?
7. Hypothesis Testing
Z test using two sample means
๐ =
๐๐ โ ๐๐
(๐๐)๐
๐๐
+
(๐๐)๐
๐๐
๐๐-sample mean for group 1
๐๐- sample mean for group 2
(๐๐)๐
- sample variance for group 1
(๐๐)๐
- sample variance for group 2
๐๐ - sample size for group 1
๐๐ - sample size for group 2
8. Hypothesis Testing
Example:
A bank is opening a new branch in one of two
town neighborhoods. One of the factors considered
by the bank is whether the average monthly income
(in thousand pesos) in the two neighborhoods
differ. From census records, the bank drew two
random samples of 100 families each and obtained
the following information:
9. Hypothesis Testing
Example:
Neighborhoods
The bank wishes to test the null hypothesis that the
two neighborhoods have equal mean income. What
should the bank conclude? Test the hypothesis using a
= 0.05.
Sample A Sample B
๐๐ = ๐๐, ๐๐๐ ๐๐ = ๐๐, ๐๐๐
๐๐ = ๐๐๐ ๐๐ = ๐๐๐
๐๐ = ๐๐๐ ๐๐ = ๐๐๐
10. Hypothesis Testing
Example:
The average lifetime of 125 Brand X Alkaline
AA batteries and 130 Brand Y Alkaline AA
batteries were found to be 9.5 hours and 9.2 hours
respectively. Suppose the population standard
deviations of lifetimes are 1.2 hours for brand X
and 1.8 hours for brand Y batteries, test the
hypothesis using 0.05 level of significance.
11. Hypothesis Testing
F-test Analysis of Variance (ANOVA) for one-
way classification or one-way ANOVA
-The one-way analysis of variance is used to test
the claim that three or more population means
are equal.
-This is an extension of the two independent
samples t-test
-The one-way is because each value is classified
in exactly one way
Examples include comparisons by gender, race,
political party, color, etc.
12. Hypothesis Testing
The null hypothesis is that the means are all
equal
The alternative hypothesis is that at least one of
the means is different
Think about the Sesame Streetยฎ game where
three of these things are kind of the same,
but one of these things is not like the other.
They donโt all have to be different, just one of
them.
13. Hypothesis Testing
The ANOVA doesnโt test that one mean is less
than another, only whether theyโre all equal or at
least one is different.
14. Hypothesis Testing
๐๐๐ = ๐ โ 1 Where: N = number of samples
๐๐๐ค = ๐ โ ๐ k= number of columns
๐๐๐ก = ๐ โ 1
15. Hypothesis Testing
Where:
SSB = ( ๐๐ด๐)2
๐๐ด๐
โ
(๐๐)2
๐
TSS = ๐๐
2
โ ( ๐๐)2
๐
SSW = TSS-SSB
N=sample size
X=observed value
n = number of rows
A=given factor or category
i = individual observation of cell
16. Hypothesis Testing
Determining Which Mean(s) Is/Are Different
If you fail to reject the null hypothesis in an ANOVA
then you are done. You know, with some level of
confidence, that the treatment means are statistically
equal. However, if you reject the null then you must
conduct a separate test to determine which mean(s)
is/are different.
There are several techniques for testing the
differences between means, but the most common
test is the Least Significant Difference Test.
17. Hypothesis Testing
LSD (for balanced sample) =
๐ร๐ด๐บ๐ฌร๐ญ๐,๐ตโ๐
๐
Where:
MSE is mean square error and r is the
number of rows in each treatment.
Thus, if the absolute value of the difference between
any two treatment means is greater than LSD, we may
conclude that they are not statistically equal.
18. Hypothesis Testing
Example:
The statistics classroom is divided into three
rows: front, middle, and back. The instructor
noticed that the further the students were from
him, the more likely they were to miss class or
use an instant messenger during class. He
wanted to see if the students further away did
worse on the exams.
19. Hypothesis Testing
Example:
A random sample of the students in each row was
taken. The score for those students on the
second exam was recorded. Test using a=0.05.
Front Middle Back
82 83 38
83 78 59
97 68 55
93 61 66
55 77 45
67 54 52
53 69 52
20. Hypothesis Testing
Example:
Suppose the National Transportation Safety Board (NTSB)
wants to examine the safety of compact cars, midsize cars,
and full-size cars. It collects a sample of three for each of the
treatments (cars types). Using the hypothetical data provided
below, test whether the mean pressure applied to the driverโs
head during a crash test is equal for each types of car. Use ฮฑ =
5%.
Compact Midsize Full-size
643 469 484
655 427 456
702 525 402
21. Hypothesis Testing
Example:
A psychologist was interested in whether different
TV shows lead to a more positive outlook on life.
People were split into 4 groups and then taken to
a room to view a program. The four groups saw:
The Muppet show, Futurama, The News, and No
Program. After the program a blood sample was
taken and serotonin levels measured (remember
more serotonin more happy!)
23. Hypothesis Testing
Example:
Determine who among the three salesman will
most likely be promoted based on their monthly
sales in pesos? Use 5% level of significance.
A B C
12,000 15,500 12,889
10,000 12,500 16,000
10,900 12,000 15,000
18,000 13,000 12,700
16,000 14,000 15,000
14,400 15,888 13,000
14,000 12,300 12,000
15,500 15,000 16,000
18,800 19,000 16,000