This is a mixed design one part
-
Upload
kylee-bennett -
Category
Documents
-
view
34 -
download
2
description
Transcript of This is a mixed design one part
This is a mixed design one part
1) Drug uses the old independent measures method – between conditions with within conditions as error term
The other part is
2) Question (forced choice v free response) is repeated measures – find within subjects then subtract between conditions and interaction to get error (SSsubject x condition)
SubForcedChoice
Free Resp Drug
1 13 8 Ritalin
2 6 8 Ritalin
3 12 12 Ritalin
4 11 13 Ritalin
5 11 8 Adderall
6 6 12 Adderall
7 12 8 Adderall
8 14 15 Adderall
9 8 2 Caffeine
10 9 6 Caffeine
11 13 6 Caffeine
12 10 7 Caffeine
13 10 2 Control
14 3 6 Control
15 14 6 Control
16 8 9 Control
Question
SubForcedChoice
Free Resp Drug
1 13 8 Ritalin
2 6 8 Ritalin
3 12 12 Ritalin
4 11 13 Ritalin
5 11 8 Adderall
6 6 12 Adderall
7 12 8 Adderall
8 14 15 Adderall
9 8 2 Caffeine
10 9 6 Caffeine
11 13 6 Caffeine
12 10 7 Caffeine
13 10 2 Control
14 3 6 Control
15 14 6 Control
16 8 9 Control
Part 1 – Independent measures - Drug
8.5
10
4.5
6
8.5
9.5
7.5
5
14.5
10
9
9.5
12
12
7
10.5
Subj Means
Collapse subject (mean) over Question
Now mean within drug (within Ritalin, etc..)
Then (Subj Mean – Mean (Ritalin) Drug)2
Sum
Multiply times number Levels_Question - 2
Or number of x’s within the Subj Mean (in red)
10.375
MeanRitalin
df = # of subj means (blue) with Ritalin Mean – 1 (3) X number of drug groups (4) = 12
SSwithin_drug
SSwithin_drug
Sub1 Mean
10.5-
10.375
MeanRitalin
SubForcedChoice
Free Resp Drug
1 13 8 Ritalin
2 6 8 Ritalin
3 12 12 Ritalin
4 11 13 Ritalin
5 11 8 Adderall
6 6 12 Adderall
7 12 8 Adderall
8 14 15 Adderall
9 8 2 Caffeine
10 9 6 Caffeine
11 13 6 Caffeine
12 10 7 Caffeine
13 10 2 Control
14 3 6 Control
15 14 6 Control
16 8 9 Control
Part 1 – Independent measures - Drug
8.5
10
4.5
6
8.5
9.5
7.5
5
14.5
10
9
9.5
12
12
7
10.5
Subj Means
1)Collapse subject (mean) over Question
2)Now mean within Drug type (within Ritalin, etc..)
3)Then (Mean (Ritalin) Drug – Grand Mean)2
Then (Mean (Adderall) Drug – Grand Mean)2
4)Sum
5)Multiply times number Levels_Question (2) X number of Subj Means within Mean (Ritalin) Drug (4)=8
Or number of x’s within Subj Mean (in red) times (2) x’s within Mean (Ritalin) Drug (in blue) (4) = 8
10.375
MeanRitalin
df = number of drug groups (4) – 1 = 3
SSbetween_drug
SSbetween_drug
9
Grand Mean_
DRUG SS
df
MS F
between 79.25 3 26.416 2.4244
within/error 130.7 12 10.895
Between is of interest
Within is the error term
Part 2 – Repeated measures - Question
Within_subjectsIs made up of
Between_groups Interaction Error Term
Control9816
Control61415
Control6314
Control21013
Caffeine71012
Caffeine61311
Caffeine6910
Caffeine289
Adderall15148
Adderall8127
Adderall1266
Adderall8115
Ritalin13114
Ritalin12123
Ritalin862
Ritalin8131
DrugFree Resp
ForcedChoiceSub
SSwithin_subjects - Question
10.5
MeanSub 1
2.5
X - meanSub 1
-2.5
X - meanSub 1
1) Mean within Sub
2) Subtract each x from Mean Sub
3) Square each
4) Sum all
6.25
Squared
6.25
Squared
Sum
df = Number of Levels of Question (1) – 1 X Number of Subjects (16) = (16)
Control9816
Control61415
Control6314
Control21013
Caffeine71012
Caffeine61311
Caffeine6910
Caffeine289
Adderall15148
Adderall8127
Adderall1266
Adderall8115
Ritalin13114
Ritalin12123
Ritalin862
Ritalin8131
DrugFree Resp
ForcedChoiceSub
SSbetween_condition Question
10
MeanForcedChoice
1) Mean within Question
2) Subtract each Mean Question from Grand Mean
3) Square each
4) Sum
5) Multiply times number of x’s within each mean (16)
1
Squared
1
Squared
Sum
8
MeanFreeResp
9
GrandMean
1
Mean ForcedChoiceMinusGrandMean
-1
Mean FreeResp
MinusGrandMean
df = two levels of the factor – 1 = 1
Control9816
Control61415
Control6314
Control21013
Caffeine71012
Caffeine61311
Caffeine6910
Caffeine289
Adderall15148
Adderall8127
Adderall1266
Adderall8115
Ritalin13114
Ritalin12123
Ritalin862
Ritalin8131
DrugFree Resp
ForcedChoiceSub
SSdrug x question = SSdrug_question – SSdrug - SSquestion
10.5
Forced Choice Drug TypeMean
10.25
Free Resp Drug Type
Mean
9
GrandMean
1.5
ForcedChoice Drug Type
Mean- GrandMean
1.25
ForcedChoice Drug Type
Mean- GrandMean
1) Take mean of within each Question (Forced Choice) and within each Drug type (Ritalin)
2) Subtract each mean from Grand Mean
3) Square and sum
4) Multiply times the number of x’s into each mean (4)
That equals SSsub_drug
SSdrug_x_question = SSsub_drug – SSdrug – SSquestion
You already have SSdrug from SSbetween_drug, and SSquestion from SSbetween_question
df = Number of Levels of Question (2) – 1 = 1
Need to find SSdrug_question first
Now you need to figure out MSerror, which is
MSerror = SSwithin_sub – SSbetween_question – SSquestion_x_drug
Since you have all these you just subtract them
Since
Within_subjectsIs made up of
Between_groups Interaction Error Term
df of Between_groups, interaction and error term should add up to equal within_subjects
So df_error = df_within – df_between_groups - interaction
DRUG SS
df
MS F
between 79.25 3 26.416 2.4244
within/error 130.7 12 10.895
Between is of interest
Within is the error term
QUESTION
WithinSub 168 16 10.5
BetweenQ 32 1 32 3.65714
DXQ 31 3 10.33 1.1809
Error 105 12 8.75Error for both Between_question and interaction