CH 11
CH 11
Is it reasonable to conclude
there is no preference among
the four entrées?
Step 5: Take sample, make decision, do not reject H0, 2.200 is not greater than
7.815
Step 6: Interpret, the data do not suggest the preferences among the four
entrées are different.
7
Learning check
• Beta Inc. wants to know whether men and women are
being promoted at equal rates within the company. They
research the gender of all employees promoted within the
past year. Data is provided below:
Male Female
28 12
18
Learning check
φc = 6.4 =.4
40(2-1)
• Reject the null and accept the alternative. The chi-
squared is statistically significant. Men and women are
promoted at different rates. Cramer's V was 0.40. Men are
promoted more often than women. (.1 = small, .3 =
medium, .5= large)
20
Gum preference
Expected Chew With/Flavor Competitor #1 Competitor #2 Total
Total 10 14 9 33
• Contingency table demonstrating non-significant
goodness-of-fit tests and test of independence.
25
Step 6: Interpret, the sample data do not provide evidence that pay type and
satisfaction level with health care benefits are related.
28
Male Female
Flavor A 29 11
Flavor B 20 8
Flavor C 23 29
29
• (O - E)2 / E Values
Male Female
Flavor A 1.04 1.56
Flavor B 0.61 0.91
Flavor C 2.16 3.23
31
Learning check
• Beta Inc. wants to know whether the number of
employees calling out sick varies based on the shift
worked. The company tracks whether employees on
each shift call in sick for the three shifts. Data is
provided below:
Sick Not sick
Day 7 10
Evening 10 6
Night 13 14
33
Learning check
• RQ: Does whether an employee calls out sick differ by the
shift worked?
• Hypotheses:
• H0: Whether an employee calls out sick is independent of the shift
worked.
• H1: Whether an employee calls out sick is not independent of the
shift worked.
• α = .05
• χ2crit(2)= 5.991
34
Learning check
• Observed Values • Expected Values
Total 30 30 60 Total 30 30 60
• (O - E)2 / E Values
Learning check
Limitations of Chi-Square
• If there is an unusually small frequency in a cell, chi-
square might result in an erroneous conclusion
• A very small number in the denominator, can
make the quotient quite large
• For only two cells, the fe should be at least 5
• Goodness of fit: category – male female
• For more than two cells, chi-square should not be
used if more than 20% of the fe cells have an expected
frequency that is less than 5
관리자
수준 fO fe
사원 30 32 관리자
대리 110 113 수준 fO fe
과장 86 87 The issue can be resolved 사원 30 32
부장 23 24
by combining categories if 대리 110 113
it is logical to do so. In this
차장 5 2 과장 86 87
example, we combine the
부사장 5 4 three vice president 부장 23 24
사장 4 1 categories, which satisfies 부사장 14 7
합계 263 263
the 20% policy. 합계 263 263
1
Goodness-of-Fit Test
• A goodness-of-fit test can be used to determine whether a
sample of observations is from a normal population
1. Calculate the mean and standard deviation of the sample data
2. Group the data into a frequency distribution
3. Convert the class limits to z values and find the standard normal
probability distribution for each class
4. For each class, find the expected normally distributed frequency by
multiplying the standard normal probability distribution by the class
frequency
5. Calculate the chi-square goodness-of-fit statistic based on the observed
and expected class frequencies
6. Find the expected frequency in each cell by determining the product of the
probability of finding a value in each cell by the total number of
observations
7. If we use the information on the sample mean and the sample standard
deviation from the sample data, the degrees of freedom are k – 3
Goodness of fit test df: k-1, parameter 1개당 1df 소모, (k-1)-2
Hypothesis Test that a Distribution is Normal Example
We investigate whether the profit data of Applewood Auto Group follows the
normal distribution. mean profit = $1,843.17, standard deviation = $643.63.
Now, calculate z values to calculate the area of probability for each of the eight classes. This
multiplied by the total, 180, will represent the expected frequencies for each class.
x − xഥ $200−$1,843.17 x − xഥ $600−$1,843.17
z= = = -2.55 z= = = -1.93
s $643.63 s $643.63
P(x < $200) = P(z < -2.55) = .5000 - .4946 = .0054
P($200 < x < $600) = P(-2.55 < z < -1.93) = .0268 - .0054 = .0214
P(z < -1.93) – P (z < -2.55) = (0.5 – 0.4732) - .0054 = .0214
Hypothesis Test that a Distribution is Normal Example Continued
Now, combine the classes that have fe < 5.
Goodness-of-Fit Test
• H0: The population of clients follows a normal distribution.
• H1: The population of clients does not follow a normal distribution.
• 직원이 10명 이하인 50개의 기업을 임의로 추출. 평균 고객 수 = 44.8명,
표준편차 = 9.37명
• α = .05
• χ2crit(2)= 5.991 # of clients frequency
20-30 1
30-40 15
40-50 22
50-60 8
60-70 4
• We fail to reject the null hypothesis. This data could be from a normal
distribution.
• H0: The population of advertising expenses follows a normal distribution.
• H1: The population of advertising expenses does not follow a normal distribution.
• Advertising expenses data from 60 firms; mean = 52, sd = 11.32 (million dollars)
• α = .05
• χ2crit(2)= 5.991
Expenses frequency
25-35 5
35-45 10
45-55 21
55-65 16
65-75 8
• We fail to reject the null hypothesis. This data could be from a normal distribution.