Presentation is loading. Please wait.

Presentation is loading. Please wait.

LECTURE 13 ANALYSIS OF COVARIANCE AND COVARIANCE INTERACTION and ATI (Aptitude-Treatment Interaction)

Similar presentations


Presentation on theme: "LECTURE 13 ANALYSIS OF COVARIANCE AND COVARIANCE INTERACTION and ATI (Aptitude-Treatment Interaction)"— Presentation transcript:

1 LECTURE 13 ANALYSIS OF COVARIANCE AND COVARIANCE INTERACTION and ATI (Aptitude-Treatment Interaction)

2 ANCOVA ANCOVA model The simplest ANCOVA model includes a covariate C, an exogenous treatment variable X, and an outcome Y: y ij =  y +  i  ij +  c ij + e ij This is a regression equation relating the exogenous variables to the endogenous outcome. In classical ANOVA terms, the model is written as y ij =  y +  i  i +  (c ij - c.. ) + e ij In this formulation the grand mean  y plays the same role as in ANOVA, the mean performance of all populations. The term  i  i is the effect of the treatment, and the term  ( c ij - x i. ) is the regression effect of the covariate deviation from the covariate grand mean on the outcome. This equation can be rewritten as y ij = (  -  C ) +  i  i +  c ij + e ij

3

4

5

6 SOURCEdfSum of SquaresMean Square F Covariate 1 R 2  (c ij – c..) 2 SS c SS c /MS e Treatment…k-1n  ( ŷ i. – y.. ) 2 SS treat / k-1 MS treat /MS e error n(k-1)-1  ( ŷ ij - ŷ i. ) 2 SS e / [n(k-1)-1]- total kn-1  ( ŷ ij – y.. ) 2 SS y.c / (n-1)- Table 12.1: Analysis of Covariance table

7 ss treat SS y Fig. 12.4: Venn diagram for ANCOVA withcovariate, k treatments and outcome SS e Covariate e a. Randomized design SS Covariate e ss treat, Type III SS e y b. Nonrandomized design SS c c

8

9

10

11

12

13

14

15

16 HLM Issues Random Intercepts and Slopes: –Suppose we assume the regressions for the various groups are NOT based on fixed covariate values but that these are samples from the population (the real situation). Then the intercepts and slopes are not fixed but can vary randomly from sample to sample –This means that the covariate is a RANDOM factor, not a fixed factor; either or both intercept and slope could be random.

17 Random Covariate Parameters Y = b 0j + b 1j X ij + e ij [student i in cluster j first level model] b 0j = g 00 + g 01 Z j + u 0j [intercept regression equation depends on cluster j second level value Z] b 1j = g 10 + g 11 Zj + u 1j [slope depends on cluster j second level value Z]

18 Random Covariate Parameters Example: students in a classroom: achievement Y is a function of expectation for mastery X Classrooms have a teacher-defined learning climate Z, and the level (intercept) of achievement Y depends on this climate as well as the relationship of achievement to expectation for mastery (slope)

19 Random Covariate Parameters Random intercepts Random slopes Covariate X Y b 1j = g 10 + g 11 Z j + u 1j b 0j = g 00 + g 01 Z j + u 0j Group 1 Group 2 Group 3 Group 4

20 Mixed Models procedures Fixed Effects ANOVA Table Source df MS F sig. Random Effects Variance-Covariance Table SourceVariance S.E.sig. SourcesCovariance S.E. sig.

21 SAS approach proc mixed noclprint covtest noitprint ; class cls ; model mnrat1=OVAG gen eth eth*gen gen*OVAG eth*OVAG gen*eth*OVAG /solution ddfm=bw ; random intercept OVAG/sub=cls type=un;

22 Covariance Parameter Estimates RANDOM EFFECTS Standard Z Cov Parm Subject Estimate Error Value Pr Z intercept UN(1,1) cls 0.1050 0.01486 7.06 <.0001 corr(i,s)UN(2,1) cls 0.02269 0.02523 0.90 0.3685 slope UN(2,2) cls 0.2211 0.08588 2.57 0.0050 Residual 0.3361 0.009478 35.46 <.0001 Type 3 Tests of Fixed Effects Num Den Effect DF DF F Value Pr > F OVAG 1 2650 435.46 <.0001 gen 1 152 18.43 <.0001 eth 1 164 18.99 <.0001 gen*eth 1 152 7.38 0.0074 OVAG*gen 1 2650 9.15 0.0025 OVAG*eth 1 2650 5.28 0.0217 OVAG*gen*eth 1 2650 0.03 0.8609


Download ppt "LECTURE 13 ANALYSIS OF COVARIANCE AND COVARIANCE INTERACTION and ATI (Aptitude-Treatment Interaction)"

Similar presentations


Ads by Google