postNormVar {ppRep}R Documentation

Variance of normalized power prior

Description

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.

Usage

postNormVar(vardata, priorvar, alpha = 1)

Arguments

vardata

Variance of the data.

priorvar

Variance parameter of initial normal prior. Defaults to Inf (uniform prior).

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 1.

Value

Prior variance

Author(s)

Samuel Pawel


[Package ppRep version 0.42.3 Index]