<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Exploring Medical Data Science with R: Public Datasets]]></title><description><![CDATA[Public Medical Datasets focuses on turning large, real‑world health surveys and registries into actionable research using R, with step‑by‑step workflows rather than abstract theory. In this section, you will learn how to work with major public datasets such as NHANES, GBD, FAERS, GEO, and NHIS—from downloading and reading raw files, to handling complex survey designs, weights, and multi‑cycle merges, to building reusable R functions that make large‑scale analyses efficient. Along the way, you will walk through complete, clinically relevant case studies (for example, reproducing NHANES estimates of depression prevalence or using GBD data to design publishable studies), and gain practical strategies for choosing research questions, avoiding common pitfalls, and combining multiple data sources to answer high‑impact medical and public‑health problems.]]></description><link>https://medicaldatascience.substack.com/s/public-datasets</link><image><url>https://substackcdn.com/image/fetch/$s_!Dnky!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb57720ba-775f-4784-8be9-1dd08d3ce039_1280x1280.png</url><title>Exploring Medical Data Science with R: Public Datasets</title><link>https://medicaldatascience.substack.com/s/public-datasets</link></image><generator>Substack</generator><lastBuildDate>Tue, 14 Apr 2026 02:13:06 GMT</lastBuildDate><atom:link href="https://medicaldatascience.substack.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Xie Yaojue]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[medicaldatascience@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[medicaldatascience@substack.com]]></itunes:email><itunes:name><![CDATA[Dr. Xie YJ]]></itunes:name></itunes:owner><itunes:author><![CDATA[Dr. Xie YJ]]></itunes:author><googleplay:owner><![CDATA[medicaldatascience@substack.com]]></googleplay:owner><googleplay:email><![CDATA[medicaldatascience@substack.com]]></googleplay:email><googleplay:author><![CDATA[Dr. Xie YJ]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Sec.3-Ch.1-Subsec.6：NHANES Sample Weight Selection and Implementation in R]]></title><description><![CDATA[Principles, Practical Rules, and Survey Package Applications for Accurate Analysis of Complex Survey Data]]></description><link>https://medicaldatascience.substack.com/p/sec3-ch1-subsec6nhanes-sample-weight</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/sec3-ch1-subsec6nhanes-sample-weight</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Fri, 06 Mar 2026 14:49:08 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!poJX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb018fc53-7344-4b09-a933-6166328f857a_2602x1450.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!poJX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb018fc53-7344-4b09-a933-6166328f857a_2602x1450.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!poJX!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb018fc53-7344-4b09-a933-6166328f857a_2602x1450.png 424w, https://substackcdn.com/image/fetch/$s_!poJX!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb018fc53-7344-4b09-a933-6166328f857a_2602x1450.png 848w, https://substackcdn.com/image/fetch/$s_!poJX!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb018fc53-7344-4b09-a933-6166328f857a_2602x1450.png 1272w, https://substackcdn.com/image/fetch/$s_!poJX!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb018fc53-7344-4b09-a933-6166328f857a_2602x1450.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!poJX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb018fc53-7344-4b09-a933-6166328f857a_2602x1450.png" width="1456" height="811" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b018fc53-7344-4b09-a933-6166328f857a_2602x1450.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:811,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:844968,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://medicaldatascience.substack.com/i/190109862?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb018fc53-7344-4b09-a933-6166328f857a_2602x1450.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!poJX!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb018fc53-7344-4b09-a933-6166328f857a_2602x1450.png 424w, https://substackcdn.com/image/fetch/$s_!poJX!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb018fc53-7344-4b09-a933-6166328f857a_2602x1450.png 848w, https://substackcdn.com/image/fetch/$s_!poJX!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb018fc53-7344-4b09-a933-6166328f857a_2602x1450.png 1272w, https://substackcdn.com/image/fetch/$s_!poJX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb018fc53-7344-4b09-a933-6166328f857a_2602x1450.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>In complex survey designs such as NHANES, samples are not selected through simple random sampling. Instead, they are obtained through stratified, multistage, and oversampling designs. As a result, each survey participant represents a different number of individuals in the population. This difference must be corrected using <strong>sample weights</strong>. The NHANES program provides multiple types of weights for different survey components and subsamples, including interview weights, Mobile Examination Center (MEC) weights, subsample weights, and dietary recall weights. Correct use of these weights is essential to ensure that analysis results accurately represent the <strong>U.S. non-institutionalized civilian population</strong>. Otherwise, systematic bias or even incorrect conclusions may occur. In NHANES analysis, the selection of weights strictly depends on the <strong>variable with the smallest coverage in the analysis</strong>. In other words, once a specific subsample or survey module is involved, the corresponding weight must be used. This is the most fundamental principle in NHANES data analysis and also one of the most commonly overlooked aspects by beginners.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/sec3-ch1-subsec6nhanes-sample-weight">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.3-Ch.1-Subsec.5：Understanding Survey Weights in NHANES]]></title><description><![CDATA[How complex sampling affects estimates, uncertainty, and real-world interpretation]]></description><link>https://medicaldatascience.substack.com/p/sec3-ch1-subsec5understanding-survey</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/sec3-ch1-subsec5understanding-survey</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Thu, 05 Feb 2026 11:00:33 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!mGEn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e656565-ad37-4053-9164-6fd0eedbb067_1634x918.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!mGEn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e656565-ad37-4053-9164-6fd0eedbb067_1634x918.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!mGEn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e656565-ad37-4053-9164-6fd0eedbb067_1634x918.png 424w, https://substackcdn.com/image/fetch/$s_!mGEn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e656565-ad37-4053-9164-6fd0eedbb067_1634x918.png 848w, https://substackcdn.com/image/fetch/$s_!mGEn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e656565-ad37-4053-9164-6fd0eedbb067_1634x918.png 1272w, https://substackcdn.com/image/fetch/$s_!mGEn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e656565-ad37-4053-9164-6fd0eedbb067_1634x918.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!mGEn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e656565-ad37-4053-9164-6fd0eedbb067_1634x918.png" width="1456" height="818" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0e656565-ad37-4053-9164-6fd0eedbb067_1634x918.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:818,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:423540,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://medicaldatascience.substack.com/i/186961922?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e656565-ad37-4053-9164-6fd0eedbb067_1634x918.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!mGEn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e656565-ad37-4053-9164-6fd0eedbb067_1634x918.png 424w, https://substackcdn.com/image/fetch/$s_!mGEn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e656565-ad37-4053-9164-6fd0eedbb067_1634x918.png 848w, https://substackcdn.com/image/fetch/$s_!mGEn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e656565-ad37-4053-9164-6fd0eedbb067_1634x918.png 1272w, https://substackcdn.com/image/fetch/$s_!mGEn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e656565-ad37-4053-9164-6fd0eedbb067_1634x918.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Some people simply take the sample they have and start calculating indicators right away. That&#8217;s understandable&#8212;but if you ignore the sampling design and the survey weights, your results can end up pretty far from the truth.</p><p>NHANES is a classic example. It doesn&#8217;t sample people purely at random. Some subgroups are intentionally oversampled so that we actually have enough data to analyze them. The problem is, if you analyze the raw, unweighted data, those groups end up having way more influence than they should.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/sec3-ch1-subsec5understanding-survey">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.3-Ch.1-Subsec.4：Understanding Sampling Weights and Complex Survey Design in NHANES]]></title><description><![CDATA[How Stratified, Multistage Sampling and Weighting Ensure Nationally Representative Health Estimates]]></description><link>https://medicaldatascience.substack.com/p/sec3-ch1-subsec4understanding-sampling</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/sec3-ch1-subsec4understanding-sampling</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Tue, 03 Feb 2026 07:14:45 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!jua4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7433e884-7982-4f85-9298-3d77530a1fc7_2392x1336.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jua4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7433e884-7982-4f85-9298-3d77530a1fc7_2392x1336.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jua4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7433e884-7982-4f85-9298-3d77530a1fc7_2392x1336.png 424w, https://substackcdn.com/image/fetch/$s_!jua4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7433e884-7982-4f85-9298-3d77530a1fc7_2392x1336.png 848w, https://substackcdn.com/image/fetch/$s_!jua4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7433e884-7982-4f85-9298-3d77530a1fc7_2392x1336.png 1272w, https://substackcdn.com/image/fetch/$s_!jua4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7433e884-7982-4f85-9298-3d77530a1fc7_2392x1336.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jua4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7433e884-7982-4f85-9298-3d77530a1fc7_2392x1336.png" width="1456" height="813" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7433e884-7982-4f85-9298-3d77530a1fc7_2392x1336.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:813,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:759906,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://medicaldatascience.substack.com/i/186709529?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7433e884-7982-4f85-9298-3d77530a1fc7_2392x1336.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!jua4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7433e884-7982-4f85-9298-3d77530a1fc7_2392x1336.png 424w, https://substackcdn.com/image/fetch/$s_!jua4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7433e884-7982-4f85-9298-3d77530a1fc7_2392x1336.png 848w, https://substackcdn.com/image/fetch/$s_!jua4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7433e884-7982-4f85-9298-3d77530a1fc7_2392x1336.png 1272w, https://substackcdn.com/image/fetch/$s_!jua4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7433e884-7982-4f85-9298-3d77530a1fc7_2392x1336.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>In modern public health research, reliable data are the cornerstone of scientific analysis and policy making. The National Health and Nutrition Examination Survey (NHANES) of the United States is a globally renowned health survey program whose data are widely used to monitor the health status, nutritional levels, and disease prevalence of the U.S. population. However, NHANES does not rely on simple random sampling. Instead, it adopts a complex, multistage sampling design. This leads to a critically important concept&#8212;<strong>sample weights</strong>.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/sec3-ch1-subsec4understanding-sampling">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.3-Ch.1-Subsec.3：Mastering NHANES Data in R: From Download to Analysis]]></title><description><![CDATA[A Step-by-Step Guide to Reading, Appending, and Merging NHANES Data for Research]]></description><link>https://medicaldatascience.substack.com/p/sec3-ch1-subsec3mastering-nhanes</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/sec3-ch1-subsec3mastering-nhanes</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Mon, 02 Feb 2026 09:08:24 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!9xOr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb83df11-bd14-4ee8-bd04-eacad9b39ba7_2366x1336.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!9xOr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb83df11-bd14-4ee8-bd04-eacad9b39ba7_2366x1336.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!9xOr!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb83df11-bd14-4ee8-bd04-eacad9b39ba7_2366x1336.png 424w, https://substackcdn.com/image/fetch/$s_!9xOr!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb83df11-bd14-4ee8-bd04-eacad9b39ba7_2366x1336.png 848w, https://substackcdn.com/image/fetch/$s_!9xOr!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb83df11-bd14-4ee8-bd04-eacad9b39ba7_2366x1336.png 1272w, https://substackcdn.com/image/fetch/$s_!9xOr!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb83df11-bd14-4ee8-bd04-eacad9b39ba7_2366x1336.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!9xOr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb83df11-bd14-4ee8-bd04-eacad9b39ba7_2366x1336.png" width="1456" height="822" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fb83df11-bd14-4ee8-bd04-eacad9b39ba7_2366x1336.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:822,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!9xOr!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb83df11-bd14-4ee8-bd04-eacad9b39ba7_2366x1336.png 424w, https://substackcdn.com/image/fetch/$s_!9xOr!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb83df11-bd14-4ee8-bd04-eacad9b39ba7_2366x1336.png 848w, https://substackcdn.com/image/fetch/$s_!9xOr!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb83df11-bd14-4ee8-bd04-eacad9b39ba7_2366x1336.png 1272w, https://substackcdn.com/image/fetch/$s_!9xOr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb83df11-bd14-4ee8-bd04-eacad9b39ba7_2366x1336.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>NHANES (National Health and Nutrition Examination Survey) is a comprehensive health survey project focusing on U.S. residents. Its data covers demographics, health status, laboratory tests, and more. By understanding the NHANES data structure and learning how to download, read, append, and merge its datasets, we can conduct better research and analysis using NHANES data.</p><div><hr></div><h2><strong>1. Understanding NHANES Data Structure</strong></h2><h3><strong>1.1 Data Categorization</strong></h3><p>To analyze NHANES (National Health and Nutrition Examination Survey) data, understanding its structure is essential. Since 1999, NHANES has entered a &#8220;continuous survey cycle,&#8221; releasing data every two years. The data are divided into five major components, each containing multiple related files, facilitating efficient download and analysis. Detailed explanation of NHANES data structure:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!G5nQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab07c10a-6bdf-411b-aabe-640ca2167cc3_1736x1010.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!G5nQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab07c10a-6bdf-411b-aabe-640ca2167cc3_1736x1010.png 424w, https://substackcdn.com/image/fetch/$s_!G5nQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab07c10a-6bdf-411b-aabe-640ca2167cc3_1736x1010.png 848w, https://substackcdn.com/image/fetch/$s_!G5nQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab07c10a-6bdf-411b-aabe-640ca2167cc3_1736x1010.png 1272w, https://substackcdn.com/image/fetch/$s_!G5nQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab07c10a-6bdf-411b-aabe-640ca2167cc3_1736x1010.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!G5nQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab07c10a-6bdf-411b-aabe-640ca2167cc3_1736x1010.png" width="1456" height="847" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ab07c10a-6bdf-411b-aabe-640ca2167cc3_1736x1010.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:847,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:231607,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://medicaldatascience.substack.com/i/186590545?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab07c10a-6bdf-411b-aabe-640ca2167cc3_1736x1010.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!G5nQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab07c10a-6bdf-411b-aabe-640ca2167cc3_1736x1010.png 424w, https://substackcdn.com/image/fetch/$s_!G5nQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab07c10a-6bdf-411b-aabe-640ca2167cc3_1736x1010.png 848w, https://substackcdn.com/image/fetch/$s_!G5nQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab07c10a-6bdf-411b-aabe-640ca2167cc3_1736x1010.png 1272w, https://substackcdn.com/image/fetch/$s_!G5nQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab07c10a-6bdf-411b-aabe-640ca2167cc3_1736x1010.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Continuous NHANES</strong> refers to the two-year survey cycles released since 1999, such as 2015&#8211;2016 and 2017&#8211;2018. This continuity allows researchers to analyze trends over multiple years and perform detailed studies on specific cycles.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!AXxZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9400584-43ae-4cb4-a71d-af327520cb19_2588x1558.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!AXxZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9400584-43ae-4cb4-a71d-af327520cb19_2588x1558.png 424w, https://substackcdn.com/image/fetch/$s_!AXxZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9400584-43ae-4cb4-a71d-af327520cb19_2588x1558.png 848w, https://substackcdn.com/image/fetch/$s_!AXxZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9400584-43ae-4cb4-a71d-af327520cb19_2588x1558.png 1272w, https://substackcdn.com/image/fetch/$s_!AXxZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9400584-43ae-4cb4-a71d-af327520cb19_2588x1558.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!AXxZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9400584-43ae-4cb4-a71d-af327520cb19_2588x1558.png" width="1456" height="877" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d9400584-43ae-4cb4-a71d-af327520cb19_2588x1558.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:877,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:483101,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://medicaldatascience.substack.com/i/186590545?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9400584-43ae-4cb4-a71d-af327520cb19_2588x1558.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!AXxZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9400584-43ae-4cb4-a71d-af327520cb19_2588x1558.png 424w, https://substackcdn.com/image/fetch/$s_!AXxZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9400584-43ae-4cb4-a71d-af327520cb19_2588x1558.png 848w, https://substackcdn.com/image/fetch/$s_!AXxZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9400584-43ae-4cb4-a71d-af327520cb19_2588x1558.png 1272w, https://substackcdn.com/image/fetch/$s_!AXxZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9400584-43ae-4cb4-a71d-af327520cb19_2588x1558.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Each survey cycle&#8217;s data are divided into five main components:</p><ol><li><p><strong>Demographics</strong></p><p>Includes survey design variables (weights, stratification, primary sampling units) and demographic variables (gender, age, race/ethnicity, income, etc.).</p></li><li><p><strong>Dietary</strong></p><p>Contains participants&#8217; dietary intake data, including foods, beverages, and dietary supplements. Useful for nutritional analysis and dietary pattern research.</p></li><li><p><strong>Examination</strong></p><p>Contains physical and dental examination data such as hearing tests, blood pressure, anthropometrics (height, weight, waist circumference), muscle strength, and vision tests.</p></li><li><p><strong>Laboratory</strong></p><p>Includes lab results from blood, urine, hair, air, TB tests, household dust, and water samples (e.g., heavy metals, blood glucose, cholesterol, triglycerides).</p></li><li><p><strong>Questionnaire</strong></p><p>Collected through household interviews and mobile exam centers, covering alcohol and drug use, social support, weight history, chronic disease diagnoses (diabetes, hypertension), and medication use.</p></li></ol><p><strong>Tip:</strong> NHANES data structure applies to each survey cycle, composed of the five components above. Comprehensive analysis often requires combining multiple components. For example, a cardiovascular disease study may need:</p><ul><li><p>Age and gender (Demographics)</p></li><li><p>Blood pressure (Examination)</p></li><li><p>Cholesterol (Laboratory)</p></li><li><p>Hypertension diagnosis and medication use (Questionnaire)</p></li></ul><p>By integrating these sources, researchers can perform holistic health and nutrition analyses, informing public health policy and interventions.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/sec3-ch1-subsec3mastering-nhanes">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.3-Ch.1-Subsec.2：Downloading and Exploring NHANES Data Using R]]></title><description><![CDATA[A Practical Guide to Accessing, Reading, and Managing Public Health Survey Data]]></description><link>https://medicaldatascience.substack.com/p/sec3-ch1-subsec2downloading-and-exploring</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/sec3-ch1-subsec2downloading-and-exploring</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Thu, 29 Jan 2026 14:52:29 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!ZoCJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc125ae61-e48d-4543-baef-3731475f982e_1896x1058.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ZoCJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc125ae61-e48d-4543-baef-3731475f982e_1896x1058.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZoCJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc125ae61-e48d-4543-baef-3731475f982e_1896x1058.png 424w, https://substackcdn.com/image/fetch/$s_!ZoCJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc125ae61-e48d-4543-baef-3731475f982e_1896x1058.png 848w, https://substackcdn.com/image/fetch/$s_!ZoCJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc125ae61-e48d-4543-baef-3731475f982e_1896x1058.png 1272w, https://substackcdn.com/image/fetch/$s_!ZoCJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc125ae61-e48d-4543-baef-3731475f982e_1896x1058.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZoCJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc125ae61-e48d-4543-baef-3731475f982e_1896x1058.png" width="1456" height="812" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c125ae61-e48d-4543-baef-3731475f982e_1896x1058.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:812,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:532132,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://medicaldatascience.substack.com/i/186198650?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc125ae61-e48d-4543-baef-3731475f982e_1896x1058.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ZoCJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc125ae61-e48d-4543-baef-3731475f982e_1896x1058.png 424w, https://substackcdn.com/image/fetch/$s_!ZoCJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc125ae61-e48d-4543-baef-3731475f982e_1896x1058.png 848w, https://substackcdn.com/image/fetch/$s_!ZoCJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc125ae61-e48d-4543-baef-3731475f982e_1896x1058.png 1272w, https://substackcdn.com/image/fetch/$s_!ZoCJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc125ae61-e48d-4543-baef-3731475f982e_1896x1058.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>NHANES is an important public health data source and is widely used in epidemiological research, public health policy formulation, and clinical analysis. To help researchers efficiently obtain and process NHANES data, this article introduces several methods for downloading and reading NHANES data using R, including manually downloading data from the official website, reading local files with R, and directly downloading and processing online data using R. Combining these approaches can greatly improve the convenience and reproducibility of data analysis.</p><div><hr></div><h3><strong>Downloading NHANES Data and Reading It with R</strong></h3><p>Each year, NHANES collects data from thousands of participants and makes it publicly available worldwide. The data are widely used in academic research, policymaking, and evaluation of public health interventions. Whether studying disease prevalence trends, analyzing relationships between nutrition and health, or assessing the effectiveness of public health policies, NHANES data provide rich support for researchers.</p><p>Although NHANES data are relatively easy to access, beginners may still find it challenging to efficiently download and manage these datasets. Below are several main download methods.</p><div><hr></div><h3><strong>Why Choose NHANES Data?</strong></h3><p>NHANES data have several notable advantages:</p><ol><li><p><strong>Comprehensiveness</strong>: NHANES covers health, nutrition, behavior, environmental exposure, and many other indicators, meeting the needs of multidisciplinary research.</p></li><li><p><strong>Authority</strong>: The data are collected and managed by the CDC and are highly credible and authoritative.</p></li><li><p><strong>Public Accessibility</strong>: NHANES data are freely available, lowering the barrier to research.</p></li><li><p><strong>Standardization</strong>: Data collection and processing strictly follow standardized procedures, ensuring high quality and comparability.</p></li></ol><div><hr></div><h3><strong>1. Manually Downloading NHANES Data from the Official Website</strong></h3><p>First, it is important to know that since the late 1990s, all publicly available NHANES data and related documentation have been released and updated in a single centralized location: the <strong>official NHANES website</strong>. NHANES datasets are labeled by survey cycle year. The website provides all publicly available data files and documentation, from the earliest National Health Examination Survey (NHES I) to the most recent datasets. Each data file includes codebooks and related documentation to help users understand and use the data.</p><p>To obtain NHANES data, visit the official NHANES website:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!z1rw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3af617f8-26a0-4de5-8f5a-382ce735222a_2444x1894.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!z1rw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3af617f8-26a0-4de5-8f5a-382ce735222a_2444x1894.png 424w, https://substackcdn.com/image/fetch/$s_!z1rw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3af617f8-26a0-4de5-8f5a-382ce735222a_2444x1894.png 848w, https://substackcdn.com/image/fetch/$s_!z1rw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3af617f8-26a0-4de5-8f5a-382ce735222a_2444x1894.png 1272w, https://substackcdn.com/image/fetch/$s_!z1rw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3af617f8-26a0-4de5-8f5a-382ce735222a_2444x1894.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!z1rw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3af617f8-26a0-4de5-8f5a-382ce735222a_2444x1894.png" width="1456" height="1128" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3af617f8-26a0-4de5-8f5a-382ce735222a_2444x1894.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1128,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:442389,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://medicaldatascience.substack.com/i/186198650?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3af617f8-26a0-4de5-8f5a-382ce735222a_2444x1894.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!z1rw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3af617f8-26a0-4de5-8f5a-382ce735222a_2444x1894.png 424w, https://substackcdn.com/image/fetch/$s_!z1rw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3af617f8-26a0-4de5-8f5a-382ce735222a_2444x1894.png 848w, https://substackcdn.com/image/fetch/$s_!z1rw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3af617f8-26a0-4de5-8f5a-382ce735222a_2444x1894.png 1272w, https://substackcdn.com/image/fetch/$s_!z1rw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3af617f8-26a0-4de5-8f5a-382ce735222a_2444x1894.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>NHANES &#8211; National Health and Nutrition Examination Survey Homepage</strong>, which is part of the U.S. Centers for Disease Control and Prevention (CDC).</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/sec3-ch1-subsec2downloading-and-exploring">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.3-Ch.1-Subsec.1：Secondary Data Analysis in Medical Research: Concepts, Methods, and Applications]]></title><description><![CDATA[A Comprehensive Introduction to Public Clinical Databases with a Focus on NHANES]]></description><link>https://medicaldatascience.substack.com/p/sec3-ch1-subsec1secondary-data-analysis</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/sec3-ch1-subsec1secondary-data-analysis</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Sat, 24 Jan 2026 10:38:17 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!3oQo!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F331ad920-96e0-4197-bf97-b39edd8a8159_2482x1392.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!3oQo!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F331ad920-96e0-4197-bf97-b39edd8a8159_2482x1392.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!3oQo!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F331ad920-96e0-4197-bf97-b39edd8a8159_2482x1392.png 424w, https://substackcdn.com/image/fetch/$s_!3oQo!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F331ad920-96e0-4197-bf97-b39edd8a8159_2482x1392.png 848w, https://substackcdn.com/image/fetch/$s_!3oQo!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F331ad920-96e0-4197-bf97-b39edd8a8159_2482x1392.png 1272w, https://substackcdn.com/image/fetch/$s_!3oQo!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F331ad920-96e0-4197-bf97-b39edd8a8159_2482x1392.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!3oQo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F331ad920-96e0-4197-bf97-b39edd8a8159_2482x1392.png" width="1456" height="817" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/331ad920-96e0-4197-bf97-b39edd8a8159_2482x1392.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:817,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:772233,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://medicaldatascience.substack.com/i/185622583?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F331ad920-96e0-4197-bf97-b39edd8a8159_2482x1392.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!3oQo!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F331ad920-96e0-4197-bf97-b39edd8a8159_2482x1392.png 424w, https://substackcdn.com/image/fetch/$s_!3oQo!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F331ad920-96e0-4197-bf97-b39edd8a8159_2482x1392.png 848w, https://substackcdn.com/image/fetch/$s_!3oQo!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F331ad920-96e0-4197-bf97-b39edd8a8159_2482x1392.png 1272w, https://substackcdn.com/image/fetch/$s_!3oQo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F331ad920-96e0-4197-bf97-b39edd8a8159_2482x1392.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This article aims to introduce the application of secondary data analysis in medical and pharmaceutical research. It begins by outlining the importance and usage of primary data in medical research, followed by an explanation of the concept and advantages of secondary data analysis. The article then discusses research methodologies for joint mining of multiple secondary datasets, as well as approaches for data integration and analysis using clinical public databases. Special emphasis is placed on NHANES (National Health and Nutrition Examination Survey), a major public health database in the United States, with a detailed review of its historical development and data collection methods.</p><div><hr></div><h2><strong>I. Understanding Secondary Data Analysis</strong></h2><h3><strong>1. Primary Data in Medical Research</strong></h3><p>In medical research, data form the foundation for answering research questions, testing hypotheses, and understanding specific health-related issues. Broadly speaking, data acquisition methods can be divided into two types: <strong>primary data</strong> and <strong>secondary data</strong>.</p><p>Primary data refer to data that researchers collect directly for a specific research purpose, whereas secondary data refer to data that have already been collected, organized, and made available by other researchers or institutions for reuse and reanalysis. Each data type has its own advantages and limitations, and researchers select the appropriate type based on the research question, budget, and available resources.</p><p>Primary data research in medicine refers to the process by which researchers directly collect and generate data themselves. The main advantage of this approach is that data collection can be tailored precisely to the researcher&#8217;s objectives, enabling highly targeted answers to specific research questions. Primary data can be collected through various methods, including questionnaires, interviews, laboratory tests, and field observations. For example, when studying the epidemiological characteristics of a disease, researchers may need to conduct field visits, interview patients, or perform direct clinical experiments to obtain relevant data.</p><p>The advantages of primary data lie in their high specificity and flexibility. Researchers can choose suitable collection methods according to their needs and ensure the accuracy and relevance of the data. However, primary data collection is often time-consuming and costly. First, it requires substantial investments of time, labor, and financial resources. Second, the data collection process may face challenges such as ethical approval and quality control. In particular, medical research involves patient privacy and sensitive information, which necessitates strict adherence to ethical standards and may be subject to legal and moral constraints.</p><p>Although primary data analysis can provide precise and direct answers, many researchers choose to rely on existing secondary datasets due to the complexity and high cost of primary data collection, especially when research resources are limited.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/sec3-ch1-subsec1secondary-data-analysis">
              Read more
          </a>
      </p>
   ]]></content:encoded></item></channel></rss>