Meta Analysis Fundamentals
by matheus-rech
Teach the foundational concepts of meta-analysis including effect sizes, statistical models, and evidence synthesis. Use when users ask about meta-analysis basics, want to understand pooled effects, or need guidance on fixed vs random effects models.
Skill Details
Repository Files
1 file in this skill directory
name: meta-analysis-fundamentals description: Teach the foundational concepts of meta-analysis including effect sizes, statistical models, and evidence synthesis. Use when users ask about meta-analysis basics, want to understand pooled effects, or need guidance on fixed vs random effects models. license: Apache-2.0 compatibility: Works with any AI agent capable of statistical reasoning metadata: author: meta-agent version: "1.0.0" category: statistics domain: evidence-synthesis difficulty: beginner estimated-time: "15 minutes"
Meta-Analysis Fundamentals
This skill teaches the foundational concepts of meta-analysis, enabling you to explain and guide users through evidence synthesis methodology.
Overview
Meta-analysis is a statistical technique that combines results from multiple studies to arrive at a more precise estimate of an effect. It is the cornerstone of evidence-based medicine and research synthesis.
When to Use This Skill
Activate this skill when users:
- Ask "What is meta-analysis?"
- Want to understand effect sizes (OR, RR, SMD, MD)
- Need to choose between fixed and random effects models
- Ask about combining studies or pooling results
- Mention systematic reviews or evidence synthesis
Core Concepts to Teach
1. What is Meta-Analysis?
Definition: A "study of studies" that statistically combines results from multiple independent studies.
Key Teaching Points:
- Individual studies have limitations (small samples, specific populations)
- Combining studies increases statistical power
- Allows detection of smaller effects
- Improves generalizability of findings
Socratic Questions:
- "Why might a single study not give us the complete picture?"
- "What happens to our confidence when we have more data?"
- "Can you think of situations where combining studies might be problematic?"
2. Effect Sizes
Effect sizes quantify the magnitude of a treatment effect in a standardized way.
| Type | Use Case | Interpretation |
|---|---|---|
| Odds Ratio (OR) | Binary outcomes | OR=1 means no effect; OR<1 favors treatment; OR>1 favors control |
| Risk Ratio (RR) | Binary outcomes | RR=0.5 means 50% risk reduction |
| SMD (Hedges' g) | Continuous outcomes, different scales | 0.2=small, 0.5=medium, 0.8=large |
| Mean Difference (MD) | Continuous outcomes, same scale | Direct interpretation in original units |
Teaching Approach:
- First identify the outcome type (binary vs continuous)
- Then consider whether scales are comparable
- Guide user to appropriate effect size choice
3. Fixed vs Random Effects Models
Fixed-Effect Model:
- Assumes ONE true effect across all studies
- Differences between studies = sampling error only
- Use when: Studies are functionally identical
Random-Effects Model:
- Assumes true effects VARY between studies
- Accounts for both within-study and between-study variance
- Use when: Studies differ in populations, interventions, or settings
- Most common in medical research (DerSimonian-Laird method)
Decision Framework:
Are studies measuring the exact same thing
in the exact same population?
│
├── YES → Consider Fixed-Effect
│
└── NO → Use Random-Effects (default choice)
Assessment Questions
Use these to verify understanding:
-
Basic: "What is the main advantage of meta-analysis over a single study?"
- Correct: Increased statistical power
- Common misconception: "It's faster" or "It eliminates bias"
-
Intermediate: "When should you use a random-effects model?"
- Correct: When true effects are expected to vary between studies
- Common misconception: "When you have fewer studies"
-
Advanced: "An OR of 0.5 with 95% CI [0.3, 0.8] - is this statistically significant and clinically meaningful?"
- Guide: CI doesn't cross 1 → significant; 50% odds reduction → likely meaningful
Common Misconceptions to Address
-
"Meta-analysis eliminates bias"
- Reality: Can amplify biases if studies are biased
- Teach: "Garbage in, garbage out"
-
"More studies = better meta-analysis"
- Reality: Quality matters more than quantity
- Teach: Risk of bias assessment is crucial
-
"The pooled effect is the 'true' effect"
- Reality: It's an estimate with uncertainty
- Teach: Always report confidence intervals
Example Dialogue
User: "I want to combine results from 5 studies on aspirin for heart disease. How do I start?"
Response Framework:
- Acknowledge the goal
- Ask about outcome type (heart attacks? deaths? continuous measure?)
- Guide to appropriate effect size
- Discuss model choice (likely random-effects given clinical heterogeneity)
- Mention data requirements
References
See references/cochrane-handbook.md for detailed methodology. See references/effect-size-formulas.md for calculations.
Adaptation Guidelines
Glass (the teaching agent) MUST adapt this content to the learner:
- Language Detection: Detect the user's language from their messages and respond naturally in that language
- Cultural Context: Adapt examples to local healthcare systems and research contexts when relevant
- Technical Terms: Maintain standard English terms (e.g., "forest plot", "effect size", "I²") but explain them in the user's language
- Level Adaptation: Adjust complexity based on user's demonstrated knowledge level
- Socratic Method: Ask guiding questions in the detected language to promote deep understanding
- Local Examples: When possible, reference studies or guidelines familiar to the user's region
Example Adaptations:
- 🇧🇷 Portuguese: Use Brazilian health system examples (SUS, ANVISA guidelines)
- 🇪🇸 Spanish: Reference PAHO/OPS guidelines for Latin America
- 🇨🇳 Chinese: Include examples from Chinese medical literature
Related Skills
forest-plot-creation- Visualizing meta-analysis resultsheterogeneity-analysis- Assessing between-study variationpublication-bias-detection- Identifying missing studies
Related Skills
Attack Tree Construction
Build comprehensive attack trees to visualize threat paths. Use when mapping attack scenarios, identifying defense gaps, or communicating security risks to stakeholders.
Grafana Dashboards
Create and manage production Grafana dashboards for real-time visualization of system and application metrics. Use when building monitoring dashboards, visualizing metrics, or creating operational observability interfaces.
Matplotlib
Foundational plotting library. Create line plots, scatter, bar, histograms, heatmaps, 3D, subplots, export PNG/PDF/SVG, for scientific visualization and publication figures.
Scientific Visualization
Create publication figures with matplotlib/seaborn/plotly. Multi-panel layouts, error bars, significance markers, colorblind-safe, export PDF/EPS/TIFF, for journal-ready scientific plots.
Seaborn
Statistical visualization. Scatter, box, violin, heatmaps, pair plots, regression, correlation matrices, KDE, faceted plots, for exploratory analysis and publication figures.
Shap
Model interpretability and explainability using SHAP (SHapley Additive exPlanations). Use this skill when explaining machine learning model predictions, computing feature importance, generating SHAP plots (waterfall, beeswarm, bar, scatter, force, heatmap), debugging models, analyzing model bias or fairness, comparing models, or implementing explainable AI. Works with tree-based models (XGBoost, LightGBM, Random Forest), deep learning (TensorFlow, PyTorch), linear models, and any black-box model
Pydeseq2
Differential gene expression analysis (Python DESeq2). Identify DE genes from bulk RNA-seq counts, Wald tests, FDR correction, volcano/MA plots, for RNA-seq analysis.
Query Writing
For writing and executing SQL queries - from simple single-table queries to complex multi-table JOINs and aggregations
Pydeseq2
Differential gene expression analysis (Python DESeq2). Identify DE genes from bulk RNA-seq counts, Wald tests, FDR correction, volcano/MA plots, for RNA-seq analysis.
Scientific Visualization
Meta-skill for publication-ready figures. Use when creating journal submission figures requiring multi-panel layouts, significance annotations, error bars, colorblind-safe palettes, and specific journal formatting (Nature, Science, Cell). Orchestrates matplotlib/seaborn/plotly with publication styles. For quick exploration use seaborn or plotly directly.
