Lecture10

Lecture10 - Two-way tables - review ! Inference for Two-Way...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Inference for Two-Way Tables Analysis of Two-Way Tables PBS Chapter 9.1 © 2009 W.H. Freeman and Company Two-way tables - review ! An experiment has a two-way design if two categorical factors are studied with several levels of each factor. ! Two-way tables organize data about two categorical variables obtained from a two-way, or block design. ! Example : We call Education the row variable and Age group the column variable . " Each intersection of values for these two variables is called a cell . Marginal distributions (review) We can look at each categorical variable separately in a two-way table by studying the row and column totals. They represent the marginal distributions , expressed in counts or percentages (written in margin). 2000 U.S. census Conditional distributions (review) # The 25 to 34 age group occupies the first column. To find the complete distribution of education in this age group, look only at that column. Compute each count as a percent of the column total. # These percents should add up to 100% because all persons in this age group fall in one of the education categories. These four percents together are the conditional distribution of education, given the 25 to 34 age group. 2000 U.S. census
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The percents within the table represent the conditional distributions . Comparing the conditional distributions allows you to describe the “relationship” between both categorical variables. We can also compute each count as a percent of the column total. These percents should add up to 100% and together are the conditional distribution. (Here the percents are calculated by age range (columns)). Conditional distributions (review) 29.30% = 11071 37785 = cell total . column total Hypothesis: no association " The question of interest is whether there is a relation between the row variable and the column variable " We want to know if the differences in sample proportions are likely to have occurred just by chance, because of the random sampling. " We use the chi-square ( ! 2 ) test to assess the null hypothesis of no relationship between the two categorical variables of a two-way table. Specific Hypotheses " The hypotheses for the chi-square ( ! 2 ) test are… H 0 : There is no association between the row and column variables H a : There is an association between the row and column variables " These hypotheses are neither one or two tailed " For an r x c two way table, in general " H 0 means that the c distributions of the row variable are identical " H a means that the distributions are not the same " The question being posed is “Are the observed cell counts different from the defined expected counts?” Expected counts in two-way tables " Two-way tables sort the data according to two categorical variables. We want to test the hypothesis that there is no relationship between
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/16/2010 for the course STAT 212 taught by Professor Holt during the Fall '08 term at UVA.

Page1 / 12

Lecture10 - Two-way tables - review ! Inference for Two-Way...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online