
Default priors for the Bayesian (brms) choice model
Source:R/dd-brms-priors.R
default_dd_choice_priors.Rdloggamma ~ normal(1, 1) (choice sensitivity, typically 1-20) and the
optional logit-scale bias b0 ~ normal(0, 1.5); logk defaults as in
default_dd_priors() (autoscaled to the median delay when data is
supplied; delay_var names the delay column).
Arguments
- equation
"mazur"or"exponential".- intercept
Include the
b0prior.- data
Optional data frame used for
logkautoscaling.- delay_var
Delay column name in
data.- factors, factor_interaction, continuous_covariates
Fixed-effect design on
logk, as passed tofit_dd_choice_brms(). When the design has non-intercept coefficients (derived throughbuild_fixed_rhs()), a fold-changenormal(0, 1)class-level coefficient prior is added; with an intercept-only design it is omitted (it would be unused, and brms warns).- autoscale
Logical; defaults to
TRUEwhendatais supplied.