brms (version 0.10.0)

brmsfamily: Special Family Functions for brms Models

Description

Family objects provide a convenient way to specify the details of the models used by many model fitting functions. The families present here are currently for use with brms only and will NOT work with other model fitting functions such as 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.

Usage

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")

Arguments

link
A specification for the model link function. This can be a name/expression or character string. The following list only refers to brms specific family functions. Families 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.
type
An optional character string allowing to specify advanced models implemented through certain families. Currently, only the bernoulli family uses this argument to define 2PL models (applied in IRT) by setting type = "2PL". Further options will follow in the future.