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)Prior mean
Data.
Variance of the data.
Mean parameter of initial normal prior. Defaults to
0.
Variance parameter of initial normal prior. Defaults to
Inf (uniform prior).
Power parameter. Indicates to which power the likelihood of the
data is raised. Can be set to a number in [0, 1]. Defaults to 1.
Samuel Pawel