1 Topic 14 – Experimental Design Crossover Nested Factors Repeated Measures.

Slides:



Advertisements
Similar presentations
Multiple Comparisons in Factorial Experiments
Advertisements

Topic 12 – Further Topics in ANOVA
Statistical Techniques I EXST7005 Miscellaneous ANOVA Topics & Summary.
Statistics : Role in Research. Statistics: A collection of procedures and processes to enable researchers in the unbiased pursuit of Knowledge Statistics.
i) Two way ANOVA without replication
The Two Factor ANOVA © 2010 Pearson Prentice Hall. All rights reserved.
1 Multifactor ANOVA. 2 What We Will Learn Two-factor ANOVA K ij =1 Two-factor ANOVA K ij =1 –Interaction –Tukey’s with multiple comparisons –Concept of.
Using Statistics in Research Psych 231: Research Methods in Psychology.
Chapter 10 - Part 1 Factorial Experiments.
Incomplete Block Designs
The Research Skills exam: The four horsemen of the apocalypse: pestilence, war, famine and the RS1 exam.
T WO WAY ANOVA WITH REPLICATION  Also called a Factorial Experiment.  Replication means an independent repeat of each factor combination.  The purpose.
1 Topic 11 – ANOVA II Balanced Two-Way ANOVA (Chapter 19)
Psy B07 Chapter 1Slide 1 ANALYSIS OF VARIANCE. Psy B07 Chapter 1Slide 2 t-test refresher  In chapter 7 we talked about analyses that could be conducted.
Statistical Techniques I EXST7005 Exam 2 Review. Exam Coverage n There will be problems requiring the use of F and Chi square tables. Probabilities from.
The Randomized Block Design. Suppose a researcher is interested in how several treatments affect a continuous response variable (Y). The treatments may.
1 Experimental Statistics - week 7 Chapter 15: Factorial Models (15.5) Chapter 17: Random Effects Models.
1 1 Slide © 2005 Thomson/South-Western Chapter 13, Part A Analysis of Variance and Experimental Design n Introduction to Analysis of Variance n Analysis.
1 1 Slide Analysis of Variance Chapter 13 BA 303.
1 Experimental Statistics - week 10 Chapter 11: Linear Regression and Correlation Note: Homework Due Thursday.
Factorial Experiments Analysis of Variance (ANOVA) Experimental Design.
Basic concept Measures of central tendency Measures of central tendency Measures of dispersion & variability.
1 Chapter 13 Analysis of Variance. 2 Chapter Outline  An introduction to experimental design and analysis of variance  Analysis of Variance and the.
Discussion 3 1/20/2014. Outline How to fill out the table in the appendix in HW3 What does the Model statement do in SAS Proc GLM ( please download lab.
Copyright © 2004 Pearson Education, Inc.
Testing Hypotheses about Differences among Several Means.
Statistics (cont.) Psych 231: Research Methods in Psychology.
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
INTRODUCTION TO ANALYSIS OF VARIANCE (ANOVA). COURSE CONTENT WHAT IS ANOVA DIFFERENT TYPES OF ANOVA ANOVA THEORY WORKED EXAMPLE IN EXCEL –GENERATING THE.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Psych 5500/6500 Other ANOVA’s Fall, Factorial Designs Factorial Designs have one dependent variable and more than one independent variable (i.e.
ANALYSIS OF VARIANCE (ANOVA) BCT 2053 CHAPTER 5. CONTENT 5.1 Introduction to ANOVA 5.2 One-Way ANOVA 5.3 Two-Way ANOVA.
Analysis of Variance 1 Dr. Mohammed Alahmed Ph.D. in BioStatistics (011)
Analysis of Two-Way Tables Moore IPS Chapter 9 © 2012 W.H. Freeman and Company.
Chapter Seventeen. Figure 17.1 Relationship of Hypothesis Testing Related to Differences to the Previous Chapter and the Marketing Research Process Focus.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.3 Two-Way ANOVA.
1 Psych 5510/6510 Chapter 13 ANCOVA: Models with Continuous and Categorical Predictors Part 2: Controlling for Confounding Variables Spring, 2009.
1 Experimental Statistics - week 9 Chapter 17: Models with Random Effects Chapter 18: Repeated Measures.
Econ 3790: Business and Economic Statistics Instructor: Yogesh Uppal
Hypothesis test flow chart frequency data Measurement scale number of variables 1 basic χ 2 test (19.5) Table I χ 2 test for independence (19.9) Table.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
McGraw-Hill, Bluman, 7th ed., Chapter 12
IE241: Introduction to Design of Experiments. Last term we talked about testing the difference between two independent means. For means from a normal.
Smith/Davis (c) 2005 Prentice Hall Chapter Fifteen Inferential Tests of Significance III: Analyzing and Interpreting Experiments with Multiple Independent.
Other experimental designs Randomized Block design Repeated Measures designs.
The Mixed Effects Model - Introduction In many situations, one of the factors of interest will have its levels chosen because they are of specific interest.
Experimental Statistics - week 9
ANOVA Overview of Major Designs. Between or Within Subjects Between-subjects (completely randomized) designs –Subjects are nested within treatment conditions.
1 Experimental Statistics - week 8 Chapter 17: Mixed Models Chapter 18: Repeated Measures.
Factorial BG ANOVA Psy 420 Ainsworth. Topics in Factorial Designs Factorial? Crossing and Nesting Assumptions Analysis Traditional and Regression Approaches.
Statistics (cont.) Psych 231: Research Methods in Psychology.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
Slide 1 Copyright © 2004 Pearson Education, Inc. Chapter 11 Multinomial Experiments and Contingency Tables 11-1 Overview 11-2 Multinomial Experiments:
Chapter 13! One Brick At A Time!.
Lecture Slides Elementary Statistics Twelfth Edition
Factorial Experiments
i) Two way ANOVA without replication
Comparing Three or More Means
Chapter 5 Introduction to Factorial Designs
Econ 3790: Business and Economic Statistics
Psych 231: Research Methods in Psychology
Psych 231: Research Methods in Psychology
Psych 231: Research Methods in Psychology
The Research Skills exam:
Psych 231: Research Methods in Psychology
Psych 231: Research Methods in Psychology
Psych 231: Research Methods in Psychology
Experimental Statistics - week 8
Chapter 10 – Part II Analysis of Variance
STATISTICS INFORMED DECISIONS USING DATA
Presentation transcript:

1 Topic 14 – Experimental Design Crossover Nested Factors Repeated Measures

2 Overview We will conclude the course by considering some different topics that can arise in a multi-way ANOVA, as well as some other miscellaneous topics. Some of these are discussed a little bit in Chapters 21, 23, and 24. As there will be no HW covering this topic, the coverage on the final exam will be limited to identification and/or discussion of concepts.

3 Types of Designs Crossed Factors Nested Factors Repeated Measures

4 Crossover Design Factors A and B are considered crossed if every level of B occurs with every level of A. Note: The two-way and three-way ANOVA that we have discussed to this point has generally had crossed factors (obs. in every cell). Can investigate interactions assuming that we have replication (multiple obs. per cell). Basically, we have only been doing crossover designs so far!

5 Diagrams of Crossover Design

6 Example We want to examine three different drugs to determine their effects on blood pressure. We will have 12 men and 12 women on each drug, and also have a control group as well. Drug and Gender are crossed factors (and are both fixed effects as well).

7 ANOVA Table SourceDF DRUG___(fixed, 4 levels) GENDER___ (fixed, 2 levels) DRG*GNDR___ (fixed) Error___ Total95

8 Nested Design Factor B is considered to be nested within Factor A if each level of B occurs with only one level of Factor A. Can arbitrarily number the levels of B Cannot investigate interactions. Denoted B(A) instead of B in ANOVA table.

9 Example (Nested) We want to compare two fertilizers. We have a field that is divided into 4 sections and each section is randomly assigned one of the two fertilizers (each is assigned twice). After two weeks, three plants from each section are dug up and the number of root tips for each plant is obtained.

10 Example (Nested) Factors include Fertilizer Section (nested within Fertilizer) – also this is the Experimental Unit! Plant (nested within Section, Fertilizer) – note that this effect will actually be the error term since there is nothing “below” it. Fertilizer12 Section1324 Plant Response

11 Example (Nested) Are the observations (plants) within a section independent?  This is an example of subsampling (a form of “repeated measures” that results in a nested design).  By subsampling, we reduce the variance associated with our experimental units (the sections). But as we will see, it does not gain DF for testing the fertilizer effect.

12 Degrees of Freedom 12 observations  11 total DF. Have variability between sections and variability within sections: Only three DF for between sections variability (since we have four sections) This leaves eight DF for variability within sections (Error term in our model) The “between section” variation can be divided up into two parts 1 DF for Treatment 2 DF for Section(Treatment)

13 Statistical Model

14 Nested Effects Key Point: Nested effects are generally considered RANDOM. In our example, want results to apply to all sections and all plants. So we need to look at EMS to determine tests: Source Type III Expected Mean Square fert Var(Error) + 3 Var(sect(fert)) + Q(fert) sect(fert) Var(Error) + 3 Var(sect(fert))

15 Expected Mean Squares As you can see from the EMS, the Fertilizer effect will be tested over Sect(Fert).  Thus while sampling more plants in each section is good in the sense that we get a “better” estimate for each section, it does not improve the degrees of freedom for testing whether there is a fertilizer effect. One would need to add sections to do that. Section effect will be tested over error.  Sampling more plants does give a more precise estimate for the sections and more DF for this test.

16 SAS Coding Nested effects use parentheses in the coding as described and are included in the random statement.

17 Output

18 Correct Tests

19 Conclusion NO significant differences are shown between the fertilizers. Two notes:  Failing to recognize that this is a nested design will result in an incorrect conclusion that there is a fertilizer effect.  We certainly can’t say from this that there is NOT a fertilizer effect – the power for detecting differences in fertilizer will be very low (2 DF error for that test).

20 A More Complex Example Eight subjects are used to try to determine the effectiveness of two different drugs. Four subjects receive Drug #1 first; the other four receive Drug #2 first. There is a washout period, and then they receive the other drug during the second period of the study.

21 Design Chart & Factors Factors include Order of Drugs Subject (nested within order) Period (crossed with both subject and order) Note: Drug effect is ______________

22 Degrees of Freedom 16 observations  15 total DF. BETWEEN: 8 subjects  7 DF associated to variability between subjects.  1 DF associated to Order  6 DF associated to Subjects(Order) WITHIN: 8 DF remaining to assess variability within subjects.  1 DF associated to Period  1 DF associated to Order*Period  6 DF associated to Period*Subject(Order) Order*Period is the DRUG effect. Period*Subject(Order) must be considered as our ERROR term (not enough DF to look at that interaction).

23 Statistical Model

24 SAS Coding

25 Output

26 Conclusions There seems to be some kind of DRUG effect (represented by the order/period interaction).  The actual effect is not yet clear – we must set up a contrast on the order*period interaction to examine the drug effect.  We may also be able to consider LSMeans We may not have been able to see this effect as well without appropriately accounting for the other variables.

27 LSMeans

28 LSMeans / Contrast We see some groupings that we might expect: (1,4) = DRUG #1 (2,3) = DRUG #2 A contrast to consider the difference in drugs would be:

29 Repeated Measures Design Measurements taken on the same experimental units are by definition not independent.

30 Repeated Measures Design Repeated Measures – Experimental unit is measured more than once.  Response variable measured on same subject over time.  Several observations taken from same experimental unit at the same time (subsampling). If have repeated measures, then the experimental unit is generally considered a random factor.  Sometimes we are able to keep things simple by applying a nested design.  In all case EMS are used to determine correct tests.

31 Previous Examples Both of the previous examples involved repeated measures in the sense that:  Example 1 – There were repeated measures for the sections in the sense that we measured multiple plants.  Example 2 – There were repeated measures on the subjects in the sense that each subject was observed on each drug. In both cases, we used a nested design to accomplish the analysis.

32 One More Example Problem 21.4 from the textbook.  24 “thirsty” rats trained to press a lever to obtain water.  Rats categorized into three groups of eight (slow, medium, fast) based on their initial press rate.  Each rat received three different doses of a drug, along with a placebo, on separate occasions, and in a random order.  One hour later after the dose, drugs received water after pressing a lever a pre-specified number of times (2 or 5) – half the rats on each #.

33 Example Primary Research Question: Does the drug affect the LPR (lever press rate)?  Response variable is the lever press rate (total number of presses divided by time in seconds).  Crossed factors include DRUG, # of presses (PRS), and initial press rate (IPR).  RAT is a random effect and we have repeated measures on the rats. RAT is nested – within the IPR*PRS effect. (See table page 623).

34 ANOVA Table / DF SourceDF IPR 2(Fixed) PRS 1(Fixed) IPR*PRS 2(Fixed) Rat(IPR*PRS) 18(Random) Drug 3(Fixed) Drug*IPR 6(Fixed) Drug*PRS 3(Fixed) Drug*IPR*PRS 6(Fixed) Drug*IPR*PRS*RAT54(Error)

35 SAS Code

36 ANOVA Table Are any of the F tests correct?

37 Expected MS F Tests from Drug on down will be correct. Others should be tested over MS(Rat)

38 Further Analysis With respect to “drug”, everything is fairly straight forward. Appears to be an important interaction with the number of presses. So examine from the interaction perspective. Start with “sliced” LSMeans:

39 Further Analysis Though both are significant, there appears to be a much bigger drug effect when 5 presses are required. We can see this by examining the LSMeans themselves: The highest level of drug decreases the lever press rate (rats need water more?).

40 Other questions Is the # of presses required important?  Yes, particularly in its interaction with the Drug.  Definitely an observable main effect as well (test over Rat, F = 634) Is the IPR important?  Correct to test over Rat, but F = 42.7 is still quite large. Conclusion: Yes.  Could use LSMeans, make sure to use correct term as error (MSRat).

41 Questions?