56
Understanding Experiments; What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney College Mon, Feb 1, 2010 Robb T. Koether (Hampden-Sydney College) Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 1 / 43

Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Understanding Experiments;What Are We Summarizing?

Lecture 11Sections 3.5, 4.1 - 4.2

Robb T. Koether

Hampden-Sydney College

Mon, Feb 1, 2010

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 1 / 43

Page 2: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Outline

1 Experiment DesignControl GroupsRandomized DesignBlinded Experiments

2 Homework Review

3 Types of Variable

4 Qualitative Variables

5 Quantitative VariablesCautionContinuous and Discrete Variables

6 Assignment

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 2 / 43

Page 3: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Outline

1 Experiment DesignControl GroupsRandomized DesignBlinded Experiments

2 Homework Review

3 Types of Variable

4 Qualitative Variables

5 Quantitative VariablesCautionContinuous and Discrete Variables

6 Assignment

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 3 / 43

Page 4: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Experiment Design

Suppose a drug is given to 100 patients suffering from a particulardisease.

After 2 weeks, 90% of the patients have recovered.The researchers conclude that the drug was effective.What is wrong with this?

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 4 / 43

Page 5: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Experiment Design

Suppose a drug is given to 100 patients suffering from a particulardisease.After 2 weeks, 90% of the patients have recovered.

The researchers conclude that the drug was effective.What is wrong with this?

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 4 / 43

Page 6: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Experiment Design

Suppose a drug is given to 100 patients suffering from a particulardisease.After 2 weeks, 90% of the patients have recovered.The researchers conclude that the drug was effective.

What is wrong with this?

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 4 / 43

Page 7: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Experiment Design

Suppose a drug is given to 100 patients suffering from a particulardisease.After 2 weeks, 90% of the patients have recovered.The researchers conclude that the drug was effective.What is wrong with this?

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 4 / 43

Page 8: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Outline

1 Experiment DesignControl GroupsRandomized DesignBlinded Experiments

2 Homework Review

3 Types of Variable

4 Qualitative Variables

5 Quantitative VariablesCautionContinuous and Discrete Variables

6 Assignment

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 5 / 43

Page 9: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Treatment and Control Groups

Definition (Treatment group)The treatment group is the group that receives the treatment.

Definition (Control group)The control group is similar to the treatment group in all respectsexcept that it does not receive the treatment.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 6 / 43

Page 10: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Outline

1 Experiment DesignControl GroupsRandomized DesignBlinded Experiments

2 Homework Review

3 Types of Variable

4 Qualitative Variables

5 Quantitative VariablesCautionContinuous and Discrete Variables

6 Assignment

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 7 / 43

Page 11: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Randomized Design

Why would it be wrong to allow the individuals themselves tochoose whether to be in the treatment group or the control group?Why would it be wrong for the researchers to decide, subject bysubject, who goes into which group?

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 8 / 43

Page 12: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Randomized Design

Definition (Randomized design)A randomized design is a design in which the subjects are randomlyassigned to either the treatment group or the control group.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 9 / 43

Page 13: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Randomized Design

Randomized DesignSuppose that there are 100 subjects.Number them 1 - 100.Then use a random number generator to obtain 50 (distinct)random numbers from 1 - 100.Those 50 subjects would be assigned to the treatment group.The rest would be assigned to the control group.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 10 / 43

Page 14: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Possible Bias

Are the subjects in the treatment group aware of the purpose ofthe experiment?Are the subjects in the control group aware that they are notreceiving the drug?Will it make a difference?

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 11 / 43

Page 15: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Outline

1 Experiment DesignControl GroupsRandomized DesignBlinded Experiments

2 Homework Review

3 Types of Variable

4 Qualitative Variables

5 Quantitative VariablesCautionContinuous and Discrete Variables

6 Assignment

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 12 / 43

Page 16: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Placebos

Definition (Response bias)A sampling method exhibits response bias if the subjects give whatthey perceive to be the desired response rather than the true response.

Definition (Placebo)A placebo is a treatment, usually a pill, that is known to have no effect.

Definition (Single-blind experiment)A single-blind experiment is an experiment in which the subjects do notknow who is in the treatment group and who is in the control group.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 13 / 43

Page 17: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Placebos

Everybody in the treatment group is administered the drug.Everybody in the control group gets the placebo.No subject knows which group he is in.The researchers look for differences in the groups’ recovery rates.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 14 / 43

Page 18: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Double-Blind Experiments

Definition (Experimenter bias)A sampling method exhibits experimenter bias if the observer recordsthe desired values rather than the true observed values.

