how to identify a fitglm output as being rank deficient from the resulting object

3 ビュー (過去 30 日間)
Will Kinsman
Will Kinsman 2016 年 5 月 24 日
回答済み: Tom Lane 2016 年 6 月 24 日
My question is as follows:
I am running a very large number of multivariable regressions. My problem is that sometimes these are identified as being rank deficient regressions. I am totally cool with that, but I would like to be able to identify them as so once my loop is complete.
Is there a way to identify if a regression is rank deficient from the object that fitglm outputs?

回答 (1 件)

Tom Lane
Tom Lane 2016 年 6 月 24 日
If your model is f, you could see if
f.NumCoefficients > f.NumEstimatedCoefficients

カテゴリ

Help Center および File ExchangeAnalysis of Variance and Covariance についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by