View source: R/method-PETPEESE.R
| method.PETPEESE | R Documentation |
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 \insertCitestanley2014meta;textualPublicationBiasBenchmark for details.
## S3 method for class 'PETPEESE'
method(method_name, data, settings)
method_name |
Method name (automatically passed) |
data |
Data frame with yi (effect sizes) and sei (standard errors) |
settings |
List of method settings (see 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)
Data frame with PET-PEESE results
František Bartoš f.bartos96@gmail.com
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.