1 Psych 5510/6510 Chapter 14 Repeated Measures ANOVA: Models with Nonindependent Errors Part 1 (Crossed Designs) Spring, 2009.

Slides:



Advertisements
Similar presentations
Overview of Lecture Partitioning Evaluating the Null Hypothesis ANOVA
Advertisements

1 Psych 5510/6510 Chapter Eight--Multiple Regression: Models with Multiple Continuous Predictors Part 3: Testing the Addition of Several Parameters at.
Psych 5500/6500 The Sampling Distribution of the Mean Fall, 2008.
Smith/Davis (c) 2005 Prentice Hall Chapter Thirteen Inferential Tests of Significance II: Analyzing and Interpreting Experiments with More than Two Groups.
Dr George Sandamas Room TG60
C82MST Statistical Methods 2 - Lecture 7 1 Overview of Lecture Advantages and disadvantages of within subjects designs One-way within subjects ANOVA Two-way.
Chapter 11 One-way ANOVA: Models with a Single Categorical Predictor
Chapter 9 - Lecture 2 Some more theory and alternative problem formats. (These are problem formats more likely to appear on exams. Most of your time in.
1 Psych 5510/6510 Chapter Eight--Multiple Regression: Models with Multiple Continuous Predictors Part 2: Testing the Addition of One Parameter at a Time.
ANCOVA Psy 420 Andrew Ainsworth. What is ANCOVA?
Intro to Statistics for the Behavioral Sciences PSYC 1900 Lecture 10: Hypothesis Tests for Two Means: Related & Independent Samples.
Chapter 10 - Part 1 Factorial Experiments.
Repeated Measures ANOVA Cal State Northridge  320 Andrew Ainsworth PhD.
Chapter 9 - Lecture 2 Computing the analysis of variance for simple experiments (single factor, unrelated groups experiments).
Week 14 Chapter 16 – Partial Correlation and Multiple Regression and Correlation.
Relationships Among Variables
1 Psych 5500/6500 Statistics and Parameters Fall, 2008.
Example of Simple and Multiple Regression
Advanced Research Methods in Psychology - lecture - Matthew Rockloff
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.
ANCOVA Lecture 9 Andrew Ainsworth. What is ANCOVA?
ANOVA Greg C Elvers.
CORRELATION & REGRESSION
Analysis of Covariance David Markham
Chapter 14: Repeated-Measures Analysis of Variance.
RMTD 404 Lecture 8. 2 Power Recall what you learned about statistical errors in Chapter 4: Type I Error: Finding a difference when there is no true difference.
Psych 5500/6500 ANOVA: Single-Factor Independent Means Fall, 2008.
Chapter 18 Four Multivariate Techniques Angela Gillis & Winston Jackson Nursing Research: Methods & Interpretation.
B AD 6243: Applied Univariate Statistics Repeated Measures ANOVA Professor Laku Chidambaram Price College of Business University of Oklahoma.
Educational Research: Competencies for Analysis and Application, 9 th edition. Gay, Mills, & Airasian © 2009 Pearson Education, Inc. All rights reserved.
1 Psych 5510/6510 Chapter 12 Factorial ANOVA: Models with Multiple Categorical Predictors and Product Terms. Spring, 2009.
1 Psych 5500/6500 t Test for Two Independent Means Fall, 2008.
Psychology 301 Chapters & Differences Between Two Means Introduction to Analysis of Variance Multiple Comparisons.
Statistics Psych 231: Research Methods in Psychology.
Chapter 20 For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 These tests can be used when all of the data from a study has been measured on.
1 Psych 5500/6500 Standard Deviations, Standard Scores, and Areas Under the Normal Curve Fall, 2008.
Statistics (cont.) Psych 231: Research Methods in Psychology.
Lecture 9 TWO GROUP MEANS TESTS EPSY 640 Texas A&M University.
University of Warwick, Department of Sociology, 2014/15 SO 201: SSAASS (Surveys and Statistics) (Richard Lampard) Week 7 Logistic Regression I.
Psych 5500/6500 Other ANOVA’s Fall, Factorial Designs Factorial Designs have one dependent variable and more than one independent variable (i.e.
1 Psych 5500/6500 t Test for Dependent Groups (aka ‘Paired Samples’ Design) Fall, 2008.
1 Psych 5510/6510 Chapter 14 Repeated Measures ANOVA: Models with Nonindependent ERRORs Part 3: Factorial Designs Spring, 2009.
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 11: Bivariate Relationships: t-test for Comparing the Means of Two Groups.
Chapter 12 For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 Chapter 12: One-Way Independent ANOVA What type of therapy is best for alleviating.
1 Psych 5500/6500 Measures of Variability Fall, 2008.
1 Psych 5510/6510 Chapter Eight--Multiple Regression: Models with Multiple Continuous Predictors Part 1: Testing the Overall Model Spring, 2009.
Chapter 10 The t Test for Two Independent Samples
1 Psych 5510/6510 Chapter 13 ANCOVA: Models with Continuous and Categorical Predictors Part 2: Controlling for Confounding Variables Spring, 2009.
Two-Way (Independent) ANOVA. PSYC 6130A, PROF. J. ELDER 2 Two-Way ANOVA “Two-Way” means groups are defined by 2 independent variables. These IVs are typically.
ONE-WAY BETWEEN-GROUPS ANOVA Psyc 301-SPSS Spring 2014.
Comparing Two Means Chapter 9. Experiments Simple experiments – One IV that’s categorical (two levels!) – One DV that’s interval/ratio/continuous – For.
Finishing up: Statistics & Developmental designs Psych 231: Research Methods in Psychology.
Tuesday, September 24, 2013 Independent samples t-test.
One-Way Analysis of Variance Recapitulation Recapitulation 1. Comparing differences among three or more subsamples requires a different statistical test.
Smith/Davis (c) 2005 Prentice Hall Chapter Fifteen Inferential Tests of Significance III: Analyzing and Interpreting Experiments with Multiple Independent.
1 Psych 5510/6510 Chapter 13: ANCOVA: Models with Continuous and Categorical Predictors Part 3: Within a Correlational Design Spring, 2009.
Outline of Today’s Discussion 1.The Chi-Square Test of Independence 2.The Chi-Square Test of Goodness of Fit.
Handout Six: Sample Size, Effect Size, Power, and Assumptions of ANOVA EPSE 592 Experimental Designs and Analysis in Educational Research Instructor: Dr.
Handout Ten: Mixed Design Analysis of Variance EPSE 592 Experimental Designs and Analysis in Educational Research Instructor: Dr. Amery Wu Handout Ten:
1 Psych 5510/6510 Chapter 14 Repeated Measures ANOVA: Models with Nonindependent ERRORs Part 2 (Crossed Designs) Spring, 2009.
Significance Tests for Regression Analysis. A. Testing the Significance of Regression Models The first important significance test is for the regression.
Outline of Today’s Discussion 1.Independent Samples ANOVA: A Conceptual Introduction 2.Introduction To Basic Ratios 3.Basic Ratios In Excel 4.Cumulative.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
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.
Week 14 Chapter 16 – Partial Correlation and Multiple Regression and Correlation.
Main Effects and Interaction Effects
Reasoning in Psychology Using Statistics
Reasoning in Psychology Using Statistics
Multivariate Analysis: Analysis of Variance
Presentation transcript:

1 Psych 5510/6510 Chapter 14 Repeated Measures ANOVA: Models with Nonindependent Errors Part 1 (Crossed Designs) Spring, 2009

2 Independence of Residuals All the analyses we have performed so far have assumed that the errors in our predictions (i.e. Y i -Ŷ i ), also known as the residuals, were independent of each other. Residuals are said to be independent if knowing one score’s residual does not help you predict another score’s residual.

3 Independence of Residuals For example, if Fred and Mary were two participants in an experiment, then their residuals are independent if the error in predicting Fred’s score is unrelated to (i.e. can’t be used to predict) the error in predicting Mary’s score. In an earlier lecture on the assumptions of the model comparison approach this was identified as perhaps the most important assumption not to violate.

4 Nonindependence of Residuals There are experimental designs, however, in which the residuals will not be independent. For example, if we measured Fred twice (as if he were two different subjects in the experiment). This is known as a repeated measures (measuring the same person more than once) or a within-subjects design.

5 Nonindependence of Residuals Another example of an experiment that lacks independence of residuals is one where there is some connection between people’s scores. For example, if we are measuring marital satisfaction and Fred and Mary are a married couple, then there is likely to be some connection between Fred’s scores and Mary’s scores.

6 Positive Nonindependence Remember that in a two-group design, the prediction of a person’s score is the mean of the group they are in. In the following chart if one spouse’s rating of marital satisfaction is below the mean then the other spouse’s rating is also likely to be below the mean. If one spouse’s rating is above the mean the other is also likely to be above the mean. This makes the scores within the couples more similar than the scores between the couples, which is called positive nonindependence.

7 Negative Nonindependence In the following chart if one spouse’s rating of housework performed is below the mean then the other spouse’s rating is likely to be above the mean. If one spouse’s rating is above the mean the other is also likely to be below the mean. This makes the scores within the couples more dissimilar than the scores between the couples, which is called negative nonindependence.

8 Nested Design In a nested design scores are nonindependent with other scores in the same group. Note that differences between Group 1 and Group 2 are ‘between subjects’ (i.e. different subjects in each group). s1,s1,s1 represents three scores on the dependent variable from the same person, or from the same family, or from the same committee, or any three scores that are likely to be nonindependent.

9 Crossed Design In a crossed design scores are nonindependent with other scores in a different group. Note that differences between Group 1 and Group 2 are ‘within-subjects’ (i.e. same subjects in each group). s1,s1 represents two scores on Y from the same subject, or from the same couple, or from the same family, or any two scores that are likely to be nonindependent....

10 Example of a Nested Design Dependent variable: number of puzzles a subject can complete in a set period of time. Independent variable: each subject assigned either to a condition where the experimenter is watching or where the experimenter is absent. Repeated measure: each subject is given two sets of puzzles to solve.

11 Design

12 Data Y hi h is which observation for that subject, i is which subject (i.e. Y 25 = 4) n = number of subjects and s = number of scores per subject. n=6, s=2, so the total number of observations = ns = 12

13 Inappropriate Analysis First let’s analyze the data in an inappropriate way by ignoring the lack of independence among scores within each group, and simply analyze the data as a two-group design with six scores in each group. The categorical independent variable X i (experimenter present/absent) will be contrast coded, ‘1’ if present, ‘-1’ if absent.

14 SPSS Setup SubjectYX (group) S18 S17 S29 S29 S35 S36 S S S Note each subject appears twice, violating assumption of independence.

15 Inappropriate Analysis (cont.) Model C: Ŷ i = β o Ŷ i = 5.5 SSE(C) = Model A: Ŷ i = β o + β 1 X i Ŷ i = X i SSE(A) = The unweighted mean of the two group means equals 5.5, the difference between the two group means equals 2*1.83=3.66.

16 Inappropriate Analysis (cont.) The difference in mean scores between exp present and exp absent is statistically significant. Source bSSdfMSF*PREp SSRRegressionModel (X i ) SSE(A)ResidualError SSE(C)Total

17 Residuals Appears to be positive nonindependence among residuals (as for the most part if one residual is below the mean the other is too, if one residual is above the mean the other is too.

18 Basic Strategy for Repeated Measures If you have scores that are nonindependent (e.g. two or more scores from the same person), then turn them into one score. For example, we could make everyone’s score on the dependent variable be their mean score on the two puzzle sets (turning their two scores into just one...their mean score).

19 Mean score as D.V. Analyzing the mean score of each subject.

20 Setup SubjectYMYM X (group) S17.5 S29 S35.5 S431 S54.51 S63.51 Model C: Ŷ Mi = β o Model A: Ŷ Mi = β o + β 1 X i

21 Summary Table: Analysis of Mean Score Ŷ Mi = X i Note the value of p has changed compare to that of the inappropriate analysis (which had a p=.0006) Source (text) Source (SPSS) SourcebSSdfMSF*PREp SSRRegressionModel (X i ) SSE(A)ResidualError SSE(C)Total 27.55

22 A Better Way A similar, but better, way to combine the nonindependent scores into one score is to use: Where δ h (delta) is the weight you give an individual score for that subject.

23 I know......the formula looks terrible but it is quite simple. For nested designs we will use δ h = 1 for each score from the subject. When we do that we will symbolize it as W 0i Thus the single score for subject one would be:

24 More Examples If we had 3 scores per subject it would like like this (say the 3 rd score for subject one was 10): If we had an a priori reason for having the score on the second set count twice as much as the score on the first set (perhaps the second set had twice as many puzzles to solve) we could use:

25 Note This formula is pretty close to what we would do to get the mean score for the subject, the difference lies in the denominator. The value of doing it as ‘W’ will become clear later.

26 W oi as our Dependent Variable Note we only have 6 scores now, not 12, and they are independent. The W oi Scores

27 Setup SubjectW oi X (group) S S S37.78 S S S Model C: Ŵ i = β o Model A: Ŵ i = β o + β 1 X i Rather than modeling each person’s two Y scores, we are modeling their W 0 score which combines their performance on both puzzle sets.

28 Analysis using W 0i If we regress W oi on X i we get: Ŵ oi = X i b 0 =7.78 is the unweighted mean value of Ŵ oi b 1 =2.59, (2.59)(2)=5.18 is the difference between the mean values of Ŵ oi in the two groups. If we divide the coefficients by the denominator of W oi, then we get back to meaningful metrics in terms of Y. Ŷi= Xi, which is the same regression formula we arrived at through the inappropriate analysis of regression Y on X. The difference from doing it appropriately has to do with getting the correct SS and p value (see next slide).

29 Summary Table Analysis of W oi (compare to inappropriate analysis..repeated on next slide) The convention is to translate the b values in the table back into the original measure (Y), thus the value for b 1 given above is 1.83 rather than 2.59 (see the previous slide for how to translate). Source (text) Source (SPSS) SourcebSSdfMSF*PREp SSRRegressionModel (X i ) SSE(A)ResidualError SSE(C)Total 555

30 Inappropriate Analysis (Repeated) Source bSSdfMSF*PREp SSRRegressionModel (X i ) SSE(A)ResidualError SSE(C)Total

31 Where’d it go? The SS error and SS total dropped by 2 when we went from the inappropriate analysis (with all 12 Y i scores) to the appropriate analysis (with 6 w 0i scores). This was the within-subjects variance (e.g. the variance of the two scores for subject 1, and the variance of the two scores for subject 2...) that was lost when we went from two scores per person to one score per person.

32 Full Summary Table for the Nested Design The shaded area is the area of interest, the full table expresses the analysis of ALL of the data, including the nonindependent repeated measures. SS Total is the SS of ALL of the scores (just compute SS of all the Y scores) and SS WithinS is the SS within the repeated measures (computed by finding SS Total – SS BetweenS ). See next slide.

33 SS’s SS total is SS of all the Y scores ( ) SS within-subjects is SS within each subject (8 and 7, 9 and 9, 5 and 6, etc.). SS between-subjects is the SS of the W 0 scores ( ). SS model is how much the W 0 scores can be modeled by knowing which group the subject was in (X). SS error is how much the W 0 scores can not be modeled by knowing which group the subject was in (X).