Learn R Programming

PublicationBiasBenchmark (version 0.1.3)

method.PETPEESE: PET-PEESE (Precision-Effect Test and Precision-Effect Estimate with Standard Errors) Method

Description

Implements the Precision-Effect Test and Precision-Effect Estimate with Standard Errors (PET-PEESE) regresses effect sizes against standard errors^2 to correct for publication bias. The intercept represents the bias-corrected effect size estimate. See stanley2014meta;textualPublicationBiasBenchmark for details.

Usage

# S3 method for PETPEESE
method(method_name, data, settings)

Value

Data frame with PET-PEESE results

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"

(conditional_alpha = 0.10) determines whether to use PET (PET's effect is not significant at alpha = 0.10 or PEESE estimate (PET's effect is significant at alpha = 0.10)

References

Examples

Run this code
# 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 PETPEESE method
result <- run_method("PETPEESE", data)
print(result)

Run the code above in your browser using DataLab