Is there a way to calculate residuals for anova2?

2 views (last 30 days)
I was wondering whether it is possible to calculate the residuals for the output of the anova2 function. Or to calculate the fitted values, because residuals = y - yhat.
I found the function plotResiduals(mdl), but it requires the output from a regression model.
Thanks!

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!