a bestiary of experimental and sampling designs. the design of an experiment the details of:...

66
A Bestiary of Experimental and Sampling Designs

Upload: delilah-may

Post on 19-Jan-2016

219 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

A Bestiary of Experimental and Sampling Designs

Page 2: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

The design of an experiment• The details of: • replication, • randomizations,• and

independence

Page 3: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

We cannot draw blood from a stone

• Even the most sophisticated analysis CANNOT rescue a poor design

Page 4: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Categorical variables

• They are classified into one or more unique categories

• Sex (male, female)• Trophic status (producer, herbivore,

carnivore)• Habitat type (shade, sun)

Page 5: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Continuous variables

• They are measured on a continuous numerical scale (real or integer values)

• Size• Species richness

• Habitat coverage • Population density

Page 6: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Dependent and independent variables

• The assignment of dependent and independent variables implies an hypothesis of cause and effect that you are trying to test.

• The dependent variable is the response variable

• The independent variable is the predictor variable

Page 7: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

-1.000

0.000

1.000

2.000

0 5 10 15 20 25 30

Time since fire (years)

Ln

(la

mb

da

)

Y=26.06X-2.99r2=0.355Fstat=25.84

Ordinate (vertical y-axis)

Abscissa (horizontal x-axis)

Page 8: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Four classes of experimental design

Dependent variable

Independent variable

Continuous Categorical

Continuous Regression ANOVA

Categorical Logistic regression Tabular

Page 9: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

The analysis of covariance

• It is used when there are two independent variables, one of which is categorical and one of which is continuous (the covariate)

Page 10: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Four classes of experimental design

Dependent variable

Independent variable

Continuous Categorical

Continuous Regression ANOVA

Categorical Logistic regression Tabular

Page 11: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Regression designs

• Single-factor regression

• Multiple regression

Page 12: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Single-factor regression

• Collect data on a set of independent replicates

• For each replicate, measure both the predictor and the response variables.

• Hypothesis: seed density (the predictor variables) is responsible for rodent density (the response variable)

Page 13: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Plot # Seeds Rodents/m2 Vegetation cover

1 50 3.2 6

2 12 11.7 12

. . . .

n 300 5.3 9

Variables

Plots

Page 14: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

• You assume that the predictor variable is a causal variable: changes in the value of the predictor would cause a change in the value of the response

• This is very different from a study in which you would examine the correlation (statistical covariation) between two variables

Single-factor regression

Page 15: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

In regression (Model I)

• You are assuming that the value of the independent variable is known exactly and is not subject to measurement error

Page 16: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Assumptions and caveats

• Adequate replication• Independence of the data• Ensure that the range of values sampled for the

predictor variable is large enough to capture the full range of responses by the response variable

• In some cases, is useful to ensure that the distribution of predictor values is approximately uniform within the sample range, but…

Page 17: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence
Page 18: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence
Page 19: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Multiple regression

• Two or more continuous predictor variables are measured for each replicate, along with the single response variable

Page 20: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Assumptions and caveats

• Adequate replication• Independence of the data• Ensure that the range of values sampled

for the predictor variables is large enough to capture the full range of responses by the response variable

• Ensure that the distribution of predictor values is approximately uniform within the sample range

Page 21: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Multiple regression

• Ideally, the different predictor variables should be independent of one another. This collinearity makes it difficult to estimate accurately regression parameters and to tease apart how much variation in the response variable is accurately associated with each of the predictor variables

Page 22: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Multiple regression

• As always replication becomes important as we add more predictor variables to the analysis.

• In many cases it is easier to measure additional predictor variables than is to obtain additional independent variables

• Avoid the temptation to measure everything that you can just because it is possible

Page 23: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Multiple regression

• It is a mistake to think that a model selection algorithm can identify reliably the correct set of predictor variables

Page 24: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Four classes of experimental design

Dependent variable

Independent variable

Continuous Categorical

Continuous Regression ANOVACategorical Logistic regression Tabular

Page 25: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

• Analysis of Variance

• Treatments: refers to the different categories of the predictor variables

• Replicates: each of the observations made

ANOVA designs

Page 26: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

