Closed acp29 closed 1 year ago
but @pr0m1th3as the trace back tells you which function had the error...
[intercept, slope]=anovan(ones(10,1),2)
error: GROUP must be a matrix with the same number of rows as Y
error: called from
anovan at line 335 column 9
I just took it out because I noticed that it was redundant, although I realise I forgot to do it for multcompare
I'm guessing a few other functions don't do this either:
[intercept, slope]=logistic_regression()
error: 'y' undefined near line 107, column 107
error: called from
logistic_regression at line 107 column 5
Most functions do it this way because it is also consistent with how Matlab prints the error. I think it's best to keep it consistent, despite certain statistics functions might not be fully compliant yet.
Thanks for this (the error style thing) and the new function as well.
anovan
:fitlm
:multcompare
fitlm