Does this mean my dataset has too few observations?

조회 수: 1 (최근 30일)
TingTing
TingTing 2014년 7월 17일
댓글: Star Strider 2014년 7월 17일
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.

답변 (1개)

Star Strider
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
TingTing
TingTing 2014년 7월 17일
Hi, thanks a lot for reply! I wonder why you mentioned Observation #238. I plotted out leverage and ¤238 does not seem to be outlier. While #20 seems to be outlier. I excluded #20 and still got the same error message...
Star Strider
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 CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by