• Single factor designs

• Randomized block designs

• Nested designs

• Multifactor designs

• Split-plot designs

• Repeated measurements designs

• BACI designs

ANOVA designs

Page 27: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Single factor designs

• It is one of the simplest, but most powerful, experimental designs, and it can readily accommodate studies in which the number of replicates per treatment is not identical (unequal sample size)

Page 28: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

• In a single factor design, each of the treatments represent variation in a single predictor variable or factor

• Each value of the factor that represents a particular treatment is called a treatment level

Single factor designs

Page 29: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Id # Treatment Replicate Number of flowers

1 Watered 1 9

2 Not watered 1 4

. . . .

. Watered n 10

n Not watered n 2

Page 30: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Good news, bad news:

• It does not explicitly accommodate environmental heterogeneity and we need to sample the entire array of background conditions

• It means the results can be generalized across all environments, but…

• If the noise is much stronger than the signal of the treatments , the experiment have low power, and the analysis may not reveal treatment differences unless there are many replicates

Page 31: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

• One effective way to incorporate environmental heterogeneity

• A block is a delineated area or time period within which environmental conditions are relatively homogeneous

• Blocks can be placed randomly or systematically in the study area, but should be arranged so that the environmental conditions are more similar within blocks than between them

Randomized block designs

Page 32: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Randomized block designs

• Once blocks are established, replicates will still be assigned randomly to treatments, but a single replicate from each of the treatments is assigned to each block

Page 33: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Id # Treatment Block Number of flowers

1 Watered 1 9

2 Not watered 1 4

. . .

. Watered N 10

n Not watered N 2

Page 34: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Caveats

• Blocks should have enough room to accommodate a single replicate of each of the treatments, and enough spacing between replicates to ensure their independence

• The blocks themselves also have to be far enough apart from each other to ensure independence of replicates among blocks

Page 35: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Randomized block designs

Valid blocking Invalid blocking

Page 36: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Advantages

• It can be used to control for environmental gradients and patchy habitats

• It is useful when your replication is constrained by space or time

• Can be adapted for a matched pair lay-out

Page 37: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Disadvantages

• If the sample size is small and the block effect weak, the randomized block design is less powerful than the simple one-way layout

• If blocks are too small you may introduce non-independence by physically crowding the treatments together

• If any of the replicates are lost, the data from the block cannot be used unless the missing values can be estimated indirectly

Page 38: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Disadvantages• It assumes that there is no interaction between

the blocks and the treatments

• Replication within blocks will indeed tease apart main effects, block effects, and the interaction between blocks and treatments. It will also address the problem of missing data from within a block

Page 39: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Nested designs

• It is any design in which there is subsampling within each of the replicates

• In this design the subsamples are not independent of one another

• The rational of this design is to increase the precision with which estimate the response of each replicate

Page 40: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Id # Treatment Subsample Replicate Number of flowers

1 Watered 1 1 9

2 Watered 2 1 4

3 Watered 3 1 7

. . . . .

19 Not watered 1 7 16

20 Not watered 2 7 10

21 Not watered 3 7 2

Page 41: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Advantages

• Subsampling increases the precision of the estimate for each replicate in the design

• Allows to test two hypothesis:1. First: Is there variation among treatments?

2. Second: Is there variation among replicates within treatments?

• Can be extended to a hierarchical sampling design

Page 42: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Disadvantages

• They are often analyzed incorrectly

• It is difficult or even impossible to analyze properly if the sample sizes are not equal

• It often represents a case of misplaced sampling effort

Subsampling is not solution to inadequate replication

Page 43: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Randomized block designs

• Strictly speaking, the randomized block and the nested ANOVA are two-factor designs, but the second factor (blocks, or sub samples) is included only to control for sampling variation and is not the primary interest

Page 44: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Multifactor designs

• the main effects are the additive effects of each level of one treatment average over all levels of the other treatment

• the interaction effects represent unique responses to particular treatment combinations that cannot be predicted simply from knowing the main effects.

Page 45: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Multifactor designs

• In a multifactor design, the treatments cover two (or more) different factors, and each factor is applied in combination in different treatments.

