Time to Recidivism After Release
This study examines how quickly released prisoners are re-arrested and which baseline factors — including a randomized financial-aid intervention — influence the timing of re-arrest.
- To describe the weeks_to_arrest and arrested indicator among the released prisoners.
- To estimate survival curves for the financial_aid vs no-aid groups (Kaplan-Meier).
- To compare recidivism-free time between the financial_aid groups (log-rank).
- To model how age and prior offenses predict recidivism time (Cox regression).
| Column | Kind | Missing | Distinct |
|---|---|---|---|
| weeks_to_arrest | numeric | 0 | 49 |
| arrested | numeric | 0 | 2 |
| financial_aid | numeric | 0 | 2 |
| age | numeric | 0 | 28 |
| race | numeric | 0 | 2 |
| wexp | numeric | 0 | 2 |
| prio | numeric | 0 | 17 |
Detected a survival design with 7 analyzable variable(s) and 3 analytical question(s). Recommended 5 statistical test(s). Estimated cost: 47 credits.
| n | max | min | std | mean | mode | range | median | variable | variance |
|---|---|---|---|---|---|---|---|---|---|
| 432 | 52 | 1 | 12.662 | 45.854 | 52 | 51 | 52 | weeks_to_arrest | 160.334 |
| n | group | events | censored | median survival | restricted mean |
|---|---|---|---|---|---|
| 216 | 0 | 66 | 150 | — | 0.859 |
| 216 | 1 | 48 | 168 | — | 0.889 |
Observed 114 event(s) in 432 subject(s).
| n | group | events |
|---|---|---|
| 216 | 0 | 66 |
| 216 | 1 | 48 |
The result is not statistically significant (p = 0.0501 >= 0.05).
| coef | p value | hr ci low | predictor | hr ci high | hazard ratio |
|---|---|---|---|---|---|
| -0.369 | 0.052 | 0.477 | financial_aid | 1.003 | 0.691 |
The result is not statistically significant (p = 0.0501 >= 0.05).
| n | group | events | censored | median survival | restricted mean |
|---|---|---|---|---|---|
| 432 | overall | 114 | 318 | — | 0.884 |
Observed 114 event(s) in 432 subject(s).
| coef | p value | hr ci low | predictor | hr ci high | hazard ratio |
|---|---|---|---|---|---|
| -0.069 | 0.001 | 0.896 | age | 0.972 | 0.933 |
| 0.095 | 0.000 | 1.042 | prio | 1.159 | 1.099 |
The result is statistically significant (p = 0.0000 < 0.05).
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 →