View source: R/posteriorTauDensity.R
posteriorTauDensity | R Documentation |
Density of the posterior distribution of model parameters when the intercept is fixed at its MAP value and the treatment effect is given
posteriorTauDensity(tau, ptmap)
tau |
a specific value for the treatment effect parameter |
ptmap |
a |
of the posterior distribution of model parameters when the intercept is fixed at its MAP value and the treatment effect is given
df <- dgenRbinom() postThetaMAP <- posteriorThetaMAP(df$Y, df$D, sigma0=1, lambda=1) tau <- 0.1 posteriorTauDensity(tau, postThetaMAP)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.