standard errors from glmfit and fitglm are different
Show older comments
The screenshot is attached.
I used the two commands below. I think the se of the two mothods should be the same. No idea about the difference.
I appreciate your time.
[b,dev,stats] = glmfit(num(:,[2:4,9:12]), num(:,T), 'poisson','estdisp','on','offset',num(:,5));
m = fitglm(num(:,[2:4,9:12]), num(:,T), 'Distribution','poisson','offset',num(:,5))
note: num is my data table.

Answers (0)
Categories
Find more on Univariate Discrete Distributions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!