Data Analysis (jedpsych-data-analysis)
The Journal of Educational Psychology holds analyses to the standards of a rigorous psychological research
journal operating in nested educational settings. The recurring requirements are: model the nesting
(students in classes in schools), report effect sizes with confidence intervals that are
educationally interpretable, test the mechanism (mediation/moderation), and disclose fully under
JARS. Analysis scripts and data are expected to be shareable and reproducible.
When to trigger
- Running and reporting the main and supporting analyses
- A reviewer asked for multilevel modeling, effect sizes, mechanism tests, or disclosure
- Reconciling preregistered analyses with exploratory follow-ups
- Preparing analysis scripts and a codebook for deposit
Reporting norms JEP expects
- Respect the nesting. Use multilevel (hierarchical linear) models, SEM, or growth models that
account for students nested in classrooms/schools. Cluster-robust or random-effects inference is
expected; ignoring clustering deflates standard errors and is a standard JEP rejection reason.
- Educationally meaningful effect sizes + uncertainty. Report a standardized effect (e.g., Hedges's
g, a multilevel d, R²/variance explained, or a growth-rate difference) with a confidence
interval, and interpret it in learning terms (e.g., months of progress, percentile shift) — not just
p-values and stars.
- Test the mechanism. JEP is theory-driven: where the hypothesis includes a learning/motivational
process, fit the mediation (with appropriate multilevel mediation methods) or moderation, not only the
total effect.
- Full disclosure (JARS). Report how sample size was determined, all conditions and measures, all
exclusions/attrition (with reasons and counts), missing-data handling (e.g., FIML/multiple imputation),
and model specification. Confirmatory vs. exploratory must be clearly separated.
- Appropriate inference. Justify the model; report assumptions/diagnostics and fit indices for SEM;
correct for multiple comparisons across many outcomes; consider robustness to alternative specifications.
Robustness and missing data
- Show the result survives reasonable alternative specifications (covariate sets, model form, with/without
exclusions). Handle attrition and missingness with principled methods (FIML, MI) and report rates by arm.
Worked micro-example (illustrative numbers)
A preregistered cluster-randomized reading-comprehension trial (48 classrooms, ~1,100 students). The
confirmatory analysis is a two-level model with a pretest covariate and a preregistered mediation test.
Confirmatory (preregistered) — primary effect
Two-level model (students within classrooms), pretest-adjusted:
classroom-level treatment effect on transfer comprehension
g = 0.23, 95% CI [0.06, 0.40]; ICC = 0.14; ~2.0 months of progress.
Inference uses random classroom intercepts; SEs respect clustering.
Confirmatory (preregistered) — mechanism
Multilevel mediation: monitoring gain mediates ~40% of the effect,
indirect 95% CI [0.02, 0.13] (excludes 0).
Sensitivity: holds with/without the preregistered attrition exclusions
(g 0.23 → 0.21), and under FIML for missing posttests.
Exploratory (labeled): larger effect for initially low-comprehension
readers (ATI); reported as exploratory, flagged for future confirmation.
Why this passes JEP scrutiny: the model respects nesting; the effect carries a CI and an educational
interpretation; the mechanism is tested, not asserted; the sensitivity line pre-empts the "fragile-to-
exclusions" reviewer; and the ATI is honestly demoted to exploratory.
Analysis-stage reviewer pushback and the venue fix
| Reviewer pushback |
What it signals here |
JEP fix |
| "You ignored clustering" |
deflated SEs from nesting |
refit a multilevel/random-effects model; report the ICC |
| "Effect size, and what does it mean for learning?" |
post-reform interpretability bar |
add a CI and an educational metric (months/percentile) |
| "Mechanism untested" |
total effect without theory |
fit the preregistered multilevel mediation/moderation |
| "Which analyses were preregistered?" |
forking-paths suspicion |
give the disclosure table; relabel post hoc as exploratory |
| "How was attrition handled?" |
missing-data validity |
report rates by arm; use FIML/MI; show robustness |
Calibration anchors
- One well-powered, properly nested effect with a tight CI and a clear educational interpretation beats a
pile of stars from a model that treated students as independent — the latter is a routine JEP reject.
- Prefer estimation language ("the intervention raised transfer comprehension by g = 0.23, ~2 months of
progress, 95% CI [...]") to dichotomous "significant/not."
- Mechanism evidence is what makes the paper educational psychology rather than evaluation; budget the
mediation/moderation test as a first-class result, not an afterthought.
Execution bridge (StatsPAI / Stata MCP)
Run the battery, don't just enumerate it. Full map:
execution-with-mcp. JEdPsych mixes field/lab experiments and observational school data; multilevel (student-in-class-in-school) inference and many-outcome corrections matter most.
- Many outcomes / specifications:
romano_wolf (step-down FWER) or
benjamini_hochberg — report the adjusted threshold.
- OVB sensitivity:
oster_delta / sensemakr.
- Inference:
wild_cluster_bootstrap (few clusters), twoway_cluster / conley;
multilevel data → cluster at the right level.
- Re-fit off one handle:
audit_result(result_id) lists the missing checks and the
exact suggest_function for each.
- Exhibits:
etable / did_summary_to_latex from the handle — no retyped numbers.
Keep the decisive checks in the body and the exhaustive battery in the supplement. See
the executed chain in the JF execution walkthrough.
Anti-patterns
- Treating nested students as independent (single-level OLS on clustered data)
- p-values and stars with no effect size, CI, or educational interpretation
- Reporting a total intervention effect with no test of the theorized mechanism
- Selective reporting of conditions, measures, or exclusions (undisclosed flexibility)
- Ad hoc deletion of missing data with no principled method or robustness check
Output format
【Model】multilevel / SEM / growth — nesting respected? [Y/N]
【Main result】effect size + CI + educational interpretation
【Mechanism】mediation/moderation tested as hypothesized? [Y/N/NA]
【Disclosure】N-determination + all exclusions/attrition + all measures (JARS)? [Y/N]
【Confirmatory vs exploratory】clearly separated? [Y/N]
【Reproducible】scripts + codebook + missing-data method? [Y/N]
【Next】jedpsych-tables-figures
Supplementary resources
Source: brycewang-stanford/Awesome-Journal-Skills → Journal-of-Educational-Psychology-Skills/skills/jedpsych-data-analysis/SKILL.md
1---2name: jedpsych-data-analysis3description: "Use when analyzing and reporting results for a Journal of Educational Psychology manuscript. JEP expects analyses that respect nesting (multilevel/SEM/growth models), report educationally meaningful effect sizes with confidence intervals, test mechanisms (mediation/moderation), and follow JARS with full disclosure. Guides analysis norms; it does not fabricate results."4category: backend-and-data5source_repo: brycewang-stanford/Awesome-Journal-Skills6source_path: "Journal-of-Educational-Psychology-Skills/skills/jedpsych-data-analysis/SKILL.md"7source_url: https://github.com/brycewang-stanford/Awesome-Journal-Skills/blob/HEAD/Journal-of-Educational-Psychology-Skills/skills/jedpsych-data-analysis/SKILL.md8metadata:9 source: https://skillmd.com/skills/thedixitjain/jedpsych-data-analysis10---111213# Data Analysis (jedpsych-data-analysis)1415The Journal of Educational Psychology holds analyses to the standards of a rigorous psychological research16journal *operating in nested educational settings*. The recurring requirements are: **model the nesting**17(students in classes in schools), report **effect sizes with confidence intervals** that are18**educationally interpretable**, test the **mechanism** (mediation/moderation), and disclose fully under19**JARS**. Analysis scripts and data are expected to be shareable and reproducible.2021## When to trigger2223- Running and reporting the main and supporting analyses24- A reviewer asked for multilevel modeling, effect sizes, mechanism tests, or disclosure25- Reconciling preregistered analyses with exploratory follow-ups26- Preparing analysis scripts and a codebook for deposit2728## Reporting norms JEP expects29301. **Respect the nesting.** Use multilevel (hierarchical linear) models, SEM, or growth models that31 account for students nested in classrooms/schools. Cluster-robust or random-effects inference is32 expected; ignoring clustering deflates standard errors and is a standard JEP rejection reason.332. **Educationally meaningful effect sizes + uncertainty.** Report a standardized effect (e.g., Hedges's34 *g*, a multilevel *d*, R²/variance explained, or a growth-rate difference) **with a confidence35 interval**, and interpret it in learning terms (e.g., months of progress, percentile shift) — not just36 p-values and stars.373. **Test the mechanism.** JEP is theory-driven: where the hypothesis includes a learning/motivational38 process, fit the mediation (with appropriate multilevel mediation methods) or moderation, not only the39 total effect.404. **Full disclosure (JARS).** Report how sample size was determined, all conditions and measures, all41 exclusions/attrition (with reasons and counts), missing-data handling (e.g., FIML/multiple imputation),42 and model specification. Confirmatory vs. exploratory must be clearly separated.435. **Appropriate inference.** Justify the model; report assumptions/diagnostics and fit indices for SEM;44 correct for multiple comparisons across many outcomes; consider robustness to alternative specifications.4546## Robustness and missing data4748- Show the result survives reasonable alternative specifications (covariate sets, model form, with/without49 exclusions). Handle attrition and missingness with principled methods (FIML, MI) and report rates by arm.5051## Worked micro-example (illustrative numbers)5253A preregistered cluster-randomized reading-comprehension trial (48 classrooms, ~1,100 students). The54confirmatory analysis is a two-level model with a pretest covariate and a preregistered mediation test.5556```57Confirmatory (preregistered) — primary effect58 Two-level model (students within classrooms), pretest-adjusted:59 classroom-level treatment effect on transfer comprehension60 g = 0.23, 95% CI [0.06, 0.40]; ICC = 0.14; ~2.0 months of progress.61 Inference uses random classroom intercepts; SEs respect clustering.62Confirmatory (preregistered) — mechanism63 Multilevel mediation: monitoring gain mediates ~40% of the effect,64 indirect 95% CI [0.02, 0.13] (excludes 0).65Sensitivity: holds with/without the preregistered attrition exclusions66 (g 0.23 → 0.21), and under FIML for missing posttests.67Exploratory (labeled): larger effect for initially low-comprehension68 readers (ATI); reported as exploratory, flagged for future confirmation.69```7071Why this passes JEP scrutiny: the model respects nesting; the effect carries a CI *and* an educational72interpretation; the mechanism is tested, not asserted; the sensitivity line pre-empts the "fragile-to-73exclusions" reviewer; and the ATI is honestly demoted to exploratory.7475## Analysis-stage reviewer pushback and the venue fix7677| Reviewer pushback | What it signals here | JEP fix |78|-------------------|----------------------|---------|79| "You ignored clustering" | deflated SEs from nesting | refit a multilevel/random-effects model; report the ICC |80| "Effect size, and what does it mean for learning?" | post-reform interpretability bar | add a CI and an educational metric (months/percentile) |81| "Mechanism untested" | total effect without theory | fit the preregistered multilevel mediation/moderation |82| "Which analyses were preregistered?" | forking-paths suspicion | give the disclosure table; relabel post hoc as exploratory |83| "How was attrition handled?" | missing-data validity | report rates by arm; use FIML/MI; show robustness |8485## Calibration anchors8687- One well-powered, properly nested effect with a tight CI and a clear educational interpretation beats a88 pile of stars from a model that treated students as independent — the latter is a routine JEP reject.89- Prefer estimation language ("the intervention raised transfer comprehension by g = 0.23, ~2 months of90 progress, 95% CI [...]") to dichotomous "significant/not."91- Mechanism evidence is what makes the paper educational *psychology* rather than evaluation; budget the92 mediation/moderation test as a first-class result, not an afterthought.9394## Execution bridge (StatsPAI / Stata MCP)9596Run the battery, don't just enumerate it. Full map:97[`execution-with-mcp`](../../../shared-resources/empirical-methods/execution-with-mcp.md). JEdPsych mixes field/lab experiments and observational school data; multilevel (student-in-class-in-school) inference and many-outcome corrections matter most.9899- **Many outcomes / specifications:** `romano_wolf` (step-down FWER) or100 `benjamini_hochberg` — report the adjusted threshold.101- **OVB sensitivity:** `oster_delta` / `sensemakr`.102- **Inference:** `wild_cluster_bootstrap` (few clusters), `twoway_cluster` / `conley`;103 multilevel data → cluster at the right level.104- **Re-fit off one handle:** `audit_result(result_id)` lists the missing checks and the105 exact `suggest_function` for each.106- **Exhibits:** `etable` / `did_summary_to_latex` from the handle — no retyped numbers.107108Keep the decisive checks in the body and the exhaustive battery in the supplement. See109the executed chain in the [JF execution walkthrough](../../../Journal-of-Finance-Skills/resources/worked-examples/02-execution-walkthrough.md).110## Anti-patterns111112- Treating nested students as independent (single-level OLS on clustered data)113- p-values and stars with no effect size, CI, or educational interpretation114- Reporting a total intervention effect with no test of the theorized mechanism115- Selective reporting of conditions, measures, or exclusions (undisclosed flexibility)116- Ad hoc deletion of missing data with no principled method or robustness check117118## Output format119120```121【Model】multilevel / SEM / growth — nesting respected? [Y/N]122【Main result】effect size + CI + educational interpretation123【Mechanism】mediation/moderation tested as hypothesized? [Y/N/NA]124【Disclosure】N-determination + all exclusions/attrition + all measures (JARS)? [Y/N]125【Confirmatory vs exploratory】clearly separated? [Y/N]126【Reproducible】scripts + codebook + missing-data method? [Y/N]127【Next】jedpsych-tables-figures128```129130## Supplementary resources131132- [`../../resources/external_tools.md`](../../resources/external_tools.md) — `lme4`/`nlme`, `lavaan`/Mplus, `mediation`, `metafor`, `effectsize`, missing-data tools133- [`../../resources/official-source-map.md`](../../resources/official-source-map.md) — JARS statistical and disclosure requirements134135---136137**Source:** [`brycewang-stanford/Awesome-Journal-Skills`](https://github.com/brycewang-stanford/Awesome-Journal-Skills) → `Journal-of-Educational-Psychology-Skills/skills/jedpsych-data-analysis/SKILL.md`