Download presentation

Presentation is loading. Please wait.

Published byLindsey Forster Modified over 2 years ago

1
Random Effects & Repeated Measures Alternatives to Fixed Effects Analyses

2
Questions What is the difference between fixed- and random-effects in terms of treatments? How are F tests with random effects different than with fixed effects? Describe a concrete example of a randomized block design. You should have 1 factor as the blocking factor and one other factor as the factor of main interest.

3
Questions (2) How is a repeated measures design different from a totally between subjects design in the collection of the data? How does the significance testing change from the totally between to a design to one in which one or more factors are repeated measures (just the general idea, you don’t need to show actual F ratios or computations)? Describe one argument for using repeated measures designs and one argument against using such designs (or describe when you would and would not want to use repeated measures).

4
Fixed Effects Designs All treatment conditions of interest are included in the study All in cell get identical stimulus (treatment, IV combination) Interest is in specific means Expected mean squares are (relatively) simple; F tests are all based on common error term.

5
Random Effects Designs Treatment conditions are sampled; not all conditions of interest are included. Replications of the experiment would get different treatments Interest in the variance produced by an IV rather than means Expected mean squares relatively complex; the denominator for F changes depending on the effect being tested.

6
Fixed vs. Random RandomFixed ExamplesConditions Examples Persuasiveness of commercials Treatment Sampled All of interestSex of participant Experimenter effect Replication different Replication sameDrug dosage Impact of team members Variance due to IV Means due to IVTraining program effectiveness

7
Single Factor Random The expected mean squares and F-test for the single random factor are the same as those for the single factor fixed-effects design.

8
Experimenter effects (Hays Table 13.4.1) 12345 5.86.06.36.45.7 5.16.15.56.45.9 5.76.65.76.5 5.96.56.06.16.3 5.65.96.16.66.2 5.45.96.25.96.4 5.36.45.86.76.0 5.26.35.66.06.3 5.56.215.96.336.16

9
Sum of Source DF Squares Mean Square F Value Pr > F Model 4 3.48150000 0.87037500 10.72 <.0001 Error 35 2.84250000 0.08121429 Corrected Total 39 6.32400000

10
Random Effects Significance Tests (A & B random/within) SourceE(MS)Fdf AJ-1, (J-1)(K-1) BK-1, (J-1)(K-1) AxB(J-1)(K-1), JK(n-1) Error

11
Why the Funky MS? Treatment effects for A, B, & AxB are the same for fixed & random in the population of treatments. In fixed, we have the population, in random, we just have a sample. Therefore, in a given (random) study, the interaction effects need not sum to zero. The AxB effects appear in the main effects.

12
Applications of Random Effects Reliability and Generalizability –How many judges do I need to get a reliability of.8? –How well does this score generalize to a particular universe of scores? –Intraclass correlations (ICCs) Estimated variance components –Meta-analysis Control (Randomized Blocks and Repeated Measures)

13
Review What is the difference between fixed- and random-effects in terms of treatments? How are F tests with random effects different than with fixed effects?

14
Randomized Blocks Designs A block is a matched group of participants who are similar or identical on a nuisance variable Suppose we want to study effect of a workbook on scores on a test in research methods. A major source of nuisance variance is cognitive ability We can block students on cognitive ability.

15
Randomized Blocks (2) Say 3 blocks (slow, average, fast learners) Within each block, randomly assign to workbook or control. Resulting design looks like ordinary factorial (3x2), but people are not assigned to blocks. The block factor is sampled, i.e., random. The F test for workbook is more powerful because we subtract nuisance variance. Unless blocks are truly categorical, a better design is analysis of covariance, described after we introduce regression.

16
Randomized Blocks (3) SourceE(MS)Fdf A workbook (fixed) J-1, (J-1)(K-1) B learner (random) If desired, use MSe AxB(J-1)(K-1), JK(n-1) ErrorLook up designs

17
Review Describe a concrete example of a randomized block design. You should have 1 factor as the blocking factor and one other factor as the factor of main interest. Describe a study in which Depression is a blocking factor.

18
Repeated Measures Designs In a repeated measures design, participants appear in more than one cell. –Painfree study –Sports instruction Commonly used in psychology

19
Pros & Cons of RM ProCon Individuals serve as own control – improved power Carry over effects May be cheaper to runParticipant sees design - demand characteristics Scarce participants

20
RM – Participant ‘Factor’ SourcedfMSE(MS)F Between Subjects K-1No test Within Subjects TreatmentsJ-1 Subjects x Treatments (J-1)(K-1)No test TotalJK-1

21
Drugs on Reaction Time Order of drug random. All Ss, all drugs. Interest is drug. PersonDrug 1Drug 2Drug 3 Drug 4Mean 130281634 27 214181022 16 324201830 23 438342044 34 526281430 24.5 Mean 26.425.615.63224.9 Drug is fixed; person is random. ‘1 Factor’ repeated measures design. Notice 1 person per cell. We can get 3 SS: row, column, and residual (interaction plus error).

