2x2 Design
2 Faktoren (codeallbStyp, Gram)
codeallbStyp mit den Faktorstufen (A, B)
Gram mit den Faktorstufen (1,2)
28 Items, 2 Subjects. Insgesamt sind es mehr Probanden, aber ich wollte das schon mal für 2 rechnen.
latin square Design, jeder Proband (Subject) sieht jedes Item einmal und er sieht alle Bedingungskombinationen gleich oft:
7x (A,1); 7x (A2,), 7x (B,1) 7x (B,2)
Auszug aus dem Datensatz:
Code: Alles auswählen
Vp list codealla codeallbStyp IA_ID FFD Subject Item Gram
1 vp01edf 1 284 B 6 260 1 1 2
2 vp01edf 1 142 A 6 283 1 2 2
3 vp01edf 1 222 A 6 129 1 3 2
4 vp01edf 1 51 A 6 520 1 4 1
5 vp01edf 1 291 A 6 357 1 5 1
6 vp01edf 1 273 B 6 389 1 6 1
7 vp01edf 1 153 B 6 250 1 7 1
Code: Alles auswählen
factor(d$Item) -> d$Item
factor(d$Subject) -> d$Subject
factor(d$codeallbStyp) -> d$codeallbStyp
c("A","B")->levels(d$codeallbStyp)
factor(d$Gram) -> d$Gram
c("1","2")->levels(d$Gram)
print(ezANOVA(data=d, wid=.(Subject), dv=.(FFD),within=.(codeallbStyp,Gram)))
print(ezANOVA(data=d, wid=.(Item), dv=.(FFD),within=.(codeallbStyp,Gram)))
Fehler in ezANOVA_main(data = data, dv = dv, wid = wid, within = within, :
One or more cells is missing data. Try using ezDesign() to check your data.
Ok, also ezDesign:
Code: Alles auswählen
ezDesign(data=d, y= Item, x=codeallbStyp, col=Gram)
ezDesign(data=d, y= Subject, x=codeallbStyp, col=Gram)
Keine Ahnung wo das Problem liegt. Ich hoffe mir kann hier jemand weiterhelfen.
LG