I am trying to compare two nested models that have different number of participants so I keep getting an error message.
Error in anova.lmlist(object, ...) : models were not all fitted to the same size of dataset In addition: Warning message: In anova.lmlist(object, ...) : models with response ‘"NULL"’ removed because response differs from model 1
- Is there a way of correcting this? The code I'm using is a
nova(fit1, fitall, data=RMS2_working)
fit1
has 5 predictors and isdf=352
, fitall has 10 predictors and358 degrees of freedom
Thank you!