22
Total SS PersonDrug 1Drug 2Drug 3 Drug 4Mean 130281634 27 214181022 16 324201830 23 438342044 34 526281430 24.5 Mean 26.425.615.63224.9

23
Drug SS PersonDrugMD*DPersonDrugMD*D 1126.42.251315.686.49 2126.42.252315.686.49 3126.42.253315.686.49 4126.42.254315.686.49 5126.42.255315.686.49 1225.60.49143250.41 2225.60.49243250.41 3225.60.49343250.41 4225.60.49443250.41 5225.60.49543250.41 Total698.20

24
Person SS PersonDrugMD*DPersonDrugMD*D 1127 4.41 1327 4.41 2116 79.21 2316 79.21 3123 3.61 3323 3.61 4134 82.81 4334 82.81 5124.5 0.16 5324.5 0.16 1227 4.41 1427 4.41 2216 79.21 2416 79.21 3223 3.61 3423 3.61 4234 82.81 4434 82.81 5224.5 0.16 5424.5 0.16 Total680.8

25
Summary Total = 1491.8; Drugs = 698.2, People=680.8. Residual = Total –(Drugs+People) = 1491.8-(698.2+680.8) =112.8 SourceSSdfMSF Between People680.84Nuisance variance Within people (by summing) 811.015 Drugs698.23232.7324.76 Residual112.8129.40 Total1491.819Fcrit(.05)=3.95

26
SAS Run the same problem using SAS.

27
2 Factor, 1 Repeated SubjectB1B2B3B4M 100532 A1231543.25 343623.75 442785.25 A2554665.25 675895.75 M3.832.56.173.334.56 DV=errors in control setting dials; IV(A) is dial calibration - between; IV(B) is dial shape - within. Observation is randomized over dial shape.

28
data d1; input i1-i4; cards; 0 0 5 3 3 1 5 4 4 3 6 2 4 2 7 8 5 4 6 6 7 5 8 9 data d2; set d1; array z i1-i4; do over z; if _N_ le 3 then a =1; if _N_ gt 3 then a =2; sub = _N_; b = _I_; y=z; output; end; proc print; proc glm; class a b sub; model y = a b a*b sub(a) sub*b; test h=a e=sub(a)/htype=1 etype=1; test h=b a*b e=sub*b/htype=1 etype=1; run;

29
Summary SourceSSdfMSF Between people68.215 A(calibration)51.041 11.9 Subjects within groups 17.1744.29 Within people69.7518 B (dial shape)47.46315.8212.76 AB7.4632.492.01 BxSub within group 14.83121.24 Note that different factors are tested with different error terms.

30
SAS & Post Hoc Tests Run the same problem using SAS. The SAS default is to use what ever is residual as denominator of F test. You can use this to your advantage or else over-ride it to produce specific F tests of your desire. If you use the default error term, be sure you know what it is. Post hoc tests with repeated measures are tricky. You have to use the proper error term for each test. The error term changes depending on what you are testing. Be sure to look up the right error term.

31
Assumptions of RM Orthogonal ANOVA assumes homogeneity of error variance within cells. IVs are independent. With repeated measures, we introduce covariance (correlation) across cells. For example, the correlation of scores across subjects 1-3 for the first two calibrations is.89. Repeated measures designs make assumptions about the homogeneity of covariance matrices across conditions for the F test to work properly. If the assumptions are not met, you have problems and may need to make adjustments. You can avoid these assumptions by using multivariate techniques (MANOVA) to analyze your data. I suggest you do so. If you use ANOVA, you need to look up your design to get the right F tests and check on the assumptions.

32
Review How is a repeated measures design different from a totally between subjects design in the collection of the data? How does the significance testing change from the totally between to a design to one in which one or more factors are repeated measures (just the general idea, you don’t need to show actual F ratios or computations)? Describe one argument for using repeated measures designs and one argument against using such designs (or describe when you would and would not want to use repeated measures).

Similar presentations

OK

DOCTORAL SEMINAR, SPRING SEMESTER 2007 Experimental Design & Analysis Analysis of Covariance; Within- Subject Designs March 13, 2007.

DOCTORAL SEMINAR, SPRING SEMESTER 2007 Experimental Design & Analysis Analysis of Covariance; Within- Subject Designs March 13, 2007.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on revolt of 1857 leaders Ppt on water resources management in india Convert pdf ppt to ppt online templates Mis ppt on nokia x Ppt on central limit theorem in statistics Ppt on network security attacks Ppt on viruses and anti viruses list Plasma panel display ppt online Ppt on viruses and bacteria images Ppt on ordinal numbers for grade 1