tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · web...

29
Introduction, Opening Activity Course Expectations Activity: Hiring discrimination—it just won’t fly! An airline has just finished training 25 pilots—15 male and 10 female—to become captains. Unfortunately, only eight captain positions are available right now. Airline managers announce that they will use a lottery to determine which pilots will fill the available positions. The names of all 25 pilots will be written on identical slips of paper, placed in a hat, mixed thoroughly, and drawn out one at a time until all eight captains have been identified. A day later, managers announce the results of the lottery. Of the 8 captains chosen, 5 are female and 3 are male. Some of the male pilots who weren’t selected suspect that the lottery was not carried out fairly. Do these results provide convincing evidence of discrimination? 1

Upload: phungdieu

Post on 27-Feb-2018

218 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · Web viewIntroduction, Opening Activity . Course Expectations. Activity: Hiring discrimination—it

Introduction, Opening Activity

Course Expectations

Activity: Hiring discrimination—it just won’t fly!

An airline has just finished training 25 pilots—15 male and 10 female—to become captains. Unfortunately, only eight captain positions are available right now. Airline managers announce that they will use a lottery to determine which pilots will fill the available positions. The names of all 25 pilots will be written on identical slips of paper, placed in a hat, mixed thoroughly, and drawn out one at a time until all eight captains have been identified.

A day later, managers announce the results of the lottery. Of the 8 captains chosen, 5 are female and 3 are male. Some of the male pilots who weren’t selected suspect that the lottery was not carried out fairly. Do these results provide convincing evidence of discrimination?

1

Page 2: tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · Web viewIntroduction, Opening Activity . Course Expectations. Activity: Hiring discrimination—it

4.1 Sampling and Surveys

Activity: Sampling from The Federalist PapersThe Federalist Papers are a series of 85 essays supporting the ratification of the U.S. Constitution. At the time they were published, the identity of the authors was a secret known to just a few people. Over time, however, the authors were identified as Alexander Hamilton, James Madison, and John Jay. The authorship of 73 of the essays is fairly certain, leaving 12 in dispute. However, thanks in some part to statistical analysis1, most scholars now believe that the 12 disputed essays were written by Madison alone or in collaboration with Hamilton2.

There are several ways to use statistics to help determine the authorship of a disputed text. One example is to estimate the average word length in a disputed text and compare it to the average word lengths of works where the authorship is not in dispute.

Directions: The following passage is the opening paragraph of Federalist Paper #513, one of the disputed essays. The theme of this essay is the separation of powers between the three branches of government. Choose 5 words from this passage, count the number of letters in each of the words you selected and find the average word length. Share your estimate with the class and create a class dotplot.

To what expedient, then, shall we finally resort, for maintaining in practice the necessary partition of power among the several departments, as laid down in the Constitution? The only answer that can be given is, that as all these exterior provisions are found to be inadequate, the defect must be supplied, by so contriving the interior structure of the government as that its several constituent parts may, by their mutual relations, be the means of keeping each other in their proper places. Without presuming to undertake a full development of this important idea, I will hazard a few general observations, which may perhaps place it in a clearer light, and enable us to form a more correct judgment of the principles and structure of the government planned by the convention.

1 Frederick Mosteller and David L. Wallace. Inference and Disputed Authorship: The Federalist.Addison-Wesley, Reading, Mass., 1964.2 http://en.wikipedia.org/wiki/Federalist_papers 3 http://www.constitution.org/fed/federa51.htm

2

Page 3: tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · Web viewIntroduction, Opening Activity . Course Expectations. Activity: Hiring discrimination—it

Directions: Use a table of random digits or a random number generator to select a simple random sample (SRS) of 5 words from the opening passage to the Federalist Paper #51. Once you have chosen the words, count the number of letters in each of the words you selected and find the average word length. Share your estimate with the class and create a class dotplot. How does this dotplot compare to the first one? Can you think of any reasons why they might be different?

