Forced ChoiceFree Response SubjectRitalinAdderallCaffeineControlRitalinAdderallCaffeineControl This is a Repeated Measures Analysis with 2 factors Question and Drug We’re going to find between subjects SS, between Drug SS and between Question SS Then we’re going to find the interaction of SS_sub x drug and SS_sub x question which will be our error terms for our two factors of interest Drug and Question (We don’t care about between subjects but will calculate it for later use) The we calculate SS_drug x question interaction. Then we will calculate Total SS and subtract all the previous SS to get our final interaction SS_sub x drug x question, which we will use as the error term for our SS_drug x question interaction. Question Drug
Forced ChoiceFree Response SubjectRitalinAdderallCaffeineControlRitalinAdderallCaffeineControl SSbetween_subjects = n LevelQ x n LevelD ∑ (Ms-M) 2 1)∑(Collapse (mean) across Subject 1 – Grand Mean) 2 Then subject 2, etc… then sum 2) Multiply sum by nLevelQ = 2, n LevelD = 4 2X4 = 8 (or number of x’s in mean across sub (in red) also 8) df= number of subjects -1 4-1=4 ─ SS_between_subjects
Forced ChoiceFree Response SubjectRitalinAdderallCaffeineControlRitalinAdderallCaffeineControl SSdrug = n*LevelQ ∑ (M drug -M) 2 Collapse (mean) across drug, ignoring choice ─ Ritalin Subject = Ritalin 1)∑ (Mean Drug group (Ritalin) – Grand mean) 2 Then Adderall, etc…then sum 2)Multiply sum by n*LevelQ = 4*2 = 8 Also number of scores in Drug group mean (in red) = 8 df = number of drugs – 1 = 3 SS_between_drug
Forced ChoiceFree Response SubjectRitalinAdderallCaffeineControlRitalinAdderallCaffeineControl SS_between_question SSquestion = n*LevelD ∑ (M question -M) 2 Collapse (mean) across question, ignoring choice ─ ControlCaffeineAdderallRitalinSubject Forced Choice = Forced Choice 1)∑ (Mean Question group (Forced Choice) – Grand mean) 2 Then Free Response, then sum 2)Multiply sum by n*LevelQ = 4*4 = 16 Also number of scores in Question group mean (in red) = 16 df = number of drugs – 1 = 3
Forced ChoiceFree Response SubjectRitalinAdderallCaffeineControlRitalinAdderallCaffeineControl SSquestion x drugSSq X d = SSqd – SSq – SSd SSqd = SSqd is basically SSbetween_cond across all conditions SSquestion = n ∑ (M each_condition -M) 2 (Mean Ritalin-Forced Choice – Grand Mean) 2 Then (Mean Adderall-Forced Chioce – Grand Mean) 2 …. Eventually (Mean of Ritalin-Free Response – Grand Mean) 2 Sum all together and multiply by n Or number of x’s in one mean 4 SSq x d = subtract SSq and SSd (which we already have) from SSqd df q x d = dfq X dfd ─
Forced ChoiceFree Response SubjectRitalinAdderallCaffeineControlRitalinAdderallCaffeineControl SSdrug = LevelQ ∑ (M subject-drug -M) 2 You’ve already collapse (mean) across drug, ignoring choice 1)∑ (Subject1,Ritalin – Grand mean) 2 Then Subject1, Adderall, etc…then Subject 2, Ritalin,etc… and sum 2)Multiply sum by LevelQ = 2 Also number of scores in each x (in red) = 2 SSsubxdrug = subtract SSs and SSd from SSsd df = df_sub x df_drug SSsub x drugSSs X d = SSsd– SSs – SSd ─ AdderallRitalinSubject Caffeine Ritalin Subtract each x from Grand Mean Square and sum Grand Mean From SS_drug
Forced ChoiceFree Response SubjectRitalinAdderallCaffeineControlRitalinAdderallCaffeineControl SSdrug = LevelQ ∑ (M subject-drug -M) 2 You’ve already collapse (mean) across drug, ignoring choice 1)∑ (Subject1,Forced Choice – Grand mean) 2 Then Subject1, Free Response, then Subject 2, Forced Choice,etc… and sum 2)Multiply sum by LevelD = 4 Also number of scores in each x (in red) = 4 SSsubxquestion = subtract SSs and SSq from SSsq df = df_sub x question SSsub x questionSSs X d = SSsd– SSs – SSd ─ Subtract each x from Grand Mean Square and sum From SS_drug Forced Choice Free Response Grand Mean Subject
SSsxdxq At this point you have all the other SS’s. Just do a SStotal (every x minus the Grand Mean) and subtract all your SS’s from that SStotal. That will give you SSsxdxq
SS df MS F Subjects Question Drug SxQ SxD QxD SxQxD Error term = SxQ Error term = SxD Error term = SxDxQ Answers