This function computes the variance of a normalized power prior conditional on a fixed power parameter and an initial normal prior for the effect size.
postNormVar(vardata, priorvar, alpha = 1)Prior variance
Variance of the data.
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