pipeline
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy +…
MEPS — Urban Institute modeled school-level poverty (% at 100% FPL), from CCD + SAIPE (public schools, 2009-2022, 2-3yr lag). Use when FRPL is unreliable due to CEP. Consistent cross-state measurement. Public schools only.
Claude Code
$ npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill education-data-source-meps --agent claude-code
Codex
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill education-data-source-meps -a codex -y
Cursor
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill education-data-source-meps -a cursor -y
Gemini CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill education-data-source-meps -a gemini-cli -y
GitHub Copilot
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill education-data-source-meps -a github-copilot -y
OpenCode
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill education-data-source-meps -a opencode -y
Windsurf
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill education-data-source-meps -a windsurf -y
name: education-data-source-meps description: >- MEPS — Urban Institute modeled school-level poverty (% at 100% FPL), from CCD + SAIPE (public schools, 2009-2022, 2-3yr lag). Use when FRPL is unreliable due to CEP. Consistent cross-state measurement. Public schools only. metadata: audience: any-agent domain: data-source skill-authored: "2026-02-09" skill-last-updated: "2026-02-09"
Model Estimates of Poverty in Schools (MEPS) — Urban Institute modeled estimates of school-level poverty (% students at or below 100% FPL), derived from CCD and Census SAIPE data (public schools, 2009-2022, 2-3 year lag). Use when analyzing school poverty rates, comparing poverty across states, or when FRPL data is unreliable due to CEP enrollment. Unlike FRPL, MEPS provides consistent cross-state measurement at a standardized 100% FPL threshold. Public schools only.
School-level poverty measure from the Urban Institute that is **comparable across states and time**, unlike Free/Reduced-Price Lunch (FRPL) data.
> **CRITICAL: Value Encoding** > > The Education Data Portal returns MEPS data with **integer-encoded** categorical and identifier columns. This differs from some external documentation: > > | Column | Portal Type | Example Value | Notes | > |--------|-------------|---------------|-------| > | `fips` | Int64 | `6` | State FIPS as integer (California = 6) | > | `ncessch` | Int64 | `10000200277` | 12-digit NCES school ID as integer | > | `leaid` | Int64 | `100002` | 7-digit district ID as integer | > | `gleaid` | Int64 | `100013` | Geographic LEA ID as integer | > | `year` | Int64 | `2018` | Academic year (fall semester) | > > **Missing values:** Unlike CCD, MEPS uses **native nulls** rather than negative coded values (-1, -2, -3). While the codebook lists these codes, actual Portal data contains nulls for missing values. > > See `./references/variable-definitions.md` for complete encoding tables.
MEPS is a **modeled estimate** of the share of students from households with incomes at or below **100% of the Federal Poverty Level (FPL)**.
| File | Purpose | When to Read | |------|---------|--------------| | `methodology.md` | How MEPS estimates are calculated | Understanding the model, research validation | | `comparison-to-frpl.md` | Detailed FRPL vs MEPS comparison | Deciding which measure to use | | `data-sources.md` | Input data (CCD, SAIPE, ISP) | Understanding data provenance | | `variable-definitions.md` | MEPS variables and codes | Building queries, interpreting results | | `data-quality.md` | Limitations, uncertainty, appropriate uses | Research design, caveats |
What is your research goal?
├─ Compare poverty across states → Use MEPS
│ └─ FRPL varies by state policy, MEPS is standardized
├─ Track poverty over time (post-2010) → Use MEPS
│ └─ CEP adoption makes FRPL inconsistent
├─ Study CEP/universal meals impact → Use both
│ └─ Compare MEPS (true poverty) vs FRPL (program participation)
├─ Match historical research (pre-2010) → Consider FRPL
│ └─ MEPS only available 2006+, but FRPL was more reliable then
├─ Need 185% FPL threshold → Use FRPL with caveats
│ └─ MEPS only measures 100% FPL
└─ Federal funding formulas → Check formula requirements
└─ Some formulas mandate FRPL; note limitationsWhich estimate type?
├─ Standard analysis → `meps_poverty_pct`
│ └─ Original modeled estimate
├─ High-poverty district adjustment → `meps_mod_poverty_pct`
│ └─ Modified MEPS for districts where model underestimates
├─ Need confidence bounds → `meps_poverty_se`
│ └─ Standard error for uncertainty analysis
└─ Categorical analysis → Derive from `meps_poverty_pct`
└─ Create quartiles/quintiles as neededAccess method? ├─ Mirror download (recommended) → See "Data Access" section below └─ Join with other data → Use `ncessch` as join key
> **Data Access:** MEPS data is fetched from mirrors (parquet/CSV). See `datasets-reference.md` for canonical paths, `mirrors.yaml` for mirror configuration, and `fetch-patterns.md` for fetch code patterns.
The Portal field names differ from some external MEPS documentation:
| External Documentation | Portal Field Name | |------------------------|-------------------| | `meps` / `school_poverty` | `meps_poverty_pct` | | `meps_mod` | `meps_mod_poverty_pct` | | `meps_se` | `meps_poverty_se` |
All ID and categorical columns use **integer encoding** in Portal data:
| Variable | Description | Type | Range/Notes | |----------|-------------|------|-------------| | `ncessch` | NCES school ID (12-digit) | **Int64** | e.g., `10000200277` | | `ncessch_num` | NCES school ID (numeric duplicate) | **Int64** | Same as ncessch | | `year` | School year (fall) | **Int64** | 2009-2022 (actual data range) | | `fips` | State FIPS code | **Int64** | 1-56 | | `leaid` | District ID (7-digit) | **Int64** | e.g., `100002` | | `gleaid` | Geographic LEA ID | **Int64** | e.g., `100013` | | `meps_poverty_pct` | Estimated share in poverty (100% FPL) | Float64 | 0.0-60.5% (actual range) | | `meps_mod_poverty_pct` | Modified MEPS estimate | Float64 | 0.0-100.0% | | `meps_poverty_se` | Standard error of estimate | Float64 | 0.5-3.8 (typical range) | | `meps_poverty_ptl` | National percentile (enrollment-weighted) |
## 🔥 力荐 · StatsPAI — Stata 与 R 的 Python 平替,为 AI Agent 而生 🔁 Stata / R 平替:reghdfe、csdid、rdrobust、synth、fixest、did 等常用命令在 Python 中一站式替代,一个 import statspai as sp 搞定 DID / RD / IV / SCM / DML / matching 🤖 面向 Agent 设计:结构化结果对象 + 内置 MCP Server,Claude / Codex
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy +…
Use when the user asks to run a full empirical / causal analysis in Python — by default in the style of an applied economics…
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy +…
Classical end-to-end empirical analysis workflow in the traditional Stata ecosystem — native Stata + reghdfe + ivreg2 + csdid +…
Classical end-to-end empirical analysis workflow in the modern tidyverse + econometrics R ecosystem — dplyr + tidyr + haven +…
Systematic writing framework for philosophy and interdisciplinary academic papers from optimized outline to submission-ready…
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…