scr_h: KDE bandwidths for residual variability in serum creatinine

scr_hR Documentation

KDE bandwidths for residual variability in serum creatinine

Description

Bandwidths used for a one-dimensional kernel density estimation of the distribution of residual errors around smoothing spline fits of serum creatinine vs. age for NHANES respondents in each of ten combinations of sex and race/ethnicity categories.

Usage

scr_h

Format

A named list with 10 elements, each a numeric value. Each list element corresponds to, and is named for, one combination of NHANES sex categories (Male and Female) and NHANES race/ethnicity categories (Mexican American, Other Hispanic, Non-Hispanic White, Non-Hispanic Black, and Other).

Details

Each matrix is the standard deviation for a normal distribution: this is the bandwidth to be used for a kernel density estimation (KDE) (using a normal kernel) of the distribution of residual errors around smoothing spline fits of serum creatinine vs. age for NHANES respondents in the specified sex and race/ethnicity category. Optimal bandwidths were pre-calculated by doing the smoothing spline fits, getting the residuals, then calling kde on the residuals (which calls hpi to compute the plug-in bandwidth).

Used by HTTK-Pop only in "virtual individuals" mode (i.e. httkpop_generate with method = "v"), in gen_serum_creatinine.

Author(s)

Caroline Ring

References

\insertRef

ring2017identifyinghttk


httk documentation built on Sept. 11, 2024, 9:32 p.m.