Gestational Age Relationship Analysis (vs. gestational_age_weeks)¶
Investigating modeling approach for gestational age.
gestational_age_weeks Distribution¶
Summary:
count |
mean |
std |
min |
25% |
50% |
75% |
max |
|
|---|---|---|---|---|---|---|---|---|
gestational_age_weeks |
228 | 28.5088 | 2.17817 | 23 | 27 | 29 | 31 | 31 |
Distribution Plot¶
Distribution of gestational_age_weeks values.

Linearity Analysis: time_to_fof vs. gestational_age_weeks¶
Testing models for gestational_age_weeks predicting time_to_fof.
Model Comparison¶
Model |
R² |
CV R² (mean) |
CV R² (std) |
p-value (vs simpler) |
|---|---|---|---|---|
| Linear | 0.0857 | -0.0342 | 0.0545 | N/A |
| Quadratic | 0.0861 | -0.0524 | 0.0617 | 0.7425 |
| Ordinal (Rounded Weeks) | 0.0857 | -0.0342 | 0.0545 | 0.0000 |
Visual Comparison¶
Linear, Quadratic, and Ordinal (Rounded Weeks) fits.

Model Comparison Result¶
Best fit based on statistical criteria for gestational_age_weeks: Ordinal (R²=0.086) - Higher or equivalent R² compared to linear (R²=0.086)
Linearity Analysis: pma_at_full_oral_feeding vs. gestational_age_weeks¶
Testing models for gestational_age_weeks predicting pma_at_full_oral_feeding.
Model Comparison¶
Model |
R² |
CV R² (mean) |
CV R² (std) |
p-value (vs simpler) |
|---|---|---|---|---|
| Linear | 0.1515 | -0.6375 | 0.6912 | N/A |
| Quadratic | 0.1536 | -0.6513 | 0.6792 | 0.4605 |
| Ordinal (Rounded Weeks) | 0.1515 | -0.6375 | 0.6912 | 0.0000 |
Visual Comparison¶
Linear, Quadratic, and Ordinal (Rounded Weeks) fits.

Model Comparison Result¶
Best fit based on statistical criteria for gestational_age_weeks: Ordinal (R²=0.152) - Higher or equivalent R² compared to linear (R²=0.152)
Model Comparison Summary¶
Statistical Model Comparison Results¶
time_to_FOF: Ordinal (R²=0.086) - Higher or equivalent R² compared to linear (R²=0.086)
PMA at full oral feeding: Ordinal (R²=0.152) - Higher or equivalent R² compared to linear (R²=0.152)