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.

Slides:



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

Within Subjects Designs
Multiple Comparisons in Factorial Experiments
BPS - 5th Ed. Chapter 241 One-Way Analysis of Variance: Comparing Several Means.
Smith/Davis (c) 2005 Prentice Hall Chapter Thirteen Inferential Tests of Significance II: Analyzing and Interpreting Experiments with More than Two Groups.
PSY 307 – Statistics for the Behavioral Sciences
1 G Lect 14b G Lecture 14b Within subjects contrasts Types of Within-subject contrasts Individual vs pooled contrasts Example Between subject.
TWO-WAY BETWEEN SUBJECTS ANOVA Also called: Two-Way Randomized ANOVA Also called: Two-Way Randomized ANOVA Purpose: Measure main effects and interaction.
Experimental Design & Analysis
Analysis of Variance: Inferences about 2 or More 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.
Chapter 3 Analysis of Variance
Intro to Statistics for the Behavioral Sciences PSYC 1900 Lecture 17: Repeated-Measures ANOVA.
PSY 307 – Statistics for the Behavioral Sciences
Lecture 9: One Way ANOVA Between Subjects
Two Groups Too Many? Try Analysis of Variance (ANOVA)
PSY 1950 Repeated-Measures ANOVA October 29, 2008.
One-way Between Groups Analysis of Variance
Basic Analysis of Variance and the General Linear Model Psy 420 Andrew Ainsworth.
Analysis of Variance (ANOVA) Quantitative Methods in HPELS 440:210.
Analysis of Variance. ANOVA Probably the most popular analysis in psychology Why? Ease of implementation Allows for analysis of several groups at once.
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.
Repeated Measures ANOVA
Repeated Measures Design
ANOVA Greg C Elvers.
Review of Statistics Group Results. Which type of statistics? When comparing two group scores-Use the t-test. When comparing more than two scores: Use.
Chapter 11 HYPOTHESIS TESTING USING THE ONE-WAY ANALYSIS OF VARIANCE.
t(ea) for Two: Test between the Means of Different Groups When you want to know if there is a ‘difference’ between the two groups in the mean Use “t-test”.
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.
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
One-way ANOVA: - Inference for one-way ANOVA IPS chapter 12.1 © 2006 W.H. Freeman and Company.
ANOVA (Analysis of Variance) by Aziza Munir
Testing Multiple Means and the Analysis of Variance (§8.1, 8.2, 8.6) Situations where comparing more than two means is important. The approach to testing.
Psychology 301 Chapters & Differences Between Two Means Introduction to Analysis of Variance Multiple Comparisons.
Testing Hypotheses about Differences among Several Means.
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.
Repeated-measures ANOVA When subjects are tested on two or more occasions “Repeated measures” or “Within subjects” design Repeated Measures ANOVA But,
ANOVA: Analysis of Variance. The basic ANOVA situation Two variables: 1 Nominal, 1 Quantitative Main Question: Do the (means of) the quantitative variables.
BUSI 6480 Lecture 8 Repeated Measures.
ANOVA: Analysis of Variance.
Chapter 14 Repeated Measures and Two Factor 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.
1 ANALYSIS OF VARIANCE (ANOVA) Heibatollah Baghi, and Mastee Badii.
Chapter Seventeen. Figure 17.1 Relationship of Hypothesis Testing Related to Differences to the Previous Chapter and the Marketing Research Process Focus.
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.
Introduction to Basic Statistical Tools for Research OCED 5443 Interpreting Research in OCED Dr. Ausburn OCED 5443 Interpreting Research in OCED Dr. Ausburn.
Psy 230 Jeopardy Related Samples t-test ANOVA shorthand ANOVA concepts Post hoc testsSurprise $100 $200$200 $300 $500 $400 $300 $400 $300 $400 $500 $400.
ONE-WAY BETWEEN-GROUPS ANOVA Psyc 301-SPSS Spring 2014.
Correlated-Samples ANOVA The Univariate Approach.
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.
Introduction to ANOVA Research Designs for ANOVAs Type I Error and Multiple Hypothesis Tests The Logic of ANOVA ANOVA vocabulary, notation, and formulas.
Handout Ten: Mixed Design Analysis of Variance EPSE 592 Experimental Designs and Analysis in Educational Research Instructor: Dr. Amery Wu Handout Ten:
ANOVA Overview of Major Designs. Between or Within Subjects Between-subjects (completely randomized) designs –Subjects are nested within treatment conditions.
Slides to accompany Weathington, Cunningham & Pittenger (2010), Chapter 12: Single Variable Between- Subjects Research 1.
PROFILE ANALYSIS. Profile Analysis Main Point: Repeated measures multivariate analysis One/Several DVs all measured on the same scale.
Factorial BG ANOVA Psy 420 Ainsworth. Topics in Factorial Designs Factorial? Crossing and Nesting Assumptions Analysis Traditional and Regression Approaches.
Differences Among Groups
©2013, The McGraw-Hill Companies, Inc. All Rights Reserved Chapter 4 Investigating the Difference in Scores.
Chapter 14 Repeated Measures and Two Factor Analysis of Variance PowerPoint Lecture Slides Essentials of Statistics for the Behavioral Sciences Seventh.
Education 793 Class Notes ANCOVA Presentation 11.
Effect Sizes for Continuous Variables William R. Shadish University of California, Merced.
Don't Sweat the Simple Stuff (But it's not all Simple Stuff)
Basic Practice of Statistics - 5th Edition
Repeated Measures ANOVA
Repeated Measures ANOVA
ANOVA: Analysis of Variance
Presentation transcript:

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 the notation A(B). We have encountered nesting before, since Subjects are typically nested in Treatment, S(T), in the randomized two group experiment.

