prior_phacking() creates a prior distribution for a
mass-preserving p-hacking redistribution kernel. The initial backend supports
linear and quadratic power depletion between source and
target, with depleted probability mass redistributed between
target and destination.
prior_phacking(
side = "one-sided",
target = 0.025,
source = 0.25,
destination = 0.005,
form = c("linear", "quadratic"),
alpha = prior("beta", list(1, 1)),
report_scale = "pi_null",
prior_weights = 1
)prior_phacking() returns an object of class "prior".
side geometry. Currently only "one-sided" is supported.
target p-value cut point.
source p-value cut point. Must be larger than target.
destination p-value cut point. Must be smaller than
target.
power depletion form, either "linear" or
"quadratic".
prior distribution for the p-hacking severity parameter.
reporting scale for deterministic summaries.
prior odds associated with a given distribution.