Total and High-Density Lipoprotein Cholesterol in Adults: United States, August 2021–August 2023

Using R with NHANES

Author

Cubicle 3253

This document replicates the first 2 figures in a NCHS Data Brief examining total and high-density lipoprotein cholesterol in U.S. adults.

Prevalence of high total cholesterol in adults age 20 and older, by sex and age group: United States, August 2021-August 2023

Data tables for Figure 1
Survey info {NHANES}
Variables Observations Design
10 5,498 Stratified 1 - level Cluster Sampling design (with replacement) With (30) clusters. Called via srvyr Sampling variables: - ids: SDMVPSU - strata: SDMVSTRA - weights: WTPH2YR Data variables: - SEQN (dbl), RIAGENDR (fct), RIDAGEYR (fct), SDMVSTRA (dbl), SDMVPSU (dbl), WTPH2YR (dbl), LBXTC (dbl), high_tc (lgl), LBDHDD (dbl), low_hdl (lgl)
high_tc {NHANES}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 4,877 207,062 11,234 186,166 230,303 88.7 0.7 87.1 90.2
TRUE 621 26,278 2,543 21,725 31,785 11.3 0.7 9.8 12.9
N = 5498. Checked NCHS presentation standards. Nothing to report.
high_tc (RIDAGEYR = 20 to 39) {NHANES}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 1,299 77,484 5,224 67,880 88,446 94 0.9 91.8 95.7
TRUE 84 4,974 828 3,564 6,941 6 0.9 4.3 8.2
N = 1383. Checked NCHS presentation standards. Nothing to report.
high_tc (RIDAGEYR = 40 to 59) {NHANES}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 1,346 65,732 4,200 57,986 74,514 83.3 1.4 80.0 86.3
TRUE 252 13,162 1,558 10,420 16,625 16.7 1.4 13.7 20.0
N = 1598. Checked NCHS presentation standards. Nothing to report.
high_tc (RIDAGEYR = 60 and older) {NHANES}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 2,232 63,846 3,641 57,090 71,402 88.7 0.8 86.8 90.4
TRUE 285 8,142 905 6,541 10,136 11.3 0.8 9.6 13.2
N = 2517. Checked NCHS presentation standards. Nothing to report.
Survey info {Men}
Variables Observations Design
10 2,481 Stratified 1 - level Cluster Sampling design (with replacement) With (30) clusters. survey_subset(NHANES, RIAGENDR == “Men”, “Men”) Sampling variables: - ids: SDMVPSU - strata: SDMVSTRA - weights: WTPH2YR Data variables: - SEQN (dbl), RIAGENDR (fct), RIDAGEYR (fct), SDMVSTRA (dbl), SDMVPSU (dbl), WTPH2YR (dbl), LBXTC (dbl), high_tc (lgl), LBDHDD (dbl), low_hdl (lgl)
high_tc {Men}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 2,249 101,345 5,112 91,798 111,885 89.4 1 87.1 91.4
TRUE 232 12,021 1,443 9,484 15,238 10.6 1 8.6 12.9
N = 2481. Checked NCHS presentation standards. Nothing to report.
high_tc (RIDAGEYR = 20 to 39) {Men}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 550 37,535 2,537 32,864 42,870 92.6 1.1 89.7 94.8
TRUE 48 3,016 472 2,195 4,145 7.4 1.1 5.2 10.3
N = 598. Checked NCHS presentation standards. Nothing to report.
high_tc (RIDAGEYR = 40 to 59) {Men}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 588 31,753 2,187 27,732 36,356 81.7 2.1 76.7 86.1
TRUE 118 7,090 1,090 5,222 9,627 18.3 2.1 13.9 23.3
N = 706. Checked NCHS presentation standards. Nothing to report.
high_tc (RIDAGEYR = 60 and older) {Men}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 1,111 32,057 2,029 28,312 36,298 94.4 0.9 92.2 96.1
TRUE 66 1,915 321 1,367 2,681 5.6 0.9 3.9 7.8
N = 1177. Checked NCHS presentation standards. Nothing to report.
Survey info {Women}
Variables Observations Design
10 3,017 Stratified 1 - level Cluster Sampling design (with replacement) With (30) clusters. survey_subset(NHANES, RIAGENDR == “Women”, “Women”) Sampling variables: - ids: SDMVPSU - strata: SDMVSTRA - weights: WTPH2YR Data variables: - SEQN (dbl), RIAGENDR (fct), RIDAGEYR (fct), SDMVSTRA (dbl), SDMVPSU (dbl), WTPH2YR (dbl), LBXTC (dbl), high_tc (lgl), LBDHDD (dbl), low_hdl (lgl)
high_tc {Women}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 2,628 105,717 6,559 93,604 119,398 88.1 0.8 86.4 89.7
TRUE 389 14,256 1,391 11,764 17,276 11.9 0.8 10.3 13.6
N = 3017. Checked NCHS presentation standards. Nothing to report.
high_tc (RIDAGEYR = 20 to 39) {Women}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 749 39,949 3,336 33,905 47,071 95.3 1 92.7 97.2
TRUE 36 1,957 471 1,186 3,228 4.7 1 2.8 7.3
N = 785. Checked NCHS presentation standards. Nothing to report.
high_tc (RIDAGEYR = 40 to 59) {Women}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 758 33,980 2,477 29,446 39,212 84.8 1.4 81.6 87.7
TRUE 134 6,072 791 4,687 7,865 15.2 1.4 12.3 18.4
N = 892. Checked NCHS presentation standards. Nothing to report.
high_tc (RIDAGEYR = 60 and older) {Women}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 1,121 31,789 1,749 28,534 35,414 83.6 1.1 81.2 85.8
TRUE 219 6,228 686 5,009 7,742 16.4 1.1 14.2 18.8
N = 1340. Checked NCHS presentation standards. Nothing to report.

