glm
or glmer
. However, the standard family functions as decribed in
family
will work with brms. For a full list
of families and link functions supported by brms, see the documentation
(in particular the 'Details' section) of brm
.
student(link = "identity")
cauchy(link = "identity")
bernoulli(link = "logit", type = NULL)
negbinomial(link = "log")
geometric(link = "log")
lognormal(link = "identity")
exponential(link = "log")
weibull(link = "log")
Beta(link = "logit")
hurdle_poisson(link = "log")
hurdle_negbinomial(link = "log")
hurdle_gamma(link = "log")
zero_inflated_beta(link = "logit")
zero_inflated_poisson(link = "log")
zero_inflated_negbinomial(link = "log")
zero_inflated_binomial(link = "logit")
categorical(link = "logit")
cumulative(link = "logit")
sratio(link = "logit")
cratio(link = "logit")
acat(link = "logit")
student
, and cauchy
(deprecated) accept the links
(as names) identity
, log
, and inverse
;
families negbinomial
, and geometric
the links
log
, identity
, and sqrt
;
families bernoulli
, Beta
, cumulative
,
cratio
, sratio
, and acat
the links logit
, probit
, probit_approx
,
cloglog
, and cauchit
;
family categorical
, the link logit
;
families weibull
, and exponential
the links log
, identity
, and inverse
;
family lognormal
the links identity
and inverse
;
families hurdle_poisson
, hurdle_gamma
,
hurdle_negbinomial
, zero_inflated_poisson
,
and zero_inflated_negbinomial
the link log
;
families zero_inflated_binomial
and
zero_inflated_beta
the link logit
.
The first link mentioned for each family is the default.
A full list of families and link functions supported by brms,
is provided in the 'Details' section of brm
.bernoulli
family uses this argument to define
2PL models (applied in IRT) by setting type = "2PL"
.
Further options will follow in the future.