Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

set_prior_val

Add prior values to Stan input for baggr


Description

Add prior values to Stan input for baggr

Usage

set_prior_val(target, name, prior, p = 1)

Arguments

target

list object (Stan input) to which prior will be added

name

prior name, like hypermean, hypersd, hypercor

prior

one of prior distributions allowed by baggr like normal

p

number of repeats of the prior, i.e. when P i.i.d. priors are set for P dimensional parameter as in "mu & tau" type of model


baggr

Bayesian Aggregate Treatment Effects

v0.4.0
GPL (>= 3)
Authors
Witold Wiecek [cre, aut], Rachael Meager [aut], Brice Green [ctb] (predict(), loo_compare, many visuals), Trustees of Columbia University [cph] (tools/make_cc.R)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.