13
Lesson 12 - R Chapter 12 Review

Lesson 12 - R

  • Upload
    xuxa

  • View
    23

  • Download
    0

Embed Size (px)

DESCRIPTION

Lesson 12 - R. Chapter 12 Review. Objectives. Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review exercises Use the technology to compute required objectives. Key Concepts. - PowerPoint PPT Presentation

Citation preview

Page 1: Lesson 12 - R

Lesson 12 - R

Chapter 12 Review

Page 2: Lesson 12 - R

Objectives

• Summarize the chapter

• Define the vocabulary used

• Complete all objectives

• Successfully answer any of the review exercises

• Use the technology to compute required objectives

Page 3: Lesson 12 - R

Key Concepts

• Expected Counts in a Goodness of Fit Test:

Ei = μi = npi for i = 1, 2, …, k

• Chi-Square Test Statistic: (Oi – Ei)2

χ2 = Σ ------------ for i = 1, 2, …, k Ei

• Expected Frequencies in a Test for Independence:

(row total)(column total) Expected Frequency = ------------------------------------ table total

Page 4: Lesson 12 - R

Marginal Distributions

• Marginal Distributions are along the end of the rows or the columns of a contingency table

• Marginal Distributions effectively take out the other variable in the table

• Marginal Distributions help calculated Expected values for Independence test using (through use of Multiplication Law of Probability)

Page 5: Lesson 12 - R

Requirements

• Goodness-of-Fit Test:– all E(xi) ≥ 1

– no more than 20% of E(xi) < 5

• Independence– same as Goodness-of-Fit Test

• Homogeneity– same as Goodness-of-Fit Test

Page 6: Lesson 12 - R

Problem 1

Which probability distribution do we use when we want to test the counts of a categorical variable?

1) The normal distribution

2) The chi-square distribution

3) The t-distribution

4) The categorical distribution

Page 7: Lesson 12 - R

Problem 2

In the test of a categorical variable, to compare the observed value O to the expected value E, we use the quantity

1) O – E

2) E – O

3) E2 – O2

4) (E – O)2 / E

Page 8: Lesson 12 - R

Problem 3

A contingency table has what types of marginal distributions?

1) A row marginal distribution and a column marginal distribution

2) A marginal distribution for each combination of row and column value

3) One marginal distribution that summarizes the entire set of data

4) A different marginal distribution for each different relative frequency

Page 9: Lesson 12 - R

Problem 4

If a contingency table has variables “Gender” and “Color of Eyes”, then which of the following is a conditional distribution?

1) The number of males with blue eyes

2) The number of females who have either brown eyes or green eyes

3) The proportion of the population who are male

4) The proportion of females who have blue eyes

Page 10: Lesson 12 - R

Problem 5

In a contingency table where one variable is “Day of Week” and the other variable is “Rainy or Sunny”, a test for independence would test

1) Whether rainy days are independent of sunny days

2) Whether rainy or sunny days are independent of the day of the week

3) Whether Sundays are independent of Saturdays

4) Whether weekdays are independent of weekends

Page 11: Lesson 12 - R

Problem 6

For a study with row variable “Color of Car” and column variable “Gender”, if 18% of males have blue cars, then the null hypothesis for the test for homogeneity would assume that

1) 18% of males have white cars

2) 18% of males do not have blue cars

3) 18% of females do not have white cars

4) 18% of females have blue cars

Page 12: Lesson 12 - R

Summary and Homework

• Summary– We can use a chi-square test to analyze the

frequencies from categorical data– For the analysis of one categorical variable, we

can use the chi-square goodness-of-fit test– For the analysis of two categorical variables in a

contingency table, we can• Use the test for independence to analyze whether the

two variables are independent• Use the test for homogeneity to analyze whether the

proportions are equal

• Homework– pg 662 - 667: 1, 4, 5, 11, 12, 16

Page 13: Lesson 12 - R

Even Homework Answers

• 4: a) Reject H0; school crime has become more violent sum of chi-sq is 1448.31 (way out in the tail!)

• 12: a) FTR H0, not enough evidence to support the claim that martial status and gender are independent p=value = 0.1811596, Chi-Sq Test = 4.8753

• 16: a) Mohr in both positions b) Erstad c) Mohr’s more at-bats with runners in scoring position dragged his overall average down more than Erstads.