Definition (Double-blind experiment)A double-blind experiment is an experiment in which neither thesubjects nor the observers know who is in the treatment group andwho is in the control group.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 15 / 43

Page 19: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Outline

1 Experiment DesignControl GroupsRandomized DesignBlinded Experiments

2 Homework Review

3 Types of Variable

4 Qualitative Variables

5 Quantitative VariablesCautionContinuous and Discrete Variables

6 Assignment

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 16 / 43

Page 20: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Homework Review

Exercise 3.31, p. 184A nutrition experimenter intends to compare the weight gain of malerats fed Diet A with that of male rats fed Diet B. Twenty rats areavailable for this experiment. She would like to randomly allocate 10rats to Diet A and the remaining 10 rats to Diet B. She decides to labelthe 20 rats as follows: 01, 02, 03, . . . , 20.

(a) Use the experimenter’s labels and your calculator (with a seedvalue of 72) to identify the labels of the first 10 rats selected thatwould be assigned to Diet A.The first 10 distinct random numbers are 14, 13, 5, 16, 9, 3, 4, 2, 7,and 10.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 17 / 43

Page 21: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Homework Review

Exercise 3.31, p. 184A nutrition experimenter intends to compare the weight gain of malerats fed Diet A with that of male rats fed Diet B. Twenty rats areavailable for this experiment. She would like to randomly allocate 10rats to Diet A and the remaining 10 rats to Diet B. She decides to labelthe 20 rats as follows: 01, 02, 03, . . . , 20.(a) Use the experimenter’s labels and your calculator (with a seed

value of 72) to identify the labels of the first 10 rats selected thatwould be assigned to Diet A.

The first 10 distinct random numbers are 14, 13, 5, 16, 9, 3, 4, 2, 7,and 10.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 17 / 43

Page 22: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Homework Review

Exercise 3.31, p. 184A nutrition experimenter intends to compare the weight gain of malerats fed Diet A with that of male rats fed Diet B. Twenty rats areavailable for this experiment. She would like to randomly allocate 10rats to Diet A and the remaining 10 rats to Diet B. She decides to labelthe 20 rats as follows: 01, 02, 03, . . . , 20.(a) Use the experimenter’s labels and your calculator (with a seed

value of 72) to identify the labels of the first 10 rats selected thatwould be assigned to Diet A.The first 10 distinct random numbers are 14, 13, 5, 16, 9, 3, 4, 2, 7,and 10.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 17 / 43

Page 23: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Homework Review

Exercise 3.31, p. 184(b) The experimenter hopes Diet A is the better diet. To avoid possible

bias in her results because of her favoritism, she blinds herself toher experiment. Explain how she would do this.

She would make sure that the person who made themeasurements on the rats did not know which rats were given DietA and which were given Diet B.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 18 / 43

Page 24: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Homework Review

Exercise 3.31, p. 184(b) The experimenter hopes Diet A is the better diet. To avoid possible

bias in her results because of her favoritism, she blinds herself toher experiment. Explain how she would do this.She would make sure that the person who made themeasurements on the rats did not know which rats were given DietA and which were given Diet B.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 18 / 43

Page 25: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Outline

1 Experiment DesignControl GroupsRandomized DesignBlinded Experiments

2 Homework Review

3 Types of Variable

4 Qualitative Variables

5 Quantitative VariablesCautionContinuous and Discrete Variables

6 Assignment

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 19 / 43

Page 26: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Types of Variable

Statisticians like to quantify everything.

Given a set of data, they want to summarize it with a singlenumber.How might we summarize

I A sample of political affiliations?I A sample of body weights?I A sample of steak preferences (rare, medium, etc.)?I A sample of family sizes?I A sample of temperatures throughout the day?

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 20 / 43

Page 27: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Types of Variable

Statisticians like to quantify everything.Given a set of data, they want to summarize it with a singlenumber.

How might we summarize

I A sample of political affiliations?I A sample of body weights?I A sample of steak preferences (rare, medium, etc.)?I A sample of family sizes?I A sample of temperatures throughout the day?

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 20 / 43

Page 28: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Types of Variable

Statisticians like to quantify everything.Given a set of data, they want to summarize it with a singlenumber.How might we summarize

I A sample of political affiliations?I A sample of body weights?I A sample of steak preferences (rare, medium, etc.)?I A sample of family sizes?I A sample of temperatures throughout the day?

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 20 / 43

Page 29: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Types of Variable

Statisticians like to quantify everything.Given a set of data, they want to summarize it with a singlenumber.How might we summarize

I A sample of political affiliations?

