naep_compare_states
Compare NAEP educational assessment scores between states to identify statistically significant differences in performance across subjects and grades.
Instructions
Compare NAEP scores across states/jurisdictions with significance testing. Shows which states score significantly higher or lower than others. Example: Compare Massachusetts vs Mississippi reading scores.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | Yes | Subject: 'reading', 'math', 'science', 'writing', 'civics', 'history', 'geography', 'economics', 'tel', 'music'. Aliases accepted. | |
| grade | Yes | Grade: 4, 8, or 12. Math: 4,8 only. Economics/TEL/Music: 8 or 12 only. | |
| jurisdictions | Yes | Comma-separated jurisdiction codes: 'NP,CA,TX,MS,MA' or 'NP,NY' | |
| variable | No | 'TOTAL' (default), 'SDRACE', 'GENDER' | |
| year | No | Year: '2022'. Default: most recent |