hct_h | R Documentation |
Bandwidths used for a one-dimensional kernel density estimation of the distribution of residual errors around smoothing spline fits of hematocrit vs. age for NHANES respondents in each of ten combinations of sex and race/ethnicity categories.
hct_h
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).
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
hematocrit 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
estimate_hematocrit
.
Caroline Ring
ring2017identifyinghttk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.