Homework and Math Scores Across Schools
This study examines how weekly homework hours relate to students' math scores, acknowledging that students are nested within schools so any raw relationship may confound within-school effects with between-school differences.
- To describe the math_score and homework_hours across the participating schools.
- To fit a multilevel (mixed-effects) model of math_score on homework_hours with a random intercept per school, so within-school and between-school variation are separated.
| Column | Kind | Missing | Distinct |
|---|---|---|---|
| math_score | numeric | 0 | 196 |
| school_id | categorical | 0 | 10 |
| homework_hours | numeric | 0 | 76 |
Detected a multilevel design with 2 analyzable variable(s) and 2 analytical question(s). Recommended 2 statistical test(s). Estimated cost: 26 credits.
| n | max | min | std | mean | mode | range | median | variable | variance |
|---|---|---|---|---|---|---|---|---|---|
| 289 | 87 | 40.900 | 9.518 | 68.060 | 66.800 | 46.100 | 68.900 | math_score | 90.599 |
| 289 | 8 | 0.500 | 2.168 | 4.481 | 5.500 | 7.500 | 4.600 | homework_hours | 4.700 |
| coef | ci low | ci high | p value | predictor |
|---|---|---|---|---|
| 2.483 | 2.302 | 2.664 | 0.000 | homework_hours |
Mixed model on 10 groups: ICC = 0.81 of variance sits between groups. Per-predictor coefficients + 95% CIs are in the table.
Publication-ready report
Tests used · Results · Discussion — generated from the computed statistics.
Download the exact Jupyter notebook or Python script that reproduces these results with widely-used libraries (scipy, statsmodels, lifelines).
Run your own study
Bring your problem statement, objectives, and a dataset — thericerca does the rest.
Get started →