anovaBF dataset
Hello, I am currently doing a 3-factor BF ANOVA by anovaBF() in r, and I have some questions about the data I should feed to the function:
1) My raw dataset has a DV, and 5 within factors (A,B,C,D,E), a between factor (F) and id variable (subjID):
data=my_data
2) I know when I compute conventional ANOVA, I should aggregate the conditional means first, and for example:
aov_car(DV ~ A*B*C+ Error(subjID/A*B), fun=mean, data=my_data)
3)So for anovaBF, do I need to aggregate the data to conditional means first, or I should feed the whole data to the function?
option 1:
bayesfactor_inclusion(anovaBF(DV~ A*B*C+ subjID, whichRandom="subjID", data=aggregate(DV~ A*B*C*subjID, mean, na.rm=T, data=my_data)), match_models =T)
option 2:
bayesfactor_inclusion(anovaBF(DV~ A*B*C+ subjID, whichRandom="subjID", data=data=my_data), match_models =T)
Thank you in advance!
Matin
Comments
I've attended Richard to your question!
Cheers,
E.J.
Thank you! Looking forward the reply!
If you don't hear anything please feel free to contact him directly
Hello, I still haven't heard anything.