method.puniform: puniform (P-Uniform) Method

View source: R/method-puniform.R

method.puniformR Documentation

puniform (P-Uniform) Method

Description

Implements the p-uniform method for publication bias detection and correction. P-uniform uses the distribution of p-values from significant studies to test for publication bias and estimate the effect size corrected for publication bias. The method assumes that p-values follow a uniform distribution under the null hypothesis of no effect, and uses this to detect and correct for bias. See \insertCitevanassen2015meta;textualPublicationBiasBenchmark and \insertCitevanaert2025puniform;textualPublicationBiasBenchmark for details.

Usage

## S3 method for class 'puniform'
method(method_name, data, settings)

Arguments

method_name

Method name (automatically passed)

data

Data frame with yi (effect sizes) and sei (standard errors)

settings

List of method settings (see Details)

Details

The following settings are implemented

"default"

Default p-uniform analysis settings.

"star"

P-uniform star version of the method.

Value

Data frame with P-Uniform results

Author(s)

František Bartoš f.bartos96@gmail.com

References

\insertAllCited

Examples

# Generate some example data
data <- data.frame(
  yi = c(0.2, 0.3, 0.1, 0.4, 0.25),
  sei = c(0.1, 0.15, 0.08, 0.12, 0.09)
)

# Apply puniform method
result <- run_method("puniform", data)
print(result)


PublicationBiasBenchmark documentation built on March 16, 2026, 5:07 p.m.