A Bayesian p-value (p) is here defined in terms of the quantile-based
(1-p) * 100% credible interval (CRI) that
just includes a threshold (Kery and Schaub 2011).
By default a p-value of 0.05 indicates that the 95% CRI just includes the
threshold value.Note that the function contains the sample-size correction
\(p_{c} = p * n / (n + 1)\) to avoid p-values of 0. The function can still
return p-values of 1.To use as a measure of certainty in the direction of the estimate (i.e.,
positive or negative), see probability_direction().For p-values converted to bits, see svalue().To convert MCMC objects to information, see directional_information().
References
Kery, M., and Schaub, M. 2011. Bayesian population analysis using WinBUGS: a hierarchical perspective. Academic Press, Boston. Available from https://www.vogelwarte.ch/en/research/population-biology/book-bpa/.
See also
Other summary:
direction(),
directional_information(),
kurtosis(),
lower(),
probability_direction(),
pzeros(),
skewness(),
svalue(),
upper(),
variance(),
xtr_mean(),
xtr_median(),
xtr_sd(),
zeros(),
zscore()
