Skip to content

MAIVE

0.3.0Package record

Meta Analysis Instrumental Variable Estimator

1packages dependsuggested by 1
3.4Kdownloads / year
89.1%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.3.0

*Released: 2026-09-03*

New Features

  • maive_from_metafor() converts a metafor escalc data frame or an rma.uni fit into the data frame maive() and waive() expect. It takes the standard error as sqrt(vi), so metafor's sampling variance cannot land in the sebs slot by mistake (which silently shifts the estimate), and it resolves sample sizes from ni, the ni column, the ni attribute escalc() stamps on the effect sizes, or n1i + n2i, never from the variance. rma.uni rows are taken through the fit's subset and missing-value masks so effects, variances, sample sizes, and study identifiers stay aligned. rma.mv, rma.glmm, and other rma subclasses are refused with a message. metafor is a suggested dependency only.

---

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.0
READMEYes · 719 wordsVignettesYes · 2 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 0.3.0Citation fileYes · cites a publicationWebsiteYes
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

3.4K
CRAN downloads in the past year
Rank #6,518 · ~9/day · ~280/mo
Daily download trend is not available in this view yet.
38430 days
1.3K90 days
3.4K1 year
Compare downloads with other packages →
Also on124 r2u7 autocran

Repository

0Stars
0Forks
0Open issues
0Open PRs
4Releases
193Commits
3Commit identities
193 commits · Last activity 2026-09-14 · Default branch at 0.5.0, ahead of CRAN 0.3.0 (checked 2026-10-11)
Responsiveness
How these are sampled
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

2025-07-14 · 12026-09-04 · 0
Earlier repositories
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (1)
pkgdown
Coverage (1)
Coverage reporting
Reproducibility and dev environment (1)
Makefile
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Codexfirst seen 2025-09-17
    Pull request it wrote: opened by a project member
  • Claude Codefirst seen 2025-10-14
    Seen in the repository: CLAUDE.md
    Named in .Rbuildignore: .claude, CLAUDE.md
    Pull request it wrote: opened by a project member
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 4.0.0
Imports (3)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (5)
Author, Maintainer since 0.1.10 (2025)
Charles University, Prague
Author
University of Deusto, Bilbao
Author
Charles University, Prague; CEPR, London; METRICS, Stanford
Author
Charles University, Prague
Author
University of the Balearic Islands, Palma
Releases (5)

Pick two releases to compare their code metrics.

  • 0.3.0Latest
    record
    2026-09-03 · current release · diff ↗ ·
    added 1 export
    maive_from_metafor
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.5
    record
    2026-02-04 · diff ↗
  • 0.2.4
    record
    2026-02-04 · diff ↗ ·
    added 1 export
    get_funnel_plot
  • 0.1.11
    record
    2025-12-18 · diff ↗
  • 0.1.10
    record
    2025-12-08
  • R
    R 4.5.0 released · 2025-04-11

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
Appears in task views

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for MAIVE version 0.3.0 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy