Deep methodology knowledge for pairwise meta-analysis including fixed vs random effects, heterogeneity assessment, publication bias, and sensitivity analysis. Use when conducting or reviewing pairwise MA.
/plugin marketplace add choxos/BiostatAgent/plugin install choxos-itc-modeling-plugins-itc-modeling@choxos/BiostatAgentThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Comprehensive methodological guidance for conducting rigorous pairwise meta-analysis following Cochrane and PRISMA guidelines.
Are studies functionally identical?
├── Yes → Fixed-effect model appropriate
│ - Same population, intervention, comparator, outcome
│ - Estimating single "true" effect
│
└── No (usually the case) → Random-effects model
- Studies differ in ways that affect true effect
- Estimating mean of distribution of effects
- More generalizable inference
| Aspect | Fixed-Effect | Random-Effects |
|---|---|---|
| Assumption | Common true effect | Distribution of true effects |
| Weights | Based on precision only | Includes between-study variance |
| Small study | More weight | Less weight |
| Large study | Less relative weight | More weight |
| CI width | Narrower (if heterogeneity exists) | Wider (appropriately) |
| Inference | To identical studies | To broader population |
# Interpretation
Q_pvalue < 0.10 # Suggests heterogeneity (use 0.10, not 0.05)
| I² Value | Interpretation |
|---|---|
| 0-25% | Low heterogeneity |
| 25-50% | Moderate heterogeneity |
| 50-75% | Substantial heterogeneity |
| >75% | Considerable heterogeneity |
Caution: These thresholds are rules of thumb, not strict cutoffs.
Critical: Always report prediction intervals alongside confidence intervals.
# In meta package
metabin(..., prediction = TRUE)
If PI includes null but CI doesn't:
# Categorical moderator
update(ma_result, subgroup = risk_of_bias)
# Requirements:
# - Pre-specified in protocol
# - Limited number of subgroups
# - Biological/clinical rationale
# - Report within and between subgroup heterogeneity
# Continuous moderator
rma(yi, vi, mods = ~ year + sample_size, data = es_data)
# Requirements:
# - Minimum 10 studies per moderator
# - Pre-specified moderators
# - Avoid overfitting
# - Use Knapp-Hartung adjustment
# - Permutation test for multiple moderators
funnel(ma_result)
# Look for:
# - Asymmetry (small studies with large effects)
# - Missing studies in certain regions
# - Outliers
metabias(ma_result, method.bias = "linreg")
# P < 0.10 suggests asymmetry
# Low power with < 10 studies
metabias(ma_result, method.bias = "peters")
# Better for OR than Egger's
metabias(ma_result, method.bias = "rank")
# Non-parametric alternative
# Lower power than regression tests
trimfill(ma_result)
# Imputes "missing" studies
# Provides adjusted estimate
# Sensitivity analysis, not definitive correction
# More sophisticated approaches
# Model the selection process
# Available in metafor and weightr packages
Fixed vs Random Effects
Leave-One-Out
metainf(ma_result)
# Identifies influential studies
Risk of Bias
Influence Diagnostics
influence(ma_result)
# DFBETAS, Cook's distance
Different Effect Measures
Estimation Method
# Graphical display of study heterogeneity
gosh(ma_result)
# Identifies subsets with different results
library(meta)
# Basic random-effects MA (binary)
ma <- metabin(
event.e, n.e, event.c, n.c,
studlab = study,
data = dat,
sm = "OR",
method = "MH",
method.tau = "REML",
hakn = TRUE, # Knapp-Hartung adjustment
prediction = TRUE # Prediction interval
)
# Forest plot
forest(ma, sortvar = TE, prediction = TRUE)
# Funnel plot and Egger's test
funnel(ma)
metabias(ma, method.bias = "linreg")
# Influence analysis
metainf(ma)
# Subgroup analysis
update(ma, subgroup = risk_of_bias)
This skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.