fitlm okay but warnings for anova
Show older comments
I run
tbl=fitlm(x,y)
and it does not have any error message.
But when I do
anova(tbl)
I get an error message
warning: Matrixis close to singlular or badly scaled
How come?
2 Comments
Walter Roberson
on 18 Dec 2020
The design matrix is factored using qr. The message about close to singular will appear (after several steps) in the case that
inv(R)' * inv(R)
has less than full rank.
This matrix becomes the Coefficient Covariance matrix.
At the moment I have no idea what this implies about the data or the model -- this is as far as I have chased back the cause of the warning message.
alpedhuez
on 18 Dec 2020
Accepted Answer
More Answers (0)
Categories
Find more on Analysis of Variance and Covariance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!