Number Word Number Word Number Word1 To 44 To 87 A2 What 45 Be 88 Full3 Expedient 46 Inadequate 89 Development4 Then 47 The 90 Of5 Shall 48 Defect 91 This6 We 49 Must 92 Important7 Finally 50 Be 93 Idea8 Resort 51 Supplied 94 I9 For 52 By 95 Will10 Maintaining 53 So 96 Hazard11 In 54 Contriving 97 A12 Practice 55 The 98 Few13 The 56 Interior 99 General14 Necessary 57 Structure 100 Observations15 Partition 58 Of 101 Which16 Of 59 The 102 May17 Power 60 Government 103 Perhaps18 Among 61 As 104 Place19 The 62 That 105 It20 Several 63 Its 106 In21 Departments 64 Several 107 A22 As 65 Constituent 108 Clearer23 Laid 66 Parts 109 Light24 Down 67 May 110 And25 In 68 By 111 Enable26 The 69 Their 112 Us27 Constitution 70 Mutual 113 To28 The 71 Relations 114 Form29 Only 72 Be 115 A30 Answer 73 The 116 More31 That 74 Means 117 Correct32 Can 75 Of 118 Judgment33 Be 76 Keeping 119 Of34 Given 77 Each 120 The35 Is 78 Other 121 Principles36 That 79 In 122 And37 As 80 Their 123 Structure38 All 81 Proper 124 Of39 These 82 Places 125 The40 Exterior 83 Without 126 Government41 Provisions 84 Presuming 127 Planned42 Are 85 To 128 By43 Found 86 Undertake 129 The

130 Convention

Discuss how statistics was used to identify JK Rowling as the author of The Cuckoo’s Calling. http://phenomena.nationalgeographic.com/2013/07/19/how-forensic-linguistics-outed-j-k-rowling-not-to-mention-james-madison-barack-obama-and-the-rest-of-us/

3

Page 4: tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · Web viewIntroduction, Opening Activity . Course Expectations. Activity: Hiring discrimination—it

Read 209–211

What’s the difference between a population and a sample? What is a census?

Read 211–213 (How to Sample Badly)

What’s the problem with convenience samples?

What is bias?

What’s a voluntary response sample? Is this a good method for obtaining a sample?

What is the purpose of the Check Your Understanding feature on page 213?

Alternate Example: To estimate the proportion of families that oppose budget cuts to the athletic department, the principal surveys families as they enter the football stadium on Friday night. Explain how this plan will result in bias and how the bias will affect the estimated proportion.

4

Page 5: tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · Web viewIntroduction, Opening Activity . Course Expectations. Activity: Hiring discrimination—it

4.1 Random Sampling Methods

Read 213–217

What’s a simple random sample (SRS)? How can you choose a SRS?

Alternate Example: Mall HoursThe management company of a local mall plans to survey a random sample of 3 stores to determine the hours they would like to stay open during the holiday season. Use Table D at line 101 to select an SRS of size 3 stores.

Aeropostale Forever 21 Old NavyAll American Burger GameStop Pac SunArby’s Gymboree Panda ExpressBarnes & Noble Haggar Payless ShoesCarter’s for Kids Just Sports Star JewelersDestination Tan Mrs. Fields Vitamin WorldFamous Footwear Nike Factory Store Zales Diamond Store

What’s the difference between sampling with replacement and sampling without replacement? How should you account for this difference when using a table of random digits or other random number generator?

What does it take to earn full-credit on examples like the one about Mall Hours?

5

Page 6: tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · Web viewIntroduction, Opening Activity . Course Expectations. Activity: Hiring discrimination—it

Suppose we wanted to estimate the yield of our corn field. The field is square and divided into 16 equally sized plots (4 rows x 4 columns). A river runs along the eastern edge of the field. We want to take a sample of 4 plots.

Using a random number generator, pick a simple random sample (SRS) of 4 plots. Place an X in the 4 plots that you choose.

river

Now, randomly choose one plot from each horizontal row. This is called a stratified random sample.

river

Finally, randomly choose one plot from each vertical column. This is also a stratified random sample.

river

Which method do you think will work the best? Explain.

6

1 2 3 4

5 6 7 8

9 10 11 12

13 14 15 16

1 2 3 4

1 2 3 4

1 2 3 4

1 2 3 4

1 1 1 1

2 2 2 2

3 3 3 3

4 4 4 4

Page 7: tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · Web viewIntroduction, Opening Activity . Course Expectations. Activity: Hiring discrimination—it

Now, it’s time for the harvest! The numbers below are the yield for each of the 16 plots. For each of your three samples above, calculate the average yield.

Graphing the results:

Simple Random Sample:

10 70 130average yield

Stratified by Row:

10 70 130average yield

Stratified by Column:

10 70 130average yield

Read 219–220

What is a stratified random sample? How is it different than a simple random sample?

When is it beneficial to use a stratified random sample? What is the benefit? How do you choose a variable to stratify by?

7

4 29 94 150

7 31 98 153

6 27 92 148

5 32 97 147

Page 8: tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · Web viewIntroduction, Opening Activity . Course Expectations. Activity: Hiring discrimination—it

4.1 More about Sampling

Read 221–222

What is a cluster sample? Why do we use a cluster sample? How is it different than a stratified sample? Are there any drawbacks?

