Effacer les filtres
Effacer les filtres

What does 'regstats' mean in this example?

4 vues (au cours des 30 derniers jours)
Victoria Helm
Victoria Helm le 24 Juin 2020
Commenté : Victoria Helm le 24 Juin 2020
[b, dev, regstats] = glmfit(...)
Is regstats a function or something else? I'm not sure what it does here, exactly.
  2 commentaires
dpb
dpb le 24 Juin 2020
Modifié(e) : dpb le 24 Juin 2020
See the doc first...
[b,dev,stats] = glmfit(...) returns dev and stats.
stats is a structure with the following fields:
  • beta — Coefficient estimates b
  • dfe — Degrees of freedom for error
  • sfit — Estimated dispersion parameter
  • s — Theoretical or estimated dispersion parameter
  • estdisp — 0 when the 'estdisp' name-value pair argument value is 'off' and 1 when the 'estdisp' name-value pair argument value is 'on'.
  • covb — Estimated covariance matrix for B
  • se — Vector of standard errors of the coefficient estimates b
  • coeffcorr — Correlation matrix for b
  • t — t statistics for b
  • p — p-values for b
  • resid — Vector of residuals
  • residp — Vector of Pearson residuals
  • residd — Vector of deviance residuals
  • resida — Vector of Anscombe residuals
MATLAB syntax doesn't allow anything but return variables on LHS of an assignment.
Victoria Helm
Victoria Helm le 24 Juin 2020
Thank you so much!

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Scatter Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by