Using precalculated smoothing splines on NHANES log hematocrit vs. age in months (and KDE residuals) by gender and race/ethnicity, generate hematocrit values for individuals specified by age, gender, and race/ethnicity.
estimate_hematocrit(hcttmp_dt)A data.table with columns age_years,
age_months, gender, reth.
The same data.table with a hematocrit column added.