Alternate Example: A Good ReadA school librarian wants to know the average number of pages in all the books in the library. The library has 20,000 books, arranged by type (fiction, biography, history, and so on) in shelves that hold about 50 books each. (a) Explain how to select a simple random sample of 500 books

(b) Explain how to select a stratified random sample of 500 books. Explain your choice of strata and one reason why this method might be chosen.

(c) Explain how to select a cluster sample of 500 books. Explain your choice of cluster and one reason why this method might be chosen.

(d) Discuss a potential drawback with each of the methods described above.

Read 223–225

What is inference?

8

Page 9: tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · Web viewIntroduction, Opening Activity . Course Expectations. Activity: Hiring discrimination—it

What is a margin of error?

What is the benefit of increasing the sample size?

Read 225–227

What is a sampling frame?

What is undercoverage and what problems might undercoverage cause?

What is nonresponse and what problems might nonresponse cause? How is it different than voluntary response?

What is response bias and what problems might response bias cause?

Article from Nate Silver: http://fivethirtyeight.com/features/is-the-polling-industry-in-stasis-or-in-crisis/

9

Page 10: tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · Web viewIntroduction, Opening Activity . Course Expectations. Activity: Hiring discrimination—it

4.2 Observational Studies and Experiments / Quiz

ADHD Linked to Lead and Mom’s Smoking, by Karen Barrow (February 1, 2007)

A mother’s smoking during pregnancy and exposure to lead significantly increases her child’s risk for developing attention deficit hyperactivity disorder (ADHD), say researchers. In fact, as many as one third of cases of ADHD in children are linked to exposure to tobacco smoke and lead before birth, giving moms yet another reason to quit smoking during pregnancy.

For the study, researchers from Cincinnati Children’s Hospital Medical Center surveyed over 4,700 children between the ages of 4 and 15 and their parents. Over 4 percent of the children included had ADHD. The researchers found that those children whose mother smoked during pregnancy were over twice as likely to develop ADHD than a child whose mother had not smoked.

Based on this study, should we conclude that smoking during pregnancy causes an increase in the likelihood that a child develops ADHD? Explain.

Explain the concept of confounding in the context of this study.

Is there any way to prove that smoking causes ADHD?

Read 234–236 Read word-for-word

What are some differences between an observational study and an experiment?

What’s the difference between an explanatory variable and a response variable?

Page 237: Check Your Understanding

10

Page 11: tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · Web viewIntroduction, Opening Activity . Course Expectations. Activity: Hiring discrimination—it

Designing ExperimentsRead 237–239

Briefly define the following terms: Treatment

Experimental units

Subjects

Factor

Level

Watch video on How to Buy Happiness for an example of a multi-factor experiment.

Caffeine ActivitySuppose we wanted to design an experiment to see if caffeine affects pulse rate.

Here is an initial plan: measure initial pulse rate give each student some caffeine wait for a specified time measure final pulse rate compare final and initial rates

What are some problems with this plan? What other variables are most likely to be sources of variability in pulse rates?

There are several steps we should take to solve these problems.

1. The first step is to include a ____________________________ that does not receive caffeine so we have something to compare to. Otherwise, any pulse-raising (or lowering) event that occurs during the experiment would be confounded with the caffeine. For example, an amazing stats lecture during the waiting period would certainly raise pulse rates, making it hard to know how much of the pulse increase was due to the caffeine.

2. The second step is to make sure that the two groups (caffeine and non-caffeine) are as similar as possible and are treated in exactly the same way, with the exception of the treatments. To make this happen, we use randomization, replication, and control.

2a. We _____________________ subjects to treatments to create groups that are roughly equivalent at the beginning of the experiment. Random assignment ensures that the effects of uncontrolled variables are balanced among the treatments groups. We must ALWAYS randomize since there will always be other variables we cannot control or that we do not consider. Randomizing guards against what we don’t know and prevents people from asking “But what about this variable?”

11

Page 12: tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · Web viewIntroduction, Opening Activity . Course Expectations. Activity: Hiring discrimination—it

How do we randomize? What is a completely randomized design?

2b. __________________ means ensuring that there are an adequate number of units in each treatment group so that the two groups are as equivalent as possible. Then, differences in the effects of the treatments can be distinguished from chance differences between the groups.

Note: Replication can also refer to repeating the experiment with different subjects. This can help us feel more confident applying the results of our experiment to a _________________ .

2c. ____________________ means holding other variables constant for each member of both treatment groups. This prevents these other variables from becoming confounded with caffeine and from adding additional variability to the distribution of the response variable.

