postNormMean | R Documentation |
This function computes the mean of a normalized power prior conditional on a fixed power parameter and an initial normal prior for the effect size.
postNormMean(dat, vardata, priormean, priorvar, alpha = 1)
dat |
Data. |
vardata |
Variance of the data. |
priormean |
Mean parameter of initial normal prior. Defaults to
|
priorvar |
Variance parameter of initial normal prior. Defaults to
|
alpha |
Power parameter. Indicates to which power the likelihood of the
data is raised. Can be set to a number in [0, 1]. Defaults to |
Prior mean
Samuel Pawel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.