필터 지우기
필터 지우기

What does 'regstats' mean in this example?

조회 수: 4 (최근 30일)
Victoria Helm
Victoria Helm 2020년 6월 24일
댓글: Victoria Helm 2020년 6월 24일
[b, dev, regstats] = glmfit(...)
Is regstats a function or something else? I'm not sure what it does here, exactly.
  댓글 수: 2
dpb
dpb 2020년 6월 24일
편집: dpb 2020년 6월 24일
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 2020년 6월 24일
Thank you so much!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Scatter Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by