p2minpp: Conversion of a frequentist p-value to a lower bound of the posterior
probability that the null hypothesis is true assuming equal odds of the
null and the alternative
Description
This function computes the approximate lower bound to the posterior
probability of the null hypothesis assuming equal odds of the
null and the alternative. See Sellke et al.(2001) for the derivation,
and note that the posterior probability of the null hypothesis is what
many incorrectly assume the p-value is measuring.
Usage
p2minpp(p)
Arguments
p
the frequentist p-value (which has to be less than 1/e or 0.37)
Value
the approximate lower bound of the posterior probability of the null hypothesis
References
Sellke, T., Bayarri, M.J., and Berger, J.O. 2001. Calibration of p
Values for Testing Precise Hypotheses. Am. Statistician 55(1) pp
62--71.
van Hulst, R. 2018. Evaluating Scientific Evidence. ms.