• In a multifactor design, there are different levels of the treatment for each factor

Page 46: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Multifactor designs

• Why not just run two separate experiments?

• Efficiency. It is more cost effective to run a single experiment than to run two separate experiments

• It allows to test for both main effects and for interaction effects

Page 47: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Interactions

0

10

20

30

40

50

60

1st Qtr 2nd Qtr 3rd Qtr 4th Qtr

West

North

0

10

20

30

40

50

60

1st Qtr 2nd Qtr 3rd Qtr 4th Qtr

West

North

0

10

20

30

40

50

60

1st Qtr 2nd Qtr 3rd Qtr 4th Qtr

West

North

0

10

20

30

40

50

60

1st Qtr 2nd Qtr 3rd Qtr 4th Qtr

West

North

Page 48: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Orthogonal

• The key element of a proper factorial design is that the treatments are fully crossed or orthogonal : every treatment level of the first factor must be represented with every treatment level of the second factor

• If some of the treatment combinations are missing we end with a confounded design

Page 49: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Two single-factor design

Substrate treatment

Granite Slate Cement

Predator treatment

Unmanipulated

Control

Predator exclusion

Predator intrusion

Page 50: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Advantages

• The key advantage is the ability to tease apart main effects and interactions between factors, The interaction measures the extent to which different treatment combinations act additively, synergistically, or antagonistically

Page 51: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Disadvantages• The number of treatment combinations

can quickly become two large for adequate replication

• It does not account for spatial heterogeneity. This can be handled by a simple randomized block design, in which each block contains exactly one of the treatment combinations

• It may not be possible to establish all orthogonal treatment combinations

Page 52: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Split-plot designs

• It is an extension of the randomized block design to two treatments

• What distinguishes a split plot design from a randomized block design is that a second treatment factor is also applied, this time at the level of the entire plot

Page 53: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Split plot designSubstrate treatment

The subplot factor

Granite Slate Cement

Predator treatment

The whole-plot factor

Unmanipulated

Control

Predator exclusion

Predator intrusion

Page 54: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Advantages

• The chief advantage is the efficient use of blocks for the application of two treatments

• This is a simple layout that controls for environmental heterogeneity

Page 55: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Disadvantages

• As with nested designs, a very common mistake is for investigators to analyze a split-plot design as a two factor ANOVA

Page 56: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Repeated measurements designs

• It is used whenever multiple observations on the same replicate are collected at different times (It can be thought of as a split-plot in which a single replicate serves as a block, and the subplot factor is time)

Page 57: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

• The between-subjects factor corresponds to the whole-plot factor

• The within-subjects factor corresponds to the different times

• The multiple observations on a single individual are not independent of one another

Repeated measurements designs

Page 58: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Advantages

• Efficiency

• It allows each replicate to serve as its own block or control

• It allows us to test for interactions of time with treatment

Page 59: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Circularity

• Both the randomized block and the repeated measures designs make a special assumption of circularity for the within-subjects factor.

• It means that the variance of the difference between any two treatment levels in the subplots is the same

Page 60: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

For repeated measures design it means that the variance of the difference of observations between any pair of times

is the same

Page 61: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Disadvantages

• In many cases the assumption of circularity is unlikely to be met for repeated measures

• The best way to meet the circularity assumption is to use evenly spaced sampling times along with knowledge of the natural history of your organisms to select the appropriate sampling interval

Page 62: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Alternatives

1. To set enough replicates so that a different set is censused at each time period. This design can be treated as a simple factor in a two way analysis of variance

2. Use the repeated measures layout but collapse the correlated repeated measures into a single response variable for each individual, and then use a simple one-way analysis of variance

Page 63: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Think outside the ANOVA Box

• Experimental regression

Page 64: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Four classes of experimental design

Dependent variable

Independent variable

Continuous Categorical

Continuous Regression ANOVA

Categorical Logistic regression Tabular

Page 65: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence

Tabular designs

• The measurements of these designs are counts

• A contingency table analysis is used to test hypothesis

Page 66: A Bestiary of Experimental and Sampling Designs. The design of an experiment The details of: replication, randomizations, and independence