NESTED DESIGNS

ANOVA TABLE Note: no interactions can occur between nested factors

ESTIMATING VARIANCES  2 C = (MS C – MS P )/p Conceptually this is = (  2  +p  2 c -  2  )/p 

TESTING CONTRASTS Thus, if one wanted to compare School 1 to School 2, the contrast would be C 12 = [ X school 1 - X school 2 ] Since the school mean is equal to overall mean + school 1 effect + error of school: X school 1 = ...+  1. + e 1.,

TESTING CONTRASTS the variance of School 1 is VAR(X school 1 ) = {  2  +  2 S }/s = { MS(P(C(S))) + [MS(S) - MS(C(S)]/cp} / s Then t = C 12 /{ 2[MS(P(C(S)))+[MS(S)-MS(C(S)]/cp]/s} which is t-distributed with 1, df= Satterthwaite approximation

Satterthwaite approximation df= { cpMS(P(C(S)))/s + [MS(S) - MS(C(S)]/s } 2 {cpMS(P(C(S)))/s } 2 + {[MS(S)} 2 + {MS(C(S)]/s } 2 (p-1)cscp(s-1)p(c-1)

HLM - GLM differences GLM uses incorrect error terms in HLM designs –Multiple comparisons using GLM estimates will be incorrect in many designs HLM uses estimates of all variances associated with an effect to calculate error terms

Repeated Measures Multiple measurements on the same individual –Time series –Identically scaled variables Measurements on related individuals or units –Siblings (youngest to oldest among trios of brothers) –Spatially ordered observations along a dimension

WITHIN-GROUP DESIGNS Within group designs We encountered a repeated measures design in Chapter Six in the guise of the dependent t-test design. : _ _ t = x 1. – x 2. / s d where s d = [ ( s s 2 2 – 2 r 12 s 1 s 2 )/n ] 1/2

WITHIN-GROUP DESIGNS MODEL y ij =  +  i +  j + e ij where y ij = score of person i at time j,  = mean of all persons over all occasions,  i = effect of person i,  j = effect of occasion j, e ij = error or unpredictable part of score.

EXPECTED MEAN SQUARES FOR WITHIN-GROUP DESIGN SourcedfExpected mean square PP-1  2 e + O  2  OO-1  2 e +  2  + P  2  PO (P-1)(O-1)  2 e +  2  error 0  2 e Table 11.1: Expected mean square table for P x O design

EXPECTED MEAN SQUARES FOR WITHIN-GROUP DESIGN ANOVA Table SourcedfSS MS F Within-subject PersonP-1O  (y i. – y.. ) 2 SS P /(P-1) - Occasion O-1 P  (y.j – y.. ) 2 SS O /(O-1)MS O /MS PO P x O(P-1)(O-1)  ( y ij – y.. ) 2 SS PO /(P-1)(O-1) - error 00 -

VENN DIAGRAM FOR WITHIN-GROUP DESIGN

SPHERICITY ASSUMPTION  ij =  ij for all j, j (equal covariances) and  ij =  ij for all I and j (equal variances) By treating each occasion as a variable, we can represent this covariance matrix, called a compound symmetric matrix, as  11  12  13 …  =  21  22  23 …  31  32  33 …. with  12 =  21 =  31 =  32

Testing Sphericity GLM uses Huynh-Feldt or Greenhouse- Geisser corrections to the degrees of freedom as sphericity is violated –reduces degrees of freedom and power HLM allows specifying the form of the covariance matrix –Compound symmetry (sphericity) –Autoregressive processes –Unstructured covariance (no limitations)

Factorial Within-Group Designs

Between- and Within-group Designs BETWEEN SOURCE dfSSMSFerror term Treat P(Treat) Person WITHIN Time P(Treat) x Time Treat x Time P(Treat) x Time P(Treat) x Time

Venn Diagram for Between and Within Design

Doubly Repeated (Time x Rep) Between and Within Design Treatment Person (Treatment) Time Time x Treatment Person (Treatment) x Time Person (Treatment) x Rep Treatment x Rep Rep Person (Treatment) x Time x Rep Treatment x Rep x Time Time x Rep BETWEENWITHIN

HLM-GLM distinctions HLM correctly estimates contrasts for any hierarchical between-factors HLM correctly estimates all within-subject contrasts GLM does not estimate within-subject contrasts correctly

The corrections to the F-test should be made given that the sphericity test was significant. For Greenhouse-Geisser, the df for the F-test are reduced to 1, N-1 or 1, 1658, so that the F-statistic is still significant at p <.001. For the Huynh and Feldt epsilon statistic, the degrees of freedom are adjusted by the amount.732: df numerator = 3 x.732 = 2.196; df denominator = 4974 x.732 = The fraction df can either be rounded down or a program, such as available in SAS, can provide the exact probability. For the df = 2,3640 the F-statistic is still significant. Kirk (1996) discussed in detail various adjustments and recommends one by Collier, Baker, Mandeville, and Hayes (1967), but the computation is cumbersome; HLM analyses compute it.