1 G89.2228 Lect 13b G89.2228 Lecture 13b Mixed models Special case: one entry per cell Equal vs. unequal cell n's.

Slides:



Advertisements
Similar presentations
Randomized Complete Block and Repeated Measures (Each Subject Receives Each Treatment) Designs KNNL – Chapters 21,
Advertisements

Mixed Designs: Between and Within Psy 420 Ainsworth.
Topic 12: Multiple Linear Regression
General Linear Model With correlated error terms  =  2 V ≠  2 I.
Research Support Center Chongming Yang
FACTORIAL ANOVA Overview of Factorial ANOVA Factorial Designs Types of Effects Assumptions Analyzing the Variance Regression Equation Fixed and Random.
Issues in factorial design
Incomplete Block Designs. Randomized Block Design We want to compare t treatments Group the N = bt experimental units into b homogeneous blocks of size.
Topic 12 – Further Topics in ANOVA
Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 15 Analysis of Data from Fractional Factorials and Other Unbalanced.
Psychology 202a Advanced Psychological Statistics December 9, 2014.
1 Chapter 4 Experiments with Blocking Factors The Randomized Complete Block Design Nuisance factor: a design factor that probably has an effect.
Chapter 4 Randomized Blocks, Latin Squares, and Related Designs
Random Effects & Repeated Measures Alternatives to Fixed Effects Analyses.
Assumptions: In addition to the assumptions that we already talked about this design assumes: 1)Two or more factors, each factor having two or more levels.
1 G Lect 14b G Lecture 14b Within subjects contrasts Types of Within-subject contrasts Individual vs pooled contrasts Example Between subject.
N-way ANOVA. Two-factor ANOVA with equal replications Experimental design: 2  2 (or 2 2 ) factorial with n = 5 replicate Total number of observations:
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.
Chapter 11 Analysis of Variance
ANOVA Determining Which Means Differ in Single Factor Models Determining Which Means Differ in Single Factor Models.
Clustered or Multilevel Data
Lecture 9: One Way ANOVA Between Subjects
Experimental Design & Analysis
Incomplete Block Designs
Wrap-up and Review Wrap-up and Review PSY440 July 8, 2008.
Two-Way Balanced Independent Samples ANOVA Overview of Computations.
Chap 10-1 Analysis of Variance. Chap 10-2 Overview Analysis of Variance (ANOVA) F-test Tukey- Kramer test One-Way ANOVA Two-Way ANOVA Interaction Effects.
Biostatistics-Lecture 9 Experimental designs Ruibin Xi Peking University School of Mathematical Sciences.
ANCOVA Lecture 9 Andrew Ainsworth. What is ANCOVA?
Factorial Experiments
Statistical Techniques I EXST7005 Factorial Treatments & Interactions.
One-Factor Experiments Andy Wang CIS 5930 Computer Systems Performance Analysis.
Fixed vs. Random Effects
The following Analysis of Variance table lists the results from a two-factor experiment. Factor A was whether shelf price was raised or not, and factor.
Stats Lunch: Day 7 One-Way ANOVA. Basic Steps of Calculating an ANOVA M = 3 M = 6 M = 10 Remember, there are 2 ways to estimate pop. variance in ANOVA:
Design of Engineering Experiments Part 4 – Introduction to Factorials
G Lecture 5 Example fixed Repeated measures as clustered data
Module 8: Estimating Genetic Variances Nested design GCA, SCA Diallel
So far... We have been estimating differences caused by application of various treatments, and determining the probability that an observed difference.
The Randomized Complete Block Design
Sums of Squares. Sums of squares Besides the unweighted means solution, sums of squares can be calculated in various ways depending on the situation and.
Two-Way Balanced Independent Samples ANOVA Computations.
1 G Lect 14a G Lecture 14a Examples of repeated measures A simple example: One group measured twice The general mixed model Independence.
Psych 5500/6500 Other ANOVA’s Fall, Factorial Designs Factorial Designs have one dependent variable and more than one independent variable (i.e.
The Completely Randomized Design (§8.3)
Intermediate Applied Statistics STAT 460 Lecture 17, 11/10/2004 Instructor: Aleksandra (Seša) Slavković TA: Wang Yu
Weighted and Unweighted MEANS ANOVA. Data Set “Int” Notice that there is an interaction here. Effect of gender at School 1 is = 45. Effect of.
1 G Lect 11a G Lecture 11a Example: Comparing variances ANOVA table ANOVA linear model ANOVA assumptions Data transformations Effect sizes.
1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 8 Analysis of Variance.
PSYC 3030 Review Session April 19, Housekeeping Exam: –April 26, 2004 (Monday) –RN 203 –Use pencil, bring calculator & eraser –Make use of your.
Statistics for Differential Expression Naomi Altman Oct. 06.
1 Overview of Experimental Design. 2 3 Examples of Experimental Designs.
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.
Single-Factor Studies KNNL – Chapter 16. Single-Factor Models Independent Variable can be qualitative or quantitative If Quantitative, we typically assume.
Inferential Statistics 4 Maarten Buis 18/01/2006.
Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 18 Random Effects.
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.
1 G Lect 13a G Lecture 13a Power for 2 way ANOVA Random effects Expected MS Mixed models Special case: one entry per cell.
Chapter 4 Analysis of Variance
IE241: Introduction to Design of Experiments. Last term we talked about testing the difference between two independent means. For means from a normal.
One-Way Analysis of Variance Recapitulation Recapitulation 1. Comparing differences among three or more subsamples requires a different statistical test.
1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 9 Review.
ANOVA Overview of Major Designs. Between or Within Subjects Between-subjects (completely randomized) designs –Subjects are nested within treatment conditions.
1 Mixed and Random Effects Models 1-way ANOVA - Random Effects Model 1-way ANOVA - Random Effects Model 2-way ANOVA - Mixed Effects Model 2-way ANOVA -
Psychology 202a Advanced Psychological Statistics December 8, 2015.
Factorial BG ANOVA Psy 420 Ainsworth. Topics in Factorial Designs Factorial? Crossing and Nesting Assumptions Analysis Traditional and Regression Approaches.
1 G Lect 10M Contrasting coefficients: a review ANOVA and Regression software Interactions of categorical predictors Type I, II, and III sums of.
Random Effects & Repeated Measures
Randomized Complete Block and Repeated Measures (Each Subject Receives Each Treatment) Designs KNNL – Chapters 21,
Factorial ANOVA 2 or More IVs.
Presentation transcript:

1 G Lect 13b G Lecture 13b Mixed models Special case: one entry per cell Equal vs. unequal cell n's

2 G Lect 13b Mixed Models: One Factor Random, One Factor Fixed Suppose we replicate a simple experiment at a sample of different universities –Experimental factors: fixed –Universities: considered random Suppose we measure attention span of 30 children at five developmental times –Times: fixed –Individual children: random Suppose we manipulate three learning motivation protocols and study their effects with a five samples of study words –Learning protocols: fixed –Study words: random

3 G Lect 13b Mixed Models: Expected Mean Squares Model: Y ijk = µ +  i +  j +  ij + e ijk Define A as fixed and B as random The Expected MS The F ratios are thus: –Effect A: –Effect B: –Effect AB:

4 G Lect 13b Notes on Defining Effects as Random Sometimes studies are carried out in different sites or at different times E.g., Suppose a college friend and you collaborate to test a fixed effect A with 4 levels. Each of you randomly assigns 25 subjects to each level. You pool your data and plan to call study site factor B. Your total N is 200. If you treat B as fixed, the F for factor A is F(3,192). The denominator MS is MS E (within cell). If you treat B as random, the F for factor A is F(3,3). The denominator MS for the fixed effect A is MS AB. One wants to generalize across all sites, but the cost in power is very high.

5 G Lect 13b Special Case: Single entry per cell Suppose that all forty words (a=40) were tested with the same set of b subjects from a single university. Factor A is Words (random) and Factor B is subjects (random). No replications within cell are available, and so it is not possible to estimate MS E. Under the random effects model, MS AB is the appropriate error term, and it can be estimated. Under a mixed model (if words were specific fixed conditions), the appropriate test of the subjects effect is not possible. By convention, we assume that there is no interaction and test the random effect with MS AB.

6 G Lect 13b Example: Data on Stem Completion: CA _ _ _

7 G Lect 13b Example: Analysis

8 G Lect 13b New issue: Unequal cell n's in ANOVA designs When the sample size is not the same in the cells of a factorial ANOVA, and when the cell sizes are not proportional, then we say we have a nonorthogonal design. Nonorthogonal = “correlated”, and in a nonorthogonal design the indicators of Factor A and of Factor B are correlated. The lack of balance implies that cells may have different impacts on main effects of A and of B as a function of the n i ’s when the main effects are computed as simple averages of all available data.

9 G Lect 13b Approaches to nonorthogonal designs Unweighted Means solution –Discussed by Howell –Called Unique effects in SPSS –Called Type III effects in SAS –Equivalent to “adjusting” all effects for the presence of all others –Sums of squares from analysis do not add up “Experimental” Approach of SPSS –Called Type II effects in SAS –Main effects are adjusted for each other but not for interaction –Two way interactions adjusted for each other, but not for higher order interactions –Sums of squares do not add up “Hierarchical” Approach of SPSS –Called Type I effects in SAS –Hierarchical regression approach used –First factor is not adjusted for anything –Second factor is adjusted for first only –Third term is adjusted for first and second (and so on) –Sums of squares do add up.

10 G Lect 13b ANOVA in Experiments and ANOVA in surveys Experimental data are usually balanced or almost balanced. When n i ’s are close, the various approaches lead to same results In surveys, sample sizes in factor level are often determined by the population structure. If you expect to work with unbalanced designs, although ANOVA can be treated as a special case of regression, use of the regression approach directly will provide you with more options (e.g. the hierarchical approach)