Académique Documents
Professionnel Documents
Culture Documents
Chapter 13:
Nominal Variables: The
Chi-Square and Binomial
Distributions
2008 McGraw-Hill
Crosstab Tables
Cross-tabulation or crosstab tables
are designed to compare the
frequencies of two nominal/ordinal
variables at once
2008 McGraw-Hill
Male
28
79
107
Female
Total
10 38
44 123
54 161
2008 McGraw-Hill
2008 McGraw-Hill
Calculating Expected
Frequencies
In addition to the observed joint
frequencies, the chi-square test involves
calculating the expected frequency of each
table cell
The expected frequency of a cell is equal
to the column marginal total for the cell
(look down) times the row marginal total for
cell (look to the right) divided by the grand
total
2008 McGraw-Hill
2008 McGraw-Hill
2008 McGraw-Hill
2008 McGraw-Hill
Chi-Square as a Difference
of Proportions Test
The chi-square test is frequently used to
compare proportions of categories of a
nominal/ordinal variable for two or more
groups of a second nominal/ordinal
variable
Thus, it may be viewed as a difference
of proportions test as illustrated in
Figure 13-2 in the text
2008 McGraw-Hill
2008 McGraw-Hill
An Example of an
Expanded Binomial Equation
The equation reveals, for example, the
possible outcomes of the tossing of 4 coins
P = p [heads] = .5; Q = p [tails] = .5; n = 4
coins
(P + Q)4 = P4 + 4P3Q1 + 6P2Q2 + 4P1Q3 + Q4
Add the coefficients to get the total number of
possible outcomes = 16
The probability of 3 heads and 1 tails, is the
coefficient of P3Q1 over the sum of coefficients
= 4 over 16 = .25
2008 McGraw-Hill
Pascals Triangle
Pascals Triangle provides a shortcut
method for expanding the binomial
equation
It provides the coefficients for small
samples and allows a quick computation of
the probabilities of all possible outcomes
when P and Q are equal to .5
See Table 13-7 in the text
2008 McGraw-Hill
Features of the
Binomial Distribution Test
Step 1. H0: Pu = a target value
Step 2. The sampling distribution is
an expanded binomial equation for
the given sample size
2008 McGraw-Hill
Statistical Follies:
Statistical Power and Sample Size
For a given level of significance,
statistical power is a test statistics
probability of not incurring a Type II
error (i.e., unknowingly making the
incorrect decision of failing to reject a
false null hypothesis)
Low statistical power can result from
having too small a sample size
2008 McGraw-Hill