I A sample of body weights?I A sample of steak preferences (rare, medium, etc.)?I A sample of family sizes?I A sample of temperatures throughout the day?

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 20 / 43

Page 30: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Types of Variable

Statisticians like to quantify everything.Given a set of data, they want to summarize it with a singlenumber.How might we summarize

I A sample of political affiliations?I A sample of body weights?

I A sample of steak preferences (rare, medium, etc.)?I A sample of family sizes?I A sample of temperatures throughout the day?

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 20 / 43

Page 31: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Types of Variable

Statisticians like to quantify everything.Given a set of data, they want to summarize it with a singlenumber.How might we summarize

I A sample of political affiliations?I A sample of body weights?I A sample of steak preferences (rare, medium, etc.)?

I A sample of family sizes?I A sample of temperatures throughout the day?

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 20 / 43

Page 32: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Types of Variable

Statisticians like to quantify everything.Given a set of data, they want to summarize it with a singlenumber.How might we summarize

I A sample of political affiliations?I A sample of body weights?I A sample of steak preferences (rare, medium, etc.)?I A sample of family sizes?

I A sample of temperatures throughout the day?

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 20 / 43

Page 33: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Types of Variable

Statisticians like to quantify everything.Given a set of data, they want to summarize it with a singlenumber.How might we summarize

I A sample of political affiliations?I A sample of body weights?I A sample of steak preferences (rare, medium, etc.)?I A sample of family sizes?I A sample of temperatures throughout the day?

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 20 / 43

Page 34: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Outline

1 Experiment DesignControl GroupsRandomized DesignBlinded Experiments

2 Homework Review

3 Types of Variable

4 Qualitative Variables

5 Quantitative VariablesCautionContinuous and Discrete Variables

6 Assignment

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 21 / 43

Page 35: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Qualitative Variables

Definition (Qualitative variable)A qualitative variable is a variable whose values are nonnumerical.

The values of a qualitative variable may or may not have a naturalorder.

I Political affiliation.I Steak preference.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 22 / 43

Page 36: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Summarizing Qualitative Variables

Typically, we use percentages or proportions to summarizequalitative variables.

I 40% of the subjects are Democrats.I 50% of the people prefer their steak medium.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 23 / 43

Page 37: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Outline

1 Experiment DesignControl GroupsRandomized DesignBlinded Experiments

2 Homework Review

3 Types of Variable

4 Qualitative Variables

5 Quantitative VariablesCautionContinuous and Discrete Variables

6 Assignment

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 24 / 43

Page 38: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Quantitative Variables

Definition (Quantitative variable)A quantitative variable is a variable whose values are numerical.

The values of a quantitative variable always have a natural order.I A person’s weight.I Number of children.I Temperature.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 25 / 43

Page 39: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Summarizing Quantitative Variables

Typically, we use averages to summarize quantitative variables.I The people in the sample weigh an average of 156.2 lbs.I The people in the sample have an average of 2.3 children.I The average temperature for the day was −2.2◦ C (28◦ F).

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 26 / 43

Page 40: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Outline

1 Experiment DesignControl GroupsRandomized DesignBlinded Experiments

2 Homework Review

3 Types of Variable

4 Qualitative Variables

5 Quantitative VariablesCautionContinuous and Discrete Variables

6 Assignment

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 27 / 43

Page 41: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Caution

Some qualitative variables may appear to be quantitative whenthey are really qualitative.Rate your child’s intelligence:

1 Way below average2 Below average3 Average4 Above average5 Way above average

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 28 / 43

Page 42: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Outline

1 Experiment DesignControl GroupsRandomized DesignBlinded Experiments

2 Homework Review

3 Types of Variable

4 Qualitative Variables

5 Quantitative VariablesCautionContinuous and Discrete Variables

6 Assignment

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 29 / 43

Page 43: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Continuous and Discrete Variables

Quantitative variables fall into two categories.

Definition (Continuous variable)A continuous variable is a variable whose set of possible values formsa complete interval of real numbers.

Definition (Discrete variable)A discrete variable is a variable whose set of possible values forms aset of isolated points on the number line.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 30 / 43

Page 44: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Continuous Variables

Typically continuous variables are measured quantities.I LengthI TimeI AreaI Weight

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 31 / 43

Page 45: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Discrete Variables

Typically discrete variables are things that are counted.I Family size = number of children in the family.I Heart rate = number of beats per minute.

A verbal description usually contains the phrase “the number of.”Caution: Would weight (“number of pounds”) be discrete?

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 32 / 43

Page 46: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Discrete vs. Continuous

