Comparison of general and generalized linear models
From Infogalactic: the planetary knowledge core
General linear model | Generalized linear model | |
---|---|---|
Typical estimation method | Least squares, best linear unbiased prediction | Maximum likelihood or Bayesian |
Special cases | ANOVA, ANCOVA, MANOVA, MANCOVA, linear regression, mixed model | linear regression, logistic regression, Poisson regression, gamma regression[1] |
Function in R | lm() | glm() |
Function in Matlab | mvregress() | glmfit() |
Procedure in SAS | PROC GLM, PROC MIXED | PROC GENMOD, PROC GLIMMIX, PROC LOGISTIC (for regression with categorical variables) |
Command in Stata | regress | glm |
Command in SPSS | regression, glm | genlin, logistic regression |
Function in Wolfram Language & Mathematica | LinearModelFit[][2] | GeneralizedLinearModelFit[][3] |
Command in EViews | ls |
<templatestyles src="Reflist/styles.css" />
Cite error: Invalid <references>
tag; parameter "group" is allowed only.
<references />
, or <references group="..." />
References
- Lua error in package.lua at line 80: module 'strict' not found.
<templatestyles src="Asbox/styles.css"></templatestyles>
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ LinearModelFit, Wolfram Language Documentation Center.
- ↑ GeneralizedLinearModelFit, Wolfram Language Documentation Center.