Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Announcement BUSINESS
Final exam: Saturday May 02 between 9:30am - 11:30am in
the DH220.
Final exam syllabus:
Chapters 1 (except 1.7), 2, 3 (except 3.4), 4 (except 4.5),
5, 6 (except 6.4), 7 (except 7.5 & 7.6), 8 (except 8.5), 9,
10, 11(only 11.1, 11.2, and 11.3), 14(only 14.1)
There are 30 True/False and 5 numerical questions.
The exam duration is two hours.
You need your laptop with R software installed.
Open books, notes, and laptop but no internet or any form of
communication.
UIC
Final Preparation BUSINESS
Use the slides as your main reference to understand concepts
and the textbook for clarifications and additional explanation
Resolve in-class exercises, assignments
Be familiar with R
UIC
BUSINESS
Topic 3:
Inference for Two-Way Tables
Chi-Square Test
(Additional reading: Chapter 6.4 in text book)
UIC
Chi-Square as a statistical test BUSINESS
Chi-square test: an inferential statistics technique designed to
test for significant relationships between two variables
organized in a bivariate table.
The chisquare test can be used to evaluate a relationship
between two categorical variables.
It is one example of a nonparametric test.
Chi-square requires no assumptions about the shape of the
population distribution from which a sample is drawn.
However, like all inferential techniques it assumes random
sampling.
UIC
Example BUSINESS
Suppose that 125 children are shown three television commercials
for breakfast cereal and are asked to pick which they liked best.
The results are shown in the table below.
A B C Total
Levels of Boys 30 29 16 75
variable 1 Girls 12 33 5 50
Levels of
Total 42 62 21 125 variable 2
Commercial Preference for Boys and Girls
A B C Total
Total 42 62 21 125
2
30 25.2 2 29 37.2 2 16 12.6 2
= + +
25.2 37.2 12.6
2 2
12 16.8 33 24.8 5 8.4 2
+ + +
16.8 24.8 8.4
= 9.098
UIC
Example contd BUSINESS
The larger 2 , the more likely that the variables are related;
note that the cells that contribute the most to the resulting
statistic are those in which the expected count is very different
from the actual count.
( )
=
UIC
Chi-Square BUSINESS
The test statistic that summarizes the differences between the
observed () and the expected () frequencies in a bivariate
table.
2
2
=
Review
(Example of ANOVA, Chi-Squares and Comparing two
Proportions)
UIC
Example 1 BUSINESS
Northern States Marketing Research has been asked to determine
if an advertising campaign for a new cell phone is increased
customer recognition of the new World A phone. A random
sample of 270 residents of a major city were asked if they knew
about the World A phone before the advertising campaign. In this
survey 50 respondents had heard of World A. After the
advertising campaign a second random sample of 203 residents
were asked exactly the same question using the same protocol. In
this case, 81 respondents had heard of the World A phone. Do
these results provide evidence that customer recognition increased
after the advertising campaign?
UIC
Solution BUSINESS
Let 1 and 2 be the population proportions that recognized the
World A phone before and after the advertising campaign,
respectively. The null hypothesis
0 : 1 = 2
versus
: 1 < 2
The decision rule is to reject 0 in favor of 1 if
1 2
<
1 1
1 +
1 2
The data for this problem are as follows:
50 81
1 = 270, 1 = = 0.185, 2 = 203, 2 = = 0.399
270 203
UIC
Solution contd BUSINESS
The estimate of the common variance under the null hypothesis is
as follows
1 1 + 2 2 270 0.185 + (203)(0.399)
= = = 0.277
1 + 2 270 + 203
The test statistic is as follows:
1 2 0.185 0.399
=
1 1 1 1
1 + 0.277 1 0.277 +
1 2 270 203
= 5.15
For a one-tailed test with = 0.05, the value is -1.645. Thus,
we reject the null-hypothesis and conclude that customer
recognition did increase after the advertising campaign.
UIC
Example 2 BUSINESS
When marketers position or establish new brands, they aim to
differentiate their product from its competition. To investigate the
consumers perception, consumers are exposed to different products and
asked what comes to their mind when they see or hear of this product.
For example, suppose a study was conducted to determine whether
Safety or Sporty comes to a persons mind when they see or hear of
a particular type of automobile: BMW, Mercedes, or Lexus. Associations
and products can be organized in a cross table below. We want to
know whether the products mentioned differ in their associations and
are, thus, perceived as dissimilar.
Automobile SPORTY SAFETY TOTAL
BMW 256 74 330
Mercedes 41 42 83
Lexus 66 34 100
Total 363 150 513
UIC
Solution BUSINESS
The null hypothesis to be tested implies that, in the population, the
three types of automobiles are perceived as similar; that is no
association between automobile type and costumers perception
of the car as being known for being sporty or being known for its
safety.
To do the test, we first calculate the expected values.
Solution: 5
UIC
Example 4 BUSINESS
While conducting a one-way ANOVA comparing five treatments
with 10 observations per treatment, you compute SSG = 42.41
and MSE = 6.34. What is the value of F?
A) 42.41
B) 1.67
C) 6.34
D) 6.69
E) 0.74
Solution: B
UIC
Example 5 BUSINESS
When comparing three treatments in a one-way ANOVA, the null
hypothesis would be; that is, all three treatments have the same
effect on the mean response. In words, how would you interpret
the alternative hypothesis Ha?
A) At least two treatments are different from each other in terms
of their effect on the mean response.
B) All three treatments have different effects on the mean
response.
C) Exactly two of the three treatments have the same effect on
the mean response.
D) All of the above
Solution: A
UIC
Example 6 BUSINESS
It is desired to test 0 = 45 against < 45 using =
0.10. The population in question is Normaly distributed with a
standard deviation of 15. A random sample of 49 will be drawn
from this population. If is really equal to 40, What is the power
of this test?
A) 0.1469
B) 0.8531
C) 0.3531
D) 0.6469
Solution: B