naep_compare_groups
Compare NAEP scores across racial, gender, and poverty groups to identify achievement gaps with statistical significance testing.
Instructions
Compare NAEP scores across demographic groups (race, gender, poverty) with significance testing. Shows achievement gaps between groups (e.g., White vs Black, Male vs Female, eligible vs not eligible for free lunch).
Input 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. | |
| variable | Yes | 'SDRACE' (race gap), 'GENDER' (gender gap), 'SLUNCH3' (poverty gap), 'IEP' (disability gap), 'LEP' (ELL gap) | |
| jurisdiction | No | 'NP' (default), or state codes | |
| year | No | Year: '2022'. Default: most recent |