Skip to main content
Graduate coursework

BMI and ICU Recovery: A Biostatistics Study

A retrospective analysis of whether BMI category predicts ICU length of stay after cardiac surgery. MIMIC-III data, three non-parametric tests, and a null result reported as-is.

Team 3-person team
Timeline Sep – Dec 2025
Type Biostatistics / Clinical research
Dataset MIMIC-III · n = 31

Does BMI predict a longer ICU stay?

It seems like it should. Higher BMI is linked to more surgical complications. We tested whether BMI category actually predicts ICU length of stay for cardiac surgery patients.

We queried the MIMIC-III clinical database for cardiac surgery patients (ICD-9 procedure codes 35.x to 39.x), applied exclusion criteria, and ended up with a retrospective cohort of 31 patients.

Our first outline planned to use the UCI Post-Operative Patient dataset. That dataset has no BMI or ICU length-of-stay fields, and the final analysis used MIMIC-III.

The assumption

Higher BMI, longer stay

If true, BMI could help plan ICU resources before surgery.

What we found

No significant association

None of the three tests found a statistically significant relationship in this cohort.

Three tests, one answer

ICU length of stay is skewed: most patients leave in a few days and a few stay much longer. That rules out tests that assume a normal distribution, so we used three non-parametric tests that each look at the question a different way.

TestWhat it checksResult
Spearman rank correlationDoes LOS rise or fall with BMI?ρ = −0.196, p = 0.291
Chi-squareAre BMI category and binned LOS independent?χ² = 9.26, p = 0.413
Kruskal-WallisDo LOS distributions differ across BMI groups?H = 1.85, p = 0.603

The analysis ran in Python (SciPy, pandas) and we cross-checked the results in R.

Python R pandas SciPy SQL MIMIC-III

What a null result here does and doesn't mean

The sample is small. For scale, detecting a correlation of 0.3 with 80% power takes about 85 patients, and we had 31. "No significant association" here means we couldn't detect one, not that none exists.

It is one hospital and one look at each patient. MIMIC-III comes from a single medical center, and BMI was taken from one recorded height and weight.

No confounders. We tested BMI against length of stay directly. Age, comorbidities and surgical complexity all matter, so we proposed a multivariable analysis as future work.

Why it's in the portfolio

01
Null results are results.

It would have been easy to keep slicing the data until something hit p < 0.05. We ran the tests we planned and reported what came back.

02
Pick the test that fits the data.

Skewed data plus small groups meant non-parametric tests. Choosing the method before seeing the results is what makes the answer believable.

03
Clinical data has a chain of custody.

Working in MIMIC-III made it obvious that a number in a table is only as trustworthy as the process that recorded it.

Interested in this work?

Clinical data analysis and honest statistical reporting. Happy to talk through the methods or the data.