Comparison of general and generalized linear models
- Comparison of general and generalized linear models
-
|
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, ordinary linear regression, mixed model, t-test, F-test |
general linear model, logistic regression, Poisson regression |
Function in R |
lm() |
glm() |
Function in Matlab |
mvregress() |
glmfit() |
Procedure in SAS |
PROC GLM, PROC MIXED |
PROC GENMOD (PROC LOGISTIC for logistic regression only) |