Skip to contents

This module calculates the Positive Predictive Value (PPV) and False Discovery Rate (FDR) for research findings based on the framework described by Ioannidis (2005). It helps researchers understand the probability that their claimed findings are actually true given various study characteristics.

Details

The calculation is based on Bayes' theorem and considers:

  • Prior probability of true relationships (percentage of a priori true hypotheses)

  • Type I error rate (alpha level)

  • Statistical power (1 - beta)

  • Proportion of p-hacked or biased studies

PPV = (Power × R + u × β × R) / (R + α - β × R + u - u × α + u × β × R) where R is the pre-study odds of true relationships (percTrue/(100-percTrue)) and u is the bias factor (percHack/100)

References

Ioannidis, J. P. (2005). Why most published research findings are false. PLoS medicine, 2(8), e124.

Adapted from https://github.com/raviselker/ppv

Super classes

jmvcore::Analysis -> ClinicoPath::ppvBase -> ppvClass