/sharmaroshan/Online-Shoppers-Purchasing- Intention/master/online_shoppers_intention.csv") 我正在尝试执行基于ANOVAAdministrative_Duration import statsmodels.api as smfrom statsmodels.stats.anovaimport anova_lm
mo
我试着用Anova函数比较6种模型。mod 1:4使用lm函数制作,mod 5和6是使用lmer函数制作的模型。我想这是什么导致了这个错误信息,有什么想法,我可以如何比较这6种模式?anova(mod1, mod2, mod3, mod4, mod5, mod6)
Error: $ operator not defined for this S4 class