Skip to main content
. Author manuscript; available in PMC: 2023 May 2.
Published in final edited form as: J Stat Softw. 2023 Mar 23;106:1. doi: 10.18637/jss.v106.i01

Table 1:

Examples of generalized linear models (GLMs) and their representations in R.

GLM family / Regression
type
Response type Representation in R
Gaussian R gaussian()
Logistic {0, 1} binomial()
Probit {0, 1} binomial(link = "probit")
Quasi-Binomial {0, 1} quasibinomial()
Poisson N0={0,1,} poisson()
Quasi-Poisson N0 quasipoisson()
Negative binomial N0 MASS::negative.binomial(theta = 3)
Gamma R+=[0,) Gamma()
Inverse Gaussian R+ inverse.gaussian()
Tweedie Depends on variance power parameter statmod::tweedie()