Meta Analysis Instrumental Variable Estimator
Overview
Meta-analysis traditionally assigns more weight to studies with lower standard errors, assuming higher precision. However, in observational research, precision must be estimated and is vulnerable to manipulation, such as p-hacking, to achieve statistical significance. This can lead to spurious precision, invalidating inverse-variance weighting and bias-correction methods like funnel plots. Common methods for addressing publication bias, including selection models, often fail or exacerbate the problem. This package introduces an instrumental variable approach to limit bias caused by spurious precision in meta-analysis. Methods are described in 'Irsova et al.' (2025) doi:10.1038/s41467-025-63261-0.
*Released: 2026-09-03*
New Features
maive_from_metafor()converts a metaforescalcdata frame or anrma.unifit into the data framemaive()andwaive()expect. It takes the standard error assqrt(vi), so metafor's sampling variance cannot land in thesebsslot by mistake (which silently shifts the estimate), and it resolves sample sizes fromni, thenicolumn, theniattributeescalc()stamps on the effect sizes, orn1i + n2i, never from the variance.rma.unirows are taken through the fit'ssubsetand missing-value masks so effects, variances, sample sizes, and study identifiers stay aligned.rma.mv,rma.glmm, and otherrmasubclasses are refused with a message. metafor is a suggested dependency only.
---
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 8 (4 internal)includes a package overview page
- Examples that run
- 100%3 run in a plain check (1 of them under a condition)
- Exported functions with examples
- 75%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 87%
- Median days to close, 50 most recently updated closed issues
- 4
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
- github.com/meta-analysis-es/maive · last recorded on 2026-08-30
7 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/petrcala/maive on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 2 practices
This repository shows signs of AI coding tools.
- Codexfirst seen 2025-09-17Pull request it wrote: opened by a project member
- Claude Codefirst seen 2025-10-14Seen in the repository: CLAUDE.mdNamed in .Rbuildignore: .claude, CLAUDE.mdPull request it wrote: opened by a project member
Dependencies
Installing MAIVE adds 6 packages (3 with compiled code, 3.9 MB of source tarballs). Heaviest: sandwich 1.4 MB, rlang 766 KB, zoo 675 KB.
Code & Tests
People & History
Package metadata
- First published
- 2025-12-08
- Total releases
- 5 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.0.0
- Download size
- 97 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("MAIVE")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1038/s41467-025-63261-0.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.