Some data may be mistakenly thought to be discrete.I Time = “number of minutes.”I Weight = “number of pounds.”

What if the minutes and pounds were rounded off to the nearestminute or pound.What about heart rate, measured in beats per minute?

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 33 / 43

Page 47: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Outline

1 Experiment DesignControl GroupsRandomized DesignBlinded Experiments

2 Homework Review

3 Types of Variable

4 Qualitative Variables

5 Quantitative VariablesCautionContinuous and Discrete Variables

6 Assignment

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 34 / 43

Page 48: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Assignment

HomeworkPage 182, exercises 25, 26, 28 - 31.Chapter 3 review, p. 196, exercises 39 - 43, 45, 47, 49 - 51, 59,60, 67, 68, 70.Read Sections 4.1 - 4.2, pages 212 - 219.Let’s Do It! 4.1.Page 219, exercises 1 - 5.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 35 / 43

Page 49: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Answers to Even-numbered Problems

Page 182, Problems 26, 28, 303.26 (a) treatments are assigned to the subjects.3.28 Randomly assign 4 to Group I. The remaining 4 are in

Group II. Train Group I by the old method and train GroupII by the new method. Group I is {Rover, Spot, Klaus,Charlie} and Group I is {Jasmin, Chelsea, Maggie, Bo}.

3.30 (a) They are already labeled (?)(b) Take a simple random sample of 10. Assign them to

the first group, which gets the aspirin. The remainderwill get the placebo.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 36 / 43

Page 50: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Answers to Even-numbered Problems

Page 182, Problems 26, 28, 303.30 (c) First group is {Steve, James, Eric, Ralph, Kyle, Stan,

Ed, Herb, Ryan, Pablo}. The second group is {Lee,Mark, Bill, Matt, Tim, Robb, Phil, Mike, Doug, Henry}.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 37 / 43

Page 51: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Answers to Even-numbered Problems

Page 196, Problems 40, 42, 50, 60, 68, 703.40 Treatment 1: 2, 7

Treatment 2: 8, 4Treatment 3: 3, 6Treatment 4: 1, 5.

3.42 (a) 18.(b) 90.

3.50 (a) explanatory variable.(b) response variable.(c) a retrospective observational study.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 38 / 43

Page 52: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Answers to Even-numbered Problems

Page 196, Problems 40, 42, 50, 60, 68, 703.60 (a) An experiment.

(b) The teaching method.(c) Yes. The teachers’ personalities.(d) No mention of randomization.(e) H0 : The two teaching methods are equally effective.

H1 : The two teaching methods are not equallyeffective.

(f) It is greater than 0.10.(g) Possibly. If the p-value is 0.12, for example, then the

results would not be significant at the 10%, but theywould be significant at the 15% level.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 39 / 43

Page 53: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Answers to Even-numbered Problems

Page 196, Problems 40, 42, 50, 60, 68, 703.68 (a) Experiment. The explanatory variables were not

manipulated.(b) Gender is explanatory and car purchase price is

response.(c) A statistic. It’s value is based on the sample, not the

population.(d) confounding.(e) 0.12.(f) response.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 40 / 43

Page 54: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Answers to Even-numbered Problems

Page 196, Problems 40, 42, 50, 60, 68, 703.70 (a) The individuals were told which movie to watch.

(b) The explanatory variable was the movie that theperson watched. The levels were “The Bridges ofMadison County,” “The Godfather: Part II,” and therainforest documentary. The response variables werethe person’s hormone levels before, after, and 45minutes after watching the movie.

(c) Randomly assign individuals to the different movies.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 41 / 43

Page 55: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Answers to Even-numbered Problems

Page 196, Problems 40, 42, 50, 60, 68, 703.70 (d) The hormone level of each individual before the

movie was matched with the hormone levels of thesame individual after the movie.

(e) Was a randomized design used?

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 42 / 43

Page 56: Understanding Experiments; What Are We …people.hsc.edu/faculty-staff/robbk/Math121/Lectures...What Are We Summarizing? Lecture 11 Sections 3.5, 4.1 - 4.2 Robb T. Koether Hampden-Sydney

Answers to Even-numbered Problems

Page 219, Problems 2, 44.2 (a) Quantitative discrete.

(b) Quantitative continuous.(c) Quantitative discrete.(d) Quantitative continuous.

4.4 No. There could be confounding factors, making theunemployment rate under the combination of proposalsunpredictable.

Robb T. Koether (Hampden-Sydney College)Understanding Experiments;What Are We Summarizing? Mon, Feb 1, 2010 43 / 43