90 likes | 142 Views
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
E N D
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
SS_between_subjects ─ • SSbetween_subjects = nLevelQ x nLevelD ∑ (Ms-M)2 • ∑(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
Ritalin 10.5 7 12 12 SS_between_drug SSdrug = n*LevelQ ∑ (Mdrug-M)2 Collapse (mean) across drug, ignoring choice ─ Subject Ritalin Ritalin 1 13 8 = 2 6 8 3 12 12 4 11 13 • ∑ (Mean Drug group (Ritalin) – Grand mean) 2 • Then Adderall, etc…then sum • 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
Forced Choice 10.5 6 12.75 10.75 SS_between_question ─ SSquestion = n*LevelD ∑ (Mquestion-M)2 Collapse (mean) across question, ignoring choice Forced Choice Subject Ritalin Adderall Caffeine Control 1 13 11 8 10 = 2 6 6 9 3 3 12 12 13 14 4 11 14 10 8 • ∑ (Mean Question group (Forced Choice) – Grand mean) 2 • Then Free Response, then sum • 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
SSquestion x drug SSq X d = SSqd – SSq – SSd SSqd is basically SSbetween_cond across all conditions SSqd = ─ SSquestion = n ∑ (Meach_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
SSsub x drug SSs X d = SSsd– SSs – SSd Grand Mean 9 9 9 9 From SS_drug ─ SSdrug = LevelQ ∑ (Msubject-drug-M)2 You’ve already collapse (mean) across drug, ignoring choice Caffeine Ritalin Subject Ritalin Adderall Subtract each x from Grand Mean Square and sum 9.5 9.5 1 10.5 9.5 9 9 2 7 9 10 10 3 12 10 14.5 14.5 4 12 14.5 • ∑ (Subject1,Ritalin – Grand mean) 2 • Then Subject1, Adderall, etc…then Subject 2, Ritalin,etc… and sum • 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 question SSs X d = SSsd– SSs – SSd Free Response Forced Choice 5 10.5 6 8 8 12.75 10.75 11 From SS_drug ─ SSdrug = LevelQ ∑ (Msubject-drug-M)2 You’ve already collapse (mean) across drug, ignoring choice Subtract each x from Grand Mean Square and sum Grand Mean Subject 9 1 9 2 3 9 4 9 • ∑ (Subject1,Forced Choice – Grand mean) 2 • Then Subject1, Free Response, then Subject 2, Forced Choice,etc… and sum • 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
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
Answers Error term = SxQ Error term = SxD Error term = SxDxQ