Provides the necessary functions to use a shifted Inverse Gamma distribution
as a custom family in brms. This version is parameterized using
tau (proportion of non-decision time relative to minimum RT) and minrt
(minimum possible RT), where the non-decision time ndt = tau * minrt.
The distribution is parameterized by the shape (mu in brms, alpha in standard InvGamma)
and scale (sigma in brms, beta in standard InvGamma),
as well as tau, and minrt (which is typically fixed).
Usage
rt_invgamma(
link_mu = "softplus",
link_sigma = "softplus",
link_tau = "logit",
link_minrt = "identity"
)
rt_invgamma_lpdf_expose()
rt_invgamma_stanvars()
log_lik_rt_invgamma(i, prep)
posterior_predict_rt_invgamma(i, prep, ...)
posterior_epred_rt_invgamma(prep)Value
A brms::custom_family object.