Make posterior draws for treatment effect
This function takes the samples of hyperparameters of a baggr model
(commonly hypermean tau and hyper-SD sigma_tau) and simulates values of
new realisations of tau (a mean effect in some unobserved group).
effect_draw(x, n, transform = NULL)
x |
A |
n |
How many values to draw? The default is the same as number of samples in the model (default is 2,000). |
transform |
a transformation to apply to the result, should be an R function;
(this is commonly used when calling |
A vector of possible values of the treatment effect.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.