experimental design based on chapter 2 of d. heath (1995). an introduction to experimental design...

25
Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press.

Upload: cordelia-greene

Post on 16-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

Experimental design

Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and

Statistics for Biology. CRC Press.

Page 2: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

Four critical features of experimental designHurlbert 1984

• Controls

• Randomization

• Replication

• Interspersion

Page 3: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press
Page 4: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

Possible explanations?Research hypothesis

(or hypotheses)

Page 5: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

The design of a experiment

• Factor: humidity

• Variable: direction

Page 6: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press
Page 7: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press
Page 8: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

Removing other possible effects

• Dealing with bias

Page 9: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press
Page 10: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press
Biology
Should we present a possible solution for dealing with potential bias in this situation? For example, you might draw a line on each side and only record a turn if the organism goes past that line...
Page 11: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

Other design issues

• Number of woodlice

• Which woodlice

• They must be representative of the population of reference

Biology
Should we mention the issue of replication here? I know you didn't want to discuss the Hurlbert (1984) paper in class, but I think we should at least explain what replication means, why it is important to have independent replicates, and how replication and randomization together can minimize the effects of confounding factors.
Page 12: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

Confounding factors

Page 13: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

Independent observations

Page 14: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

Analysis

• Null hypothesis:

• Alternative hypothesis:

Probability of damp turn = 0.5

Probability of damp turn = 0.5

Page 15: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

Expected frequencies for four trails

dry

dry damp

dry damp

dry damp

dry damp

dry damp

dry damp

dry damp

damp

dry damp

dry damp

dry damp

dry damp

dry damp

dry damp

dry damp

Page 16: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

Example

• Damp*Damp*Damp*Damp• If order does not matter there is only one way to

obtain four damp turns and the combined probability (under the assumption of independence) is 0.5*0.5*0.5*0.5= 0.0625

• Calculate the probability of the other possible outcomes under the null hypothesis

Page 17: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

Exercise • There are four ways to obtain three damp turns:

Damp*Damp*Damp*DryDamp*Damp*Dry*DampDamp*Dry*Damp*DampDry*Damp*Damp*Damp

• and the combined probability (under the assumption of independence) is 0.5*0.5*0.5*0.5= 0.0625 four times = 0.25

• Calculate the probability of the other possible outcomes under the null hypothesis

Page 18: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

Binomial distribution (4 trials)Under the null hypothesis

0.000.050.100.150.200.250.300.350.40

0 1 2 3 4

Number of damp turns

Expected frequency

Page 19: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

Distribution under the null hypothesis(17 trials)

0.00

0.05

0.10

0.15

0.20

0:17 2:15 4:13 6:11 8:09 10:07 12:05 14:03 16:01

Number of damp:dry turns

Expected frequency

Page 20: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

What do you conclude if we observed 14 damp turns out of 17 ?

Page 21: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

Binomial distribution

0.00

0.02

0.04

0.06

0.08

0.10

0.12

0.14

0.16

0.18

0.20

0 2 4 6 8 10 12 14 16

Number of damp turns

Rejection region Rejection region

0.0000+0.0001+0.0010+0.0052+0.0182=

2.45%

0.0182+0.0052+0.0010+0.0001+0.0000=

2.45%

likelyunlikely unlikely

Page 22: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

Why we start with the null hypothesis?

Page 23: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

The main points

• Use a mathematical model to produce a sampling distribution of all possible values of the test statistic assuming that the null hypothesis is true

• Find the probability associated with a a particular value occurring in a particular experiment

• Use the probability to make a decision about whether a particular result is likely or unlikely

Biology
Should we add another slide to mention some of the questions raised by Gotelli and Ellison (2004) in their section on Designing Effective Field Experiments and Sampling Studies (pp. 158-161)?
Page 24: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press

The Binomial DistributionOverview

• However, if order is not important, then

where is the number of ways to obtain X successes

in n trials, and n! = n (n – 1) (n – 2) … 2 1

n!

X!(n – X)! ppXX q qn – n –

XX

PP((XX) =) =

n!

X!(n – X)!

Page 25: Experimental design Based on Chapter 2 of D. Heath (1995). An Introduction to Experimental Design and Statistics for Biology. CRC Press