Prevalence of low high-density lipoprotein cholesterol in adults age 20 and older, by sex and age group: United States, August 2021-August 2023

Data tables for Figure 2
Survey info {NHANES}
Variables Observations Design
10 5,498 Stratified 1 - level Cluster Sampling design (with replacement) With (30) clusters. Called via srvyr Sampling variables: - ids: SDMVPSU - strata: SDMVSTRA - weights: WTPH2YR Data variables: - SEQN (dbl), RIAGENDR (fct), RIDAGEYR (fct), SDMVSTRA (dbl), SDMVPSU (dbl), WTPH2YR (dbl), LBXTC (dbl), high_tc (lgl), LBDHDD (dbl), low_hdl (lgl)
low_hdl {NHANES}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 4,803 201,035 12,334 178,248 226,734 86.2 0.8 84.3 87.9
TRUE 695 32,305 1,933 28,721 36,336 13.8 0.8 12.1 15.7
N = 5498. Checked NCHS presentation standards. Nothing to report.
low_hdl (RIDAGEYR = 20 to 39) {NHANES}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 1,180 69,107 5,347 59,370 80,442 83.8 1.7 79.8 87.3
TRUE 203 13,350 1,347 10,936 16,297 16.2 1.7 12.7 20.2
N = 1383. Checked NCHS presentation standards. Nothing to report.
low_hdl (RIDAGEYR = 40 to 59) {NHANES}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 1,379 67,986 4,638 59,467 77,725 86.2 1.1 83.7 88.4
TRUE 219 10,908 1,026 9,059 13,135 13.8 1.1 11.6 16.3
N = 1598. Checked NCHS presentation standards. Nothing to report.
low_hdl (RIDAGEYR = 60 and older) {NHANES}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 2,244 63,941 3,902 56,728 72,072 88.8 0.5 87.5 90.0
TRUE 273 8,046 574 6,992 9,261 11.2 0.5 10.0 12.5
N = 2517. Checked NCHS presentation standards. Nothing to report.
Survey info {Men}
Variables Observations Design
10 2,481 Stratified 1 - level Cluster Sampling design (with replacement) With (30) clusters. survey_subset(NHANES, RIAGENDR == “Men”, “Men”) Sampling variables: - ids: SDMVPSU - strata: SDMVSTRA - weights: WTPH2YR Data variables: - SEQN (dbl), RIAGENDR (fct), RIDAGEYR (fct), SDMVSTRA (dbl), SDMVPSU (dbl), WTPH2YR (dbl), LBXTC (dbl), high_tc (lgl), LBDHDD (dbl), low_hdl (lgl)
low_hdl {Men}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 1,988 89,026 5,508 78,849 100,515 78.5 1.4 75.4 81.4
TRUE 493 24,340 1,583 21,416 27,663 21.5 1.4 18.6 24.6
N = 2481. Checked NCHS presentation standards. Nothing to report.
low_hdl (RIDAGEYR = 20 to 39) {Men}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 459 30,375 2,473 25,881 35,650 74.9 2.8 68.4 80.7
TRUE 139 10,176 1,181 8,083 12,810 25.1 2.8 19.3 31.6
N = 598. Checked NCHS presentation standards. Nothing to report.
low_hdl (RIDAGEYR = 40 to 59) {Men}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 555 30,751 2,220 26,683 35,440 79.2 1.7 75.2 82.7
TRUE 151 8,092 943 6,424 10,194 20.8 1.7 17.3 24.8
N = 706. Checked NCHS presentation standards. Nothing to report.
low_hdl (RIDAGEYR = 60 and older) {Men}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 974 27,900 1,785 24,607 31,632 82.1 1 79.8 84.3
TRUE 203 6,072 507 5,149 7,161 17.9 1 15.7 20.2
N = 1177. Checked NCHS presentation standards. Nothing to report.
Survey info {Women}
Variables Observations Design
10 3,017 Stratified 1 - level Cluster Sampling design (with replacement) With (30) clusters. survey_subset(NHANES, RIAGENDR == “Women”, “Women”) Sampling variables: - ids: SDMVPSU - strata: SDMVSTRA - weights: WTPH2YR Data variables: - SEQN (dbl), RIAGENDR (fct), RIDAGEYR (fct), SDMVSTRA (dbl), SDMVPSU (dbl), WTPH2YR (dbl), LBXTC (dbl), high_tc (lgl), LBDHDD (dbl), low_hdl (lgl)
low_hdl {Women}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 2,815 112,009 7,509 98,209 127,748 93.4 0.6 91.9 94.6
TRUE 202 7,965 590 6,879 9,221 6.6 0.6 5.4 8.1
N = 3017. Checked NCHS presentation standards. Nothing to report.
low_hdl (RIDAGEYR = 20 to 39) {Women}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 721 38,732 3,505 32,423 46,270 92.4 1.1 89.7 94.6
TRUE 64 3,174 409 2,449 4,114 7.6 1.1 5.4 10.3
N = 785. Checked NCHS presentation standards. Nothing to report.
low_hdl (RIDAGEYR = 40 to 59) {Women}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 824 37,235 2,919 31,921 43,433 93 0.7 91.1 94.6
TRUE 68 2,816 268 2,326 3,410 7 0.7 5.4 8.9
N = 892. Checked NCHS presentation standards. Nothing to report.
low_hdl (RIDAGEYR = 60 and older) {Women}
Level n Number (000) SE (000) LL (000) UL (000) Percent SE LL UL
FALSE 1,270 36,042 2,257 31,874 40,755 94.8 0.4 93.5 95.9
TRUE 70 1,974 153 1,690 2,306 5.2 0.4 4.1 6.5
N = 1340. Checked NCHS presentation standards. Nothing to report.