Generalized Linear Model estimation Matlab (same as in R)
Generalized Linear Model estimation in Matlab (with same results as in R).
Fits Generalized Linear models with one of the following distributions:
> 'normal'/'gamma'/'inv_gsn'/'poisson'/'binomial'
And one of the following (if compatible) link functions:
> 'id'/'log'/'sqroot'/'power'/'logit'/'probit'/'recip'/'complog'
Estimation procedure has been copied and modified from the package:
> GLMLAB by Peter Dunn (08 Mar 1999)
> Original files: www.mathworks.com/matlabcentral/fileexchange/195-glmlab
This GLM package is essentially the same as Peter Dunn's, but does not
recquire the usage of the GLMLAB GUI and outputs results like in R.
This package also calculates some additional measure-of-fit statistics.
----------------------------------------------------------------------------------------------
The results are almost completely identical with the estimation in R.
For comparison, try the Demo.R file (as included in folder) that
gives the same output as the Matlab demo examples. See for yourself.
Cite As
JP (2026). Generalized Linear Model estimation Matlab (same as in R) (https://github.com/vanBrakel/GLM), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > External Language Interfaces > Other languages > R Language >
- MATLAB > Mathematics > Elementary Math > Special Functions > Gamma Functions >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | |
|---|---|---|---|
| 2.0.0.0 | Added pic |
|
|
| 1.0.0.0 | Improved description. Updated title.
|
|