Primary Analysis: time_to_first vs time_to_fof¶
Analysis of time_to_first vs time_to_fof.
Unadjusted Model Results¶
Simple linear regression examining the direct relationship between time_to_first and time_to_fof.
Model diagnostics warning: High multicollinearity detected (condition number > 30). Residuals may not be normally distributed (p < 0.05).
Outcome: time_to_fof Predictor: time_to_first
OLS Regression Results
==============================================================================
Dep. Variable: time_to_fof R-squared: 0.049
Model: OLS Adj. R-squared: 0.044
Method: Least Squares F-statistic: 11.56
Date: Tue, 05 Aug 2025 Prob (F-statistic): 0.000798
Time: 04:27:53 Log-Likelihood: -904.62
No. Observations: 228 AIC: 1813.
Df Residuals: 226 BIC: 1820.
Df Model: 1
Covariance Type: nonrobust
=================================================================================
coef std err t P>|t| [0.025 0.975]
---------------------------------------------------------------------------------
const 10.0986 1.901 5.313 0.000 6.353 13.844
time_to_first 0.1412 0.042 3.399 0.001 0.059 0.223
==============================================================================
Omnibus: 58.540 Durbin-Watson: 1.524
Prob(Omnibus): 0.000 Jarque-Bera (JB): 107.502
Skew: 1.320 Prob(JB): 4.53e-24
Kurtosis: 5.085 Cond. No. 102.
==============================================================================
Notes:
[1] Standard Errors assume that the covariance matrix of the errors is correctly specified.
Unadjusted Plot¶
Plot showing relationship between time_to_first and time_to_fof (LOESS with CI and OLS prediction).

Model Variables (Adjusted Analysis)¶
Outcome: time_to_fof Indep: time_to_first Gestational Age Var: gestational_age_weeks Confounders: ['gestational_age_weeks', 'birth_weight_grams', 'mechanical_ventilation', 'o2_device_at_36_weeks'] Covariates: ['medicalcomplexity']
Adjusted Model Results¶
Multiple regression examining the relationship between time_to_first and time_to_fof, controlling for gestational age and other potential confounders.
Model diagnostics warning: High multicollinearity detected (condition number > 30). Residuals may not be normally distributed (p < 0.05).
Outcome: time_to_fof Predictors: time_to_first, gestational_age_weeks, birth_weight_grams, mechanical_ventilation_no history of mechanical ventilation, o2_device_at_36_weeks_did NOT require respiratory support at 36 weeks, medicalcomplexity_Children with noncomplex chronic disease, medicalcomplexity_Children without chronic disease
OLS Regression Results
==============================================================================
Dep. Variable: time_to_fof R-squared: 0.137
Model: OLS Adj. R-squared: 0.109
Method: Least Squares F-statistic: 4.978
Date: Tue, 05 Aug 2025 Prob (F-statistic): 3.00e-05
Time: 04:27:55 Log-Likelihood: -893.54
No. Observations: 228 AIC: 1803.
Df Residuals: 220 BIC: 1831.
Df Model: 7
Covariance Type: nonrobust
=========================================================================================================================================
coef std err t P>|t| [0.025 0.975]
-----------------------------------------------------------------------------------------------------------------------------------------
const 90.1802 26.873 3.356 0.001 37.219 143.142
time_to_first -0.1860 0.088 -2.103 0.037 -0.360 -0.012
gestational_age_weeks -1.9600 0.933 -2.101 0.037 -3.798 -0.122
birth_weight_grams -0.0033 0.004 -0.775 0.439 -0.012 0.005
mechanical_ventilation_no history of mechanical ventilation -5.2261 2.045 -2.556 0.011 -9.256 -1.196
o2_device_at_36_weeks_did NOT require respiratory support at 36 weeks -2.3154 2.160 -1.072 0.285 -6.572 1.942
medicalcomplexity_Children with noncomplex chronic disease -1.1028 4.974 -0.222 0.825 -10.905 8.699
medicalcomplexity_Children without chronic disease -2.2645 3.915 -0.578 0.564 -9.979 5.450
==============================================================================
Omnibus: 85.427 Durbin-Watson: 1.649
Prob(Omnibus): 0.000 Jarque-Bera (JB): 245.956
Skew: 1.646 Prob(JB): 3.90e-54
Kurtosis: 6.880 Cond. No. 4.24e+04
==============================================================================
Notes:
[1] Standard Errors assume that the covariance matrix of the errors is correctly specified.
[2] The condition number is large, 4.24e+04. This might indicate that there are
strong multicollinearity or other numerical problems.
Adjusted Plot¶
Plot showing adjusted relationship between time_to_first and time_to_fof (LOESS with CI).

Optimal Value¶
Adj. model optimal time_to_first: 108.34, Predicted time_to_fof: 3.34.