Problem with running anova
16 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Aitana Grasso
am 8 Dez. 2021
Kommentiert: Aitana Grasso
am 15 Dez. 2021
Hi everyone,
I have a question.
Turns out that when a create a linear model (using fitlm) and than I want to run an anova to that model I get this error:
Error using gather
Too many input arguments.
Error in classreg.regr.CompactLinearModel/componentanova (line 824)
[ss,df,ms,f,pval] = gather(ss,df,ms,f,pval);
Error in classreg.regr.CompactLinearModel/anova (line 319)
tbl = componentanova(model,sstype);
I had checked with colleagues and they don't have a "gather" function in line 824
Line 824: [ss,df,ms,f,pval] = gather(ss,df,ms,f,pval)
Does anyone knows what it could be?
4 Kommentare
Akzeptierte Antwort
Adam Danz
am 8 Dez. 2021
To see a list of functions named gather,
which gather -all
Then remove your shadowed file from the Matlab path or rename the file.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Analysis of Variance and Covariance finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!