Use when executing and reporting the analysis for a Global Change Biology (GCB) manuscript — mixed/hierarchical models, time-series and spatial analysis, meta-analysis, and model evaluation with honest uncertainty. GCB reviewers and data archiving demand reproducible, well-quantified inference. Guides analysis norms; it does not fabricate results.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Gcb Data Analysis?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/brycewang-stanford-gcb-data-analysis)
---
name: gcb-data-analysis
description: Use when executing and reporting the analysis for a Global Change Biology (GCB) manuscript — mixed/hierarchical models, time-series and spatial analysis, meta-analysis, and model evaluation with honest uncertainty. GCB reviewers and data archiving demand reproducible, well-quantified inference. Guides analysis norms; it does not fabricate results.
---
# Data Analysis (gcb-data-analysis)
GCB reviewers are quantitatively sophisticated, and because **data and code are archived publicly with
a DOI** (see `gcb-reporting-and-data-policy`), the analysis must be reproducible by a third party.
Analyze as if both are true — because they are. This skill covers execution and reporting norms; design
decisions live in `gcb-study-design`.
## When to trigger
- Running main and supporting analyses; building the results
- Choosing the right model for nested/repeated/spatial ecological data
- Synthesizing effect sizes for a meta-analysis or evaluating a process model
- Making the analysis reproducible before deposit
## Analysis norms GCB expects
1. **Respect the data structure.** Use mixed / hierarchical models (`lme4`, `glmmTMB`, `brms`, `INLA`)
for nested, repeated-measures, and spatially/temporally autocorrelated data; do not ignore random
effects or autocorrelation.
2. **Report uncertainty honestly.** Effect sizes with confidence/credible intervals, not just p-values
or stars; state the magnitude and its ecological/biogeochemical meaning.
3. **Quantify, propagate, and partition uncertainty.** For models, separate **parameter, structural,
and scenario** uncertainty; prefer **ensembles**; show measurement error where it matters.
4. **Meta-analysis discipline.** Appropriate effect size (log response ratio, Hedges' g), random/mixed
effects, heterogeneity (I^2, tau^2), moderators pre-specified, and a publication-bias check.
5. **Evaluate models against observations.** Report skill metrics and where the model fails, not only
where it succeeds.
6. **Right inference for the unit.** Match the analysis to the experimental/sampling unit; avoid
pseudoreplication carrying through from design.
## Reproducibility while you work (not at the end)
- One **master script** regenerates every table and figure from raw/constructed data.
- **Set and report seeds** for any stochastic step (bootstrap, MCMC, simulation, model ensembles).
- Pin software/package versions (`renv.lock`, `conda`/`requirements.txt`, model version + forcing).
- Keep manuscript table/figure numbers matched to script outputs — they will be archived together.
## Anti-patterns
- Treating nested/repeated/spatial data as independent observations
- Stars-only results with no effect sizes, intervals, or ecological magnitude
- A single model run reported as if it had no structural or scenario uncertainty
- A meta-analysis with no heterogeneity or publication-bias assessment
- Code that cannot reproduce the printed tables/figures ("works on my machine")
## Output format
```
【Main estimate】effect size + interval + ecological/biogeochemical meaning
【Data structure】random effects / autocorrelation handled? [Y/N]
【Uncertainty】measurement + parameter + structural + scenario partitioned?
【Model evaluation / heterogeneity】skill metrics or I^2 reported?
【Reproducible】master script + seeds + pinned versions? [Y/N]
【Next】gcb-figures-and-tables
```
## Supplementary resources
- [`../../resources/external_tools.md`](../../resources/external_tools.md) — mixed-model, meta-analysis, spatial, and modelling packages
- [`../../resources/official-source-map.md`](../../resources/official-source-map.md) — data/code archiving policy