Azzera filtri
Azzera filtri

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

12 visualizzazioni (ultimi 30 giorni)
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 Commenti
Kelly Hennigan
Kelly Hennigan il 22 Lug 2021
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.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by