1 G89.2228 Lect 14b G89.2228 Lecture 14b Within subjects contrasts Types of Within-subject contrasts Individual vs pooled contrasts Example Between subject.

Slides:



Advertisements
Similar presentations
Analysis of Variance (ANOVA)
Advertisements

Week 2 – PART III POST-HOC TESTS. POST HOC TESTS When we get a significant F test result in an ANOVA test for a main effect of a factor with more than.
Mixed Designs: Between and Within Psy 420 Ainsworth.
One-Way BG ANOVA Andrew Ainsworth Psy 420. Topics Analysis with more than 2 levels Deviation, Computation, Regression, Unequal Samples Specific Comparisons.
Research Support Center Chongming Yang
Statistics for the Social Sciences
Analytic Comparisons & Trend Analyses Analytic Comparisons –Simple comparisons –Complex comparisons –Trend Analyses Errors & Confusions when interpreting.
More on ANOVA. Overview ANOVA as Regression Comparison Methods.
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.
C82MST Statistical Methods 2 - Lecture 7 1 Overview of Lecture Advantages and disadvantages of within subjects designs One-way within subjects ANOVA Two-way.
Analysis of Covariance Goals: 1)Reduce error variance. 2)Remove sources of bias from experiment. 3)Obtain adjusted estimates of population means.
Lesson #23 Analysis of Variance. In Analysis of Variance (ANOVA), we have: H 0 :  1 =  2 =  3 = … =  k H 1 : at least one  i does not equal the others.
ANCOVA Psy 420 Andrew Ainsworth. What is ANCOVA?
Experimental Design Terminology  An Experimental Unit is the entity on which measurement or an observation is made. For example, subjects are experimental.
Two Groups Too Many? Try Analysis of Variance (ANOVA)
DOCTORAL SEMINAR, SPRING SEMESTER 2007 Experimental Design & Analysis Further Within Designs; Mixed Designs; Response Latencies April 3, 2007.
One-Way ANOVA Independent Samples. Basic Design Grouping variable with 2 or more levels Continuous dependent/criterion variable H  :  1 =  2 =... =
Factorial Within Subjects Psy 420 Ainsworth. Factorial WS Designs Analysis Factorial – deviation and computational Power, relative efficiency and sample.
Repeated Measures ANOVA Used when the research design contains one factor on which participants are measured more than twice (dependent, or within- groups.
Repeated Measures Design
T-test Mechanics. Z-score If we know the population mean and standard deviation, for any value of X we can compute a z-score Z-score tells us how far.
Repeated Measures Design
Calculations of Reliability We are interested in calculating the ICC –First step: Conduct a single-factor, within-subjects (repeated measures) ANOVA –This.
Which Test Do I Use? Statistics for Two Group Experiments The Chi Square Test The t Test Analyzing Multiple Groups and Factorial Experiments Analysis of.
Applications The General Linear Model. Transformations.
B AD 6243: Applied Univariate Statistics Repeated Measures ANOVA Professor Laku Chidambaram Price College of Business University of Oklahoma.
Factorial Design One Between-Subject Variable One Within-Subject Variable SS Total SS between subjects SS within subjects Treatments by Groups Treatments.
Effect Size Estimation in Fixed Factors Between-Groups ANOVA
Orthogonal Linear Contrasts This is a technique for partitioning ANOVA sum of squares into individual degrees of freedom.
Effect Size Estimation in Fixed Factors Between- Groups Anova.
Psychology 301 Chapters & Differences Between Two Means Introduction to Analysis of Variance Multiple Comparisons.
1 G Lect 6W Polynomial example Orthogonal polynomials Statistical power for regression G Multiple Regression Week 6 (Wednesday)
Repeated Measurements Analysis. Repeated Measures Analysis of Variance Situations in which biologists would make repeated measurements on same individual.
1 G Lect 14a G Lecture 14a Examples of repeated measures A simple example: One group measured twice The general mixed model Independence.
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
Orthogonal Linear Contrasts This is a technique for partitioning ANOVA sum of squares into individual degrees of freedom.
Social Science Research Design and Statistics, 2/e Alfred P. Rovai, Jason D. Baker, and Michael K. Ponton Within Subjects Analysis of Variance PowerPoint.
1 G Lect 11a G Lecture 11a Example: Comparing variances ANOVA table ANOVA linear model ANOVA assumptions Data transformations Effect sizes.
Mixed designs. We’ve discussed between groups designs looking at differences across independent samples We’ve also talked about within groups designs.
1 Psych 5510/6510 Chapter 14 Repeated Measures ANOVA: Models with Nonindependent ERRORs Part 3: Factorial Designs Spring, 2009.
Stats/Methods II JEOPARDY. Jeopardy Compare & Contrast Repeated- Measures ANOVA Factorial Design Factorial ANOVA Surprise $100 $200$200 $300 $500 $400.
1 ANALYSIS OF VARIANCE (ANOVA) Heibatollah Baghi, and Mastee Badii.
Assignment 1 February 15, 2008Slides by Mark Hancock.
SPSS meets SPM All about Analysis of Variance
Analysis and Interpretation: Analysis of Variance (ANOVA)
General Linear Model.
Stats Lunch: Day 8 Repeated-Measures ANOVA and Analyzing Trends (It’s Hot)
Orthogonal Linear Contrasts A technique for partitioning ANOVA sum of squares into individual degrees of freedom.
1 G Lect 13a G Lecture 13a Power for 2 way ANOVA Random effects Expected MS Mixed models Special case: one entry per cell.
Stats/Methods II JEOPARDY. Jeopardy Chi-Square Single-Factor Designs Factorial Designs Ordinal Data Surprise $100 $200$200 $300 $500 $400 $300 $400 $300.
Remember You just invented a “magic math pill” that will increase test scores. On the day of the first test you give the pill to 4 subjects. When these.
CRD, Strength of Association, Effect Size, Power, and Sample Size Calculations BUSI 6480 Lecture 4.
ANOVA Overview of Major Designs. Between or Within Subjects Between-subjects (completely randomized) designs –Subjects are nested within treatment conditions.
HIERARCHICAL LINEAR MODELS. NESTED DESIGNS A factor A is said to be nested in factor B if the levels of A are divided among the levels of B. This is given.
More repeated measures. More on sphericity With our previous between groups Anova we had the assumption of homogeneity of variance With repeated measures.
1 G Lect 13b G Lecture 13b Mixed models Special case: one entry per cell Equal vs. unequal cell n's.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture #10 Testing the Statistical Significance of Factor Effects.
Quantitative methods and R – (2) LING115 December 2, 2009.
Factorial BG ANOVA Psy 420 Ainsworth. Topics in Factorial Designs Factorial? Crossing and Nesting Assumptions Analysis Traditional and Regression Approaches.
29 October 2009 MRC CBU Graduate Statistics Lectures 4: GLM: The General Linear Model - ANOVA & ANCOVA1 MRC Cognition and Brain Sciences Unit Graduate.
Chapter 14 Repeated Measures and Two Factor Analysis of Variance PowerPoint Lecture Slides Essentials of Statistics for the Behavioral Sciences Seventh.
Multivariate vs Univariate ANOVA: Assumptions. Outline of Today’s Discussion 1.Within Subject ANOVAs in SPSS 2.Within Subject ANOVAs: Sphericity Post.
Effect Sizes for Continuous Variables William R. Shadish University of California, Merced.
Effect Sizes (continued)
Week 2 – PART III POST-HOC TESTS.
Repeated Measures Analysis: An Example Math tools: Notation
Repeated Measures ANOVA
Statistics for the Social Sciences
Ch. 14: Comparisons on More Than Two Conditions
Presentation transcript:

1 G Lect 14b G Lecture 14b Within subjects contrasts Types of Within-subject contrasts Individual vs pooled contrasts Example Between subject effects in repeated measures design Mapping the repeated measures contrasts on to the mixed model ANOVA

2 G Lect 14b Within subjects contrasts When we compute a paired t-test with repeated measures data, we are calculating a planned contrast on the within-subjects design. ► The average and the difference completely represent the paired data lists. ► The difference score completely represents the time (occasion) effect When we have more than two times (T>2), we can consider a broader class of contrasts. These can be used to partition the (T-1) degrees of freedom for occasion just as we have partitioned the between subjects degrees of freedom in factorial ANOVA

3 G Lect 14b Types of within-subject contrasts FACTORIAL DESIGN: Suppose there are four measurements reflecting a factorial within-subjects design: A 1 B 1, A 1 B 2, A 2 B 1, A 2 B 2. There would be (4-1)=3 degrees of freedom and they would be partitioned into main effects for A and B and an AB interaction. These three degrees of freedom can be thought of as three contrasts of the four ordered conditions: A 1 B 1, A 1 B 2, A 2 B 1, A 2 B 2 ► ( ) A1 vs A2 ► ( ) B1 vs B2 ► ( ) AB interaction

4 G Lect 14b Types of within-subject contrasts TREND ANALYSIS: Suppose there are four measurements reflecting four equally spaced measurements over time. The 3 occasion degrees of freedom can be partitioned into a linear trend, a quadratic curve form and a cubic curve form. ► ( ) linear trend ► ( ) quadratic trend ► ( ) cubic trend ► E.g. for data points ( ) Linear: 8; Quadratic 2; Cubic

5 G Lect 14b Individual vs pooled contrasts Individual contrasts could be analyzed just as we have analyzed the difference scores in paired t tests. ► Use COMPUTE statement in SPSS to compute the contrast for each subject and then check to see if the average of the contrasts is zero. With N subjects, each test would be on N-1 degrees of freedom If we are willing to consider the ANOVA Mixed Model as correct, we can pool the 3 degrees of freedom and test an overall occasion effect. In this case the degrees of freedom for the error term are 3(N-1), and the concerns about the sphericity assumption holds.

6 G Lect 14b Example We previously considered an example of four time points measured on 15 subjects: If we computed separate contrasts we would have found the following: Source df c MS C df e MS E F(1,14) linear quadr cubic Note that the average of the MS C equal the overall MS C shown in the mixed model analysis. The average of the MS E is the error term in the mixed model. This works because contrasts were scaled to length 1 in SPSS.

7 G Lect 14b Between subject effects in repeated measures design Suppose we have two or more groups of subjects that have been measured T times. If we wanted to test group effects at any given time, t, we would have the usual one way ANOVA model Following our discussion of contrasts, we know we could transform the sequence of measures over time, into a set of specific contrasts. If we call the k th contrast then we could compute the one way ANOVA on this new variable. ► This would allow us to determine if there are group differences in the contrasts, such as slope, quadratic effects. ► The degrees of freedom for error would be (N-1)g, where g is the number of groups.

8 G Lect 14b Full accounting for repeated measures effects when comparing between-subject groups. If there are T repeated measures, then we can construct T-1 contrasts that fully represent the original data when considered with the average of the T measures. SPSS and other programs will construct this set of contrasts when instructed to do so. Orthogonal contrasts, such as polynomial coefficients or factorial design contrasts, split the information about the repeated measures into distinct partitions. Consider the T measures [Y 1ij Y 2ij... Y Tij ] being represented as for each subject i in group j. ► Z 0ij is the scaled (length 1) average of the Y values ► Z 1 to Z (T-1) are the (T-1) occasion contrasts. We carry out the ANOVA on

9 G Lect 14b Mixed Model ANOVA Model The mixed model ANOVA provides a framework for pooling subject-time error terms into a global mean square term. The structural model for the between groups repeated measures analysis is where µ is the overall mean  ij is the effect of the i th subject in group j  t is the effect of the t th time point  j is the effect of the j th group  tj is the group by time interaction  tij is the time by subject interaction  tij is the residual term

10 G Lect 14b Mapping the repeated measures contrasts on to the mixed model ANOVA When we compute the one way anova on each individual contrast term in we get answers to both the contrast-based approach and the mixed model approach to repeated measures. The overall average of gives information about ► the grand mean, µ ► and the overall time effects,  t The comparison of group means on gives information about ► the average group effects,  j ► and the group by time effects,  tj The within group variance gives information about ► The overall subject effects (averaged across time),  ij ► and the residual variances,  tij +  tij