I coded a variable as 0/1 (species 1 vs. species 2). I assumed that a dichotomous independent variable can be put in the SPSS mixed model as either a "factor" (two levels) ("by") or, if coded 0/1 also as a covariate (predictor) ("with") and that it would not make a difference. But I was wrong. The statistics do change when I use WITH vs. BY. What is the difference between the two and when should I use them?
- between subject factor: species subject: 0-1
- within subject factors: same_different (stimulus characteristic, do subjects look at their own or the other species): 0-1 stimuluscondition: 0-1 luminance stimulus: continuous variable that I want to control for (it is not of interest)
- dependent variable: pupilsize of subject (continuous)


雷达卡



京公网安备 11010802022788号