Prevents confounding: For example, sugar is an important variable to consider because it may affect pulse rates. If one treatment group was given regular Coke (which has sugar) and the other treatment group was given caffeine free Diet Coke (which has no sugar), then sugar and caffeine would be confounded. If there was a difference in the average change in pulse rates of the two groups after receiving the treatments, we wouldn’t know which variable caused the change, and to what extent. To prevent sugar from becoming confounded with caffeine, we need to make sure that members of both treatment groups get the same amount of sugar.

Reduces variability: For example, the amount of soda consumed is important to consider because it may affect pulse rates. If we let subjects in both groups drink any amount of soda they want, the changes in pulse rates will be more variable than if we made sure each subject drank the same amount of soda. This will make it harder to identify the effect of the caffeine (i.e., our study will have less power). For example, the first set of dotplots show the results of a well-done experiment. The second set of dotplots show the results of an experiment where students were allowed to drink as much (or as little) soda as they pleased. The additional variability in pulse rate changes makes the evidence for caffeine less convincing.

Caffeine

No Caffeine

Change-6 -4 -2 0 2 4 6 8 10 12

Caffeine

No Caffeine

Change-6 -4 -2 0 2 4 6 8 10 12

It is also important that all subjects in both groups are _________ so that the expectations are the same for the subjects in both groups. Otherwise, members of the caffeine group might suffer from the ____________________. If the people measuring the response are also blind, the experiment is ____________________.

12

Page 13: tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · Web viewIntroduction, Opening Activity . Course Expectations. Activity: Hiring discrimination—it

Note: Not all experiments have a control group or use a placebo as long as there is comparison. For example, if you are testing a new drug, it is usually compared to the currently used drug, not a placebo. Also, you can do an experiment to compare four brands of paint without using a placebo.

SUMMARY: With randomization, replication, and control, each treatment group should be nearly identical, and the effects of other variables should be about the same in each group. Now, if changes in the explanatory variable are associated with changes in the response variable, we can attribute the changes to the explanatory variable or the chance variation in the random assignment.

Read 239–249 Focus on examples and highlighting concepts from caffeine experiment

Alternate Example: Multitasking Researchers in Canada performed an experiment with university students to examine the effects of in-class laptop use on student learning. All participants in the study were asked to attend a university style lecture and take notes with their laptops. Half of the participants were assigned to complete other non-lecture related online tasks during the lecture. These tasks were meant to imitate typical student Web browsing during classes. The remaining students simply took notes with their laptops. To assign the treatments, the researchers printed 40 papers with instructions (20 with multitasking and 20 without), shuffled them, and handed them out at random to students in the classroom. At the end of the lecture, all participants took a comprehension test to measure how much they learned from it. The results: students who were assigned to multitask did significantly worse (11%) than students who were not assigned to multitask. Explain how each of the priniciples of experimental design was used in this study.

Comparison, random assignment, replication, control

13

Page 14: tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · Web viewIntroduction, Opening Activity . Course Expectations. Activity: Hiring discrimination—it

4.2 The Caffeine Experiment

It’s time to do the caffeine experiment!

Based on the results of the experiment, what is the evidence that one of the drinks increases pulse rates more than the other?

What are the two explanations for this evidence?

How can we determine if the evidence is convincing? That is, how can we determine if the results of our experiment are statistically significant?

Read 249

The results of an experiment are called ______________________________ if they are unlikely to occur by random chance. That is, if it is unlikely that the results are due to the possible imbalances created the random assignment.

For example, if caffeine really has no effect on pulse rates, then the average change in pulse rate of the two groups should be exactly the same. However, because the results will vary depending on which subjects are assigned to which group, the average change in the two groups will probably differ slightly. Thus, whenever we do an experiment and find a difference between two groups, we need to determine if this difference could be attributed to the chance variation in random assignment or because there really is a difference in effect of the treatments.

14

Page 15: tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · Web viewIntroduction, Opening Activity . Course Expectations. Activity: Hiring discrimination—it

4.2 Blocking

Read 251–255 (do alternate example below first)

Alternate Example: SAT schoolsMany students enroll in prep courses to improve their SAT scores. Twenty students who have taken the SAT once volunteered to participate in an experiment comparing online and classroom prep courses.

1. Describe how we can use a completely randomized design to compare online and classroom SAT prep courses.

2. Among the 20 volunteers, 10 are in Precalculus, 6 are in Algebra 2, and 4 are in Geometry. What problem does this cause?

How can we address this problem?

3. Here are the results of the experiment, using math level as a blocking variable. Make dotplots to compare the improvements of the students in the online course and the improvements of students in the classroom course. Based on the dotplots, does there appear to be convincing evidence that the online course is better?

