'unbalanced factorial anova in r
I have the factorial IV called pa_res$Category_Recorded with size 121 and the continuous DV called Scaled_MO_sq$sq_score with size 123. I run the below code since the sample sizes are unequal but it still gives me a mistake:
Anova(lm(Scaled_MO_sq$sq_score~pa_res$Category_Recorded), type="III") Error in model.frame.default(formula = Scaled_MO_sq$sq_score ~ pa_res$Category_Recorded, : variable lengths differ (found for 'pa_res$Category_Recorded')
Could you please help me how to implement the regression for these two variables?!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|


