フィルターのクリア

Rsquared output from fitglm (logistic regression) - What does it mean?

12 ビュー (過去 30 日間)
MDias
MDias 2020 年 6 月 11 日
コメント済み: Kelly Hennigan 2021 年 7 月 22 日
Hello,
I'm using fitglm to fit a logistic regression model to some data:
mdl = fitglm(data,modelspec,'Distribution','binomial','CategoricalVars',[1]) % one categorical predictor
My question concerns the output of such a model.
What do the different fields in the mdl.Rsquared field mean and how are they computed? Are they different pseudo-Rsquares?
  3 件のコメント
Kelly Hennigan
Kelly Hennigan 2021 年 7 月 22 日
I'd appreciate an answer to this question as well!
Kelly Hennigan
Kelly Hennigan 2021 年 7 月 22 日
I just found a nice description of how each of the Rsquared values (output from fitglm) are calculated here:
Looks like Rsquared.LLR is the McFadden pseudo R-squared for logistic regressions.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeRegression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by