15

Class Treatment ImprovementP Online 100P Online 100P Online 90P Online 90P Online 100P Classroom 70P Classroom 70P Classroom 80P Classroom 80P Classroom 80A Online 50A Online 60A Online 40A Classroom 30A Classroom 40A Classroom 20G Online 30G Online 30G Classroom 0G Classroom 20

Page 16: tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · Web viewIntroduction, Opening Activity . Course Expectations. Activity: Hiring discrimination—it

4. The dotplots in #3 ignored the fact that we blocked by math level. Here is the dotplot again, using different symbols for students in each math level.

ClassAG

P

Classroom

Online0 20 40 60 80 100 120

Improvement

Notice that within each math level, the online students clearly did better. We couldn’t see this difference when we ignored the blocks. The average

improvement for students in Precalculus was = 86, the average improvement for students in Algebra 2

was = 40, and the average improvement for

students in Geometry was = 20. How can we use this information to account for the variability created by differences in class level?

Blocking in experiments is similar to stratification in sampling. Blocking accounts for a source of variability, just like stratifying. This means that blocking is a

good way to increase your chances of finding convincing evidence. Blocks should be chosen like strata: the units within the block should be similar, but different

than the units in the other blocks. You should only block when you expect that the blocking variable is associated with the response variable.

Blocks, like strata, are not formed at random!

What are some variables that we can block for in the caffeine experiment? In general, how can we determine which variables might be best for blocking?

16

Class Treatment Improvement

P Online 100P Online 100P Online 90P Online 90P Online 100P Classroom 70P Classroom 70P Classroom 80P Classroom 80P Classroom 80A Online 50A Online 60A Online 40A Classroom 30A Classroom 40A Classroom 20G Online 30G Online 30G Classroom 0G Classroom 20

Page 17: tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · Web viewIntroduction, Opening Activity . Course Expectations. Activity: Hiring discrimination—it

Alternate Example: Microwave PopcornA popcorn lover wants to know if it is better to use the “popcorn button” on her microwave oven or use the amount of time recommended on the bag of popcorn. To measure how well each method works, she will count the number of unpopped kernels remaining after popping. She goes to the store and buys 10 bags each of 4 different varieties of microwave popcorn (movie butter, light butter, natural, and kettle corn), for a total of 40 bags.

Explain why a randomized block design might be preferable to a completely randomized design for this experiment.

Outline a randomized block design for this experiment.

What is a matched pairs design? Could we use a matched pairs design for the caffeine experiment?

17

Page 18: tmorrismath.weebly.comtmorrismath.weebly.com/.../ch._4_-_student_notes.docx  · Web viewIntroduction, Opening Activity . Course Expectations. Activity: Hiring discrimination—it

4.3 Using Studies Wisely / Quiz

Read 266–268 Don’t do example in reading

The scope of inference refers to the type of inferences (conclusions) that can be drawn from a study. The types of inferences we can make (inferences about the population and inferences about cause-and-effect) are determined by two factors in the design of the study:

Were individuals randomly assigned to groups?Yes No

Were individuals randomly selected from a

population?

Yes Inferences about the population: ___Inferences about cause and effect: ___

Inferences about the population: ___Inferences about cause and effect: ___(Some observational studies)

NoInferences about the population: ___Inferences about cause and effect: ___(Most experiments)

Inferences about the population: ___Inferences about cause and effect: ___(Some observational studies)

Alternate Example: Silence is golden? Many students insist that they study better when listening to music. A teacher doubts this claim and suspects that listening to music actually hurts academic performance. Here are four possible study designs to address this question at your school. In each case, the response variable will be the students’ GPA at the end of the semester.

1. Get all the students in your AP Statistics class to participate in a study. Ask them whether or not they study with music on and divide them into two groups based on their answer to this question.

2. Select a random sample of students from your school to participate in a study. Ask them whether or not they study with music on and divide them into two groups based on their answer to this question.

3. Get all the students in your AP Statistics class to participate in a study. Randomly assign half of the students to listen to music while studying for the entire semester and have the remaining half abstain from listening to music while studying.

4. Select a random sample of students from your school to participate in a study. Randomly assign half of the students to listen to music while studying for the entire semester and have the remaining half abstain from listening to music while studying.

For each design, suppose that the mean GPA for students who listen to music while studying was significantly lower than the mean GPA of students who didn’t listen to music while studying. What can we conclude for each design?

Read: http://fivethirtyeight.com/features/dont-take-your-vitamins/

Read 268–271 (The Challenges of Establishing Causation, Data Ethics)

Review DayChapter Four Test

18