Skip to contents
aux_family_parameters_lookup()
Lookup function for the names of the auxiliary parameters of a likelihood
aux_limits_lookup()
Lookup for limits of family auxiliary parameters.
betaprime()
Beta prime brms custom family
brms_family_lookup()
Lookup function for brms families via string identifier
cauchit()
Cauchit link function
cauchitnormal()
Custom brms family Cauchitnormal
cloglog()
Complementary-Log-Log link function
cloglognormal()
Custom brms family Cloglog-Normal in median parametrization.
construct_brms()
Construct brms family for simple linear y ~ 1 model.
dbeta_mean()
Mean parameterization the beta pdf.
dbetaprime()
Probability density function for the beta prime distribution (aka. inverse Beta)
dcauchitnormal()
Cauchitnormal Density distribution.
dcloglognormal()
Probability Density function of the Cloglognormal-Distribution
dfrechet_median()
Median parameterization of the Fréchet pdf.
dgamma_mean()
Mean parameterization of the gamma pdf.
dgeneralized_normal()
Probability density function for the generalized_normal distribution
dgompertz()
Probability density function for the Gompertz distribution, with Median parametrization.
dgumbel_mean()
Probability density function for the gumbel distribution
dkumaraswamy()
Kumaraswamy density function in median parametrisation.
dlogistic()
Probability density function for the logistic distribution
dlogitnormal()
Logitnormal density distribution in median parametrization.
dlognormal()
Lognormal density distribution in median parametrization.
dlognormal_natural()
Lognormal Natural density function with value space parameterisation (mu same as x)
dlomax()
Probability density function for the Lomax distribution, with Mean parametrization.
dshifted_inv_gaussian()
Shifted inverse Gaussian density function
dsimplex()
Simplex density function in mean parametrisation.
dsoftplusnormal()
Softplus density distribution in median parametrization.
dsymlognormal()
symlognormal density function
dunit_lindley()
Density of the Unit Lindley likelihood
dweibull_median()
Median parameterization of the Weibull pdf.
erf()
Gaussion Error function
expect_brms_family()
brms family expect recovery. Tries linear baysian model y ~ 1. Checking of the arguments done in construct_brms.
expect_eps()
Check that |a - b| < eps. Works with scalars and vectors on any input. For vector input, one may defined, how many |a - b| >= eps are acceptable with r argument. Given it is a "workhorse" used in almost all test-files, this function is also very well tested.
dgeneralized_gamma() rgeneralized_gamma() generalized_gamma()
Generalized gamma distribution
generalized_normal()
Generalized Normal BRMS family
gompertz()
Custom Gompertz brms-implementation in median parametrization.
gumbel_mean()
Gumbel brms custom family, custom implementation vs Stan
inv_cauchit()
Cauchit response function
inv_cloglog()
Complementary-Log-Log response function
inv_logit()
Logit response function
inv_softplus()
Softplus response function
inv_symlog()
Symlog response function
isInt_len()
Integer vector check
isLogic_len()
Boolean vector check
isNat_len()
Natural number vector check n >= 0.
isNum_len()
Check if a vector is numeric, has no na entries and has length len
isSingleString()
Check, if the input is a single string
kumaraswamy()
Kumaraswamy brms-implementation in median parametrization.
lenEqual()
Length and data check function
limit_data()
Data limit function
link_lookup()
Lookup function for link and repsonse functions via string identifier.
log_lik_betaprime()
Log-Likelihood of the beta prime distribution
log_lik_cauchitnormal()
Log-Likelihood vignette for the Cauchitnormal Distribution
log_lik_cloglognormal()
Log-Likelihood vignette for the Chauchitnormal distribution, with Median parametrization.
log_lik_generalized_gamma()
Log-Likelihood of the generalized gamma distribution
log_lik_generalized_normal()
Log-Likelihood of the generalized_normal distribution
log_lik_gompertz()
Log-Likelihood vignette for the Gompertz distribution, with Median parametrization.
log_lik_gumbel_mean()
Log-Likelihood of the gumbel distribution
log_lik_kumaraswamy()
Log-Likelihood vignette for the Kumaraswamy distribution, in Median parametrization.
log_lik_logistic()
Log-Likelihood of the logistic distribution
log_lik_logitnormal()
Log-Likelihood vignette for the Logitnormal distribution, in Median parametrization.
log_lik_lognormal_natural()
Log-Likelihood of the Lognormal Natural family
log_lik_lomax()
Log-Likelihood vignette for the Lomax distribution, with Mean parametrization.
log_lik_shifted_inv_gaussian()
Log-Likelihood of the shifted inverse Gaussian family
log_lik_simplex()
Log-Likelihood vignette for the Simplex distribution, in Median parametrization.
log_lik_softplusnormal()
Log-Likelihood vignette for the Softplus distribution, in Median parametrization.
log_lik_symlognormal()
Log-Likelihood for the symlognormal distribution,
log_lik_unitlindley()
Log-likelihood of the Unit Lindley family
logistic()
logistic brms custom family
logit()
Logit link function
logitnormal()
Custom brms family Logit-Normal in median parametrization.
lognormal_natural()
Lognormal Natural brms family
logsumexp()
Logarithm of the sum of exponentials.
lomax()
Lomax Stan-implementation in Mean parametrization.
normale_difference()
Uses euler metric for denominator
pkumaraswamy()
Kumaraswamy CDF in median parametrisation
posterior_epred_betaprime()
posterior_epred for the beta prime distribution
posterior_epred_cauchitnormal()
Posterior expected value prediction. Mean undefined for Cauchitnormal.
posterior_epred_cloglognormal()
Posterior expected value prediction. Mean undefined for Cloglog-Normal
posterior_epred_generalized_gamma()
posterior_epred for the generalized gamma distribution
posterior_epred_generalized_normal()
posterior_epred for the generalized_normal distribution
posterior_epred_gompertz()
Expectation-Predict vignette for the Gompertz distribution, with Median parametrization. Not defined for the Gompertz family.
posterior_epred_gumbel_mean()
posterior_epred for the gumbel distribution
posterior_epred_kumaraswamy()
Posterior expected value prediction of the Kumaraswamy implementation.
posterior_epred_logistic()
posterior_epred for the logistic distribution
posterior_epred_logitnormal()
Posterior expected value prediction vignette for Logitnormal distribution.
posterior_epred_lognormal_natural()
Expectations of posterior predictions of the Lognormal Natural family
posterior_epred_lomax()
Expectation-Predict vignette for the Lomax distribution, with Mean parametrization.
posterior_epred_shifted_inv_gaussian()
Expectations of posterior predictions of the Shifted Inverse Gaussian family
posterior_epred_simplex()
Posterior expected value prediction of the Simplex implementation.
posterior_epred_softplusnormal()
Posterior expected value prediction vignette for Softplus distribution.
posterior_epred_symlognormal()
Posterior epred for symlognormal distribution.
posterior_epred_unitlindley()
Expectations of posterior predictions of the Unit Lindley family
posterior_predict_betaprime()
posterior_predict for the beta prime distribution
posterior_predict_cauchitnormal()
Posterior-predict vignette for the Cauchitnormal Distribution
posterior_predict_cloglognormal()
Posterior-predict vignette for the Chauchitnormal distribution, with Median parametrization.
posterior_predict_generalized_gamma()
posterior_predict for the generalized gamma distribution
posterior_predict_generalized_normal()
posterior_predict for the generalized_normal distribution
posterior_predict_gompertz()
Posterior-Prediction vignette for the Gompertz distribution, with Median parametrization.
posterior_predict_gumbel_mean()
posterior_predict for the gumbel distribution
posterior_predict_kumaraswamy()
Posterior prediction vignette for the Kumaraswamy distribution, in Median parametrization.
posterior_predict_logistic()
posterior_predict for the logistic distribution
posterior_predict_logitnormal()
Posterior-predict vignette for the Logitnormal distribution, with Median parametrization.
posterior_predict_lognormal_natural()
Posterior Prediction of the Lognormal Natural family
posterior_predict_lomax()
Posterior-Prediction vignette for the Lomax distribution, with Mean parametrization.
posterior_predict_shifted_inv_gaussian()
Posterior Prediction of the Shifted Inverse Gaussian family
posterior_predict_simplex()
Posterior prediction vignette for the Simplex distribution, in Median parametrization.
posterior_predict_softplusnormal()
Posterior-predict vignette for the Softplus distribution, with Median parametrization.
posterior_predict_symlognormal()
Posterior-predict for the symlognormal distribution, with Median parametrization.
posterior_predict_unitlindley()
Posterior predictions of the Unit Lindley family
qbeta_mean()
Mean parameterization of the beta quantile function
qbetaprime()
Quantile function of the beta prime distribution
qgeneralized_normal()
Quantile function of the generalized_normal distribution
qgompertz()
Quantile function for the Gompertz distribution, with Median parametrization.
qgumbel_mean()
Quantile function of the gumbel distribution
qkumaraswamy()
Quantile function of the Kumaraswamy distribution in Median parametrisation.
qlogistic()
Quantile function of the logistic distribution
qlomax()
Quantile function for the Lomax distribution, with Mean parametrization.
qunit_lindley()
Quantile function of Unit-Lindley distribution
rIG()
RNG for the inverse gaussian distribution
rMIG()
RNG for a mixture of inverse gaussian distributions
rbeta_mean()
Beta distribution RNG for mean parameterization
rbetaprime()
RNG for the beta prime distribution
rcauchitnormal()
Cauchitnormal RNG-function
rcloglognormal()
Cloglognormal RNG-function
rexgauss_mean()
Custom rexgauss with default values
rfrechet_median()
Median parameterization of the Fréchet RNG
rgamma_mean()
Mean parameterization of the gamma RNG.
rgeneralized_normal()
RNG for the generalized_normal distribution
rgompertz()
RNG function for the Gompertz distribution, with Median parametrization.
rgumbel_mean()
RNG for the gumbel distribution
rkumaraswamy()
Kumaraswamy RNG function in Median parametrization.
rlogistic()
RNG for the logistic distribution
rlogitnormal()
Logitnormal RNG-function in median parametrization.
rlognormal()
Lognormal RNG-function in median parametrization.
rlognormal_natural()
Lognormal Natural RNG function
rlomax()
RNG function for the Lomax distribution, with Mean parametrization.
rng_lookup()
Lookup function for RNGs via string identifier
rshifted_inv_gaussian()
Shifted inverse Gaussian RNG function
rsimplex()
Simplex RNG function in Median parametrization.
rsoftplusnormal()
Softplus RNG-function in median parametrization.
rstudent_mean()
Custom rstudent with default df value mu and df arguments switched to comply to the Bayesfam allowing compatibility for Bayesim
rsymlognormal()
symlognormal RNG-function
runit_lindley()
Unit-Lindley RNG function
rweibull_median()
Median parameterization of the Weibull RNG.
shifted_inv_gaussian()
Shifted Inverse Gauss brms family
shifted_lognormal_uniform()
A mixture of shifted lognormal and uniform distribution suitable for modelling reaction times.
rshifted_lognormal_uniform() dshifted_lognormal_uniform()
Probability density and RNG function for the mixture of shifted lognormal and uniform distributions.
simplex()
Simplex brms-implementation in median parametrization.
softplus()
Softplus link function
softplusnormal()
Custom brms family Softplus in median parametrization.
symlog()
Symlog link function
symlognormal()
Custom brms family symlog-Normal
test_brms_quantile()
Check, that data of the posterior is close enough to the reference data.
test_rng()
Tests if an RNG can achieve a good enough location often enough
test_rng_asym()
Test if an RNG asymptotically approaches the true location
test_rng_quantiles()
Tests if an RNG can recover the true quantiles within a margin of error
unit_lindley()
Unit Lindley brms family