Does this mean my dataset has too few observations?
1 次查看(过去 30 天)
显示 更早的评论
I ran a GLM regression with 5 indepedent variables. My dataset contains 238 observations and I got error message like this:
Warning: Regression design matrix is rank deficient to within machine precision. > In TermsRegression>TermsRegression.checkDesignRank at 98 In GeneralizedLinearModel>GeneralizedLinearModel.fit at 1174 In fitglm at 133
Does this mean I have too few observations? Because if I have 347 observations, it runs fine without any complaints.
0 个评论
回答(1 个)
Star Strider
2014-7-17
My guess is that there is something strange about Observation #238. Check it to see that all the data in it are valid.
2 个评论
Star Strider
2014-7-17
My point is that there is something about the added observation that is crashing your design matrix. I would check to see that all the data in that observation are valid.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Descriptive Statistics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!