<?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: Basic]]></title><description><![CDATA[This section covers the basic analytical techniques using R, including data fundamentals, preprocessing, descriptive statistics, common regression models, survival analysis, and advanced regression methods.]]></description><link>https://medicaldatascience.substack.com/s/basic</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: Basic</title><link>https://medicaldatascience.substack.com/s/basic</link></image><generator>Substack</generator><lastBuildDate>Fri, 17 Jul 2026 06:06:14 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.B-Ch.6-Subsec.10：Quantile Regression: Principles and Applications]]></title><description><![CDATA[Conditional Quantile Estimation Methods, Practical Scenarios, and R Code Demonstrations for Quantile Regression]]></description><link>https://medicaldatascience.substack.com/p/secb-ch6-subsec10quantile-regression</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch6-subsec10quantile-regression</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Mon, 15 Jun 2026 09:03:01 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!6J6A!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F826cd839-cce1-4040-b475-a1b66314e9b7_2308x1280.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_!6J6A!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F826cd839-cce1-4040-b475-a1b66314e9b7_2308x1280.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6J6A!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F826cd839-cce1-4040-b475-a1b66314e9b7_2308x1280.png 424w, https://substackcdn.com/image/fetch/$s_!6J6A!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F826cd839-cce1-4040-b475-a1b66314e9b7_2308x1280.png 848w, https://substackcdn.com/image/fetch/$s_!6J6A!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F826cd839-cce1-4040-b475-a1b66314e9b7_2308x1280.png 1272w, https://substackcdn.com/image/fetch/$s_!6J6A!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F826cd839-cce1-4040-b475-a1b66314e9b7_2308x1280.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6J6A!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F826cd839-cce1-4040-b475-a1b66314e9b7_2308x1280.png" width="1456" height="807" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/826cd839-cce1-4040-b475-a1b66314e9b7_2308x1280.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:807,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1841808,&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/200867565?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F826cd839-cce1-4040-b475-a1b66314e9b7_2308x1280.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_!6J6A!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F826cd839-cce1-4040-b475-a1b66314e9b7_2308x1280.png 424w, https://substackcdn.com/image/fetch/$s_!6J6A!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F826cd839-cce1-4040-b475-a1b66314e9b7_2308x1280.png 848w, https://substackcdn.com/image/fetch/$s_!6J6A!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F826cd839-cce1-4040-b475-a1b66314e9b7_2308x1280.png 1272w, https://substackcdn.com/image/fetch/$s_!6J6A!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F826cd839-cce1-4040-b475-a1b66314e9b7_2308x1280.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 traditional regression analysis, the method most familiar to us is &#8220;Ordinary Least Squares&#8221; (OLS), which estimates the conditional mean of the dependent variable (response variable) by minimizing the sum of squared differences between predicted and true values. However, in the real world, data distributions often exhibit heterogeneity, skewness, extreme values, or fail to satisfy the normality and homoscedasticity assumptions required by linear regression. In such cases, the information provided by OLS appears one-sided or even misleading.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch6-subsec10quantile-regression">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.6-Subsec.9：Neural Network Regression: Principles and Applications]]></title><description><![CDATA[Nonlinear Modeling Methods, Practical Scenarios, and R Code Demonstrations for Neural Network Regression]]></description><link>https://medicaldatascience.substack.com/p/secb-ch6-subsec9neural-network-regression</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch6-subsec9neural-network-regression</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Sun, 14 Jun 2026 08:49:23 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!28L8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51f7a305-7678-4239-8d61-b64781288420_2310x1288.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_!28L8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51f7a305-7678-4239-8d61-b64781288420_2310x1288.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!28L8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51f7a305-7678-4239-8d61-b64781288420_2310x1288.png 424w, https://substackcdn.com/image/fetch/$s_!28L8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51f7a305-7678-4239-8d61-b64781288420_2310x1288.png 848w, https://substackcdn.com/image/fetch/$s_!28L8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51f7a305-7678-4239-8d61-b64781288420_2310x1288.png 1272w, https://substackcdn.com/image/fetch/$s_!28L8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51f7a305-7678-4239-8d61-b64781288420_2310x1288.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!28L8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51f7a305-7678-4239-8d61-b64781288420_2310x1288.png" width="1456" height="812" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51f7a305-7678-4239-8d61-b64781288420_2310x1288.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;:1863918,&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/200866992?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51f7a305-7678-4239-8d61-b64781288420_2310x1288.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_!28L8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51f7a305-7678-4239-8d61-b64781288420_2310x1288.png 424w, https://substackcdn.com/image/fetch/$s_!28L8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51f7a305-7678-4239-8d61-b64781288420_2310x1288.png 848w, https://substackcdn.com/image/fetch/$s_!28L8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51f7a305-7678-4239-8d61-b64781288420_2310x1288.png 1272w, https://substackcdn.com/image/fetch/$s_!28L8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51f7a305-7678-4239-8d61-b64781288420_2310x1288.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>With the rapid growth of medical research data, traditional statistical methods face numerous challenges when handling high-dimensional complex data. In recent years, the rise of machine learning technology has brought new solutions to medical statistics. Among them, neural network regression, as a powerful nonlinear modeling tool, has been widely applied in multiple fields including medical image analysis, disease prediction, and personalized treatment recommendation. This article will systematically introduce the basic principles, modeling workflow, and typical applications of neural network regression in R.</p><h2><strong>I. Understanding Neural Network Regression</strong></h2><p>Neural Network Regression is a machine learning method that uses neural network structures to solve regression problems. The core of regression problems is predicting a continuous variable (such as blood pressure, lesion volume, survival time, etc.), and neural networks can learn complex nonlinear relationships between input variables (features) and output variables (target values) through training, thereby achieving high-precision prediction. Compared with traditional linear regression models, neural network regression does not require prior assumptions about data distribution forms or linear relationships between variables, thus demonstrating stronger adaptability when modeling complex physiological systems or high-dimensional medical data.</p><p>Neural Networks, also known as Artificial Neural Networks (ANN), are a class of computer algorithms or models inspired by the structure of the human brain&#8217;s nervous system. They consist of a large number of nodes (similar to &#8220;artificial neurons&#8221;) that operate through connections, weights, and thresholds between layers, possessing decision-making and learning capabilities. A neural network is an algorithmic model that simulates the human brain&#8217;s neural system, composed of an input layer, hidden layers, and an output layer, achieving nonlinear mapping through connection weights and activation functions. Each node is equivalent to a small linear regressor that receives inputs, performs weighted summation, and outputs through an activation function. The training process relies on forward propagation, loss function evaluation, and the backpropagation algorithm for gradient updates. It is precisely this iterative layer-by-layer mechanism that enables neural networks to autonomously learn complex data patterns, widely used for classification, regression, and other tasks.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch6-subsec9neural-network-regression">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.6-Subsec.8：Principal Component Regression: Principles and Applications]]></title><description><![CDATA[Dimensionality Reduction Methods, Practical Scenarios, and R Code Demonstrations for PCR]]></description><link>https://medicaldatascience.substack.com/p/secb-ch6-subsec8principal-component</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch6-subsec8principal-component</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Sat, 13 Jun 2026 08:33:26 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!2lgH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c2ba61-4809-4065-91fe-5832bdf02e0c_2318x1296.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_!2lgH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c2ba61-4809-4065-91fe-5832bdf02e0c_2318x1296.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2lgH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c2ba61-4809-4065-91fe-5832bdf02e0c_2318x1296.png 424w, https://substackcdn.com/image/fetch/$s_!2lgH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c2ba61-4809-4065-91fe-5832bdf02e0c_2318x1296.png 848w, https://substackcdn.com/image/fetch/$s_!2lgH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c2ba61-4809-4065-91fe-5832bdf02e0c_2318x1296.png 1272w, https://substackcdn.com/image/fetch/$s_!2lgH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c2ba61-4809-4065-91fe-5832bdf02e0c_2318x1296.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2lgH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c2ba61-4809-4065-91fe-5832bdf02e0c_2318x1296.png" width="1456" height="814" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b2c2ba61-4809-4065-91fe-5832bdf02e0c_2318x1296.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:814,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1865730,&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/200865730?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c2ba61-4809-4065-91fe-5832bdf02e0c_2318x1296.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_!2lgH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c2ba61-4809-4065-91fe-5832bdf02e0c_2318x1296.png 424w, https://substackcdn.com/image/fetch/$s_!2lgH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c2ba61-4809-4065-91fe-5832bdf02e0c_2318x1296.png 848w, https://substackcdn.com/image/fetch/$s_!2lgH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c2ba61-4809-4065-91fe-5832bdf02e0c_2318x1296.png 1272w, https://substackcdn.com/image/fetch/$s_!2lgH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c2ba61-4809-4065-91fe-5832bdf02e0c_2318x1296.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 practical data analysis, we often encounter a tricky problem: independent variables are highly correlated with each other, which is what we commonly call the &#8220;multicollinearity&#8221; problem. It leads to extremely unstable regression coefficients, makes the model difficult to interpret, and affects prediction effectiveness. Principal Component Regression (PCR) is an effective method for addressing this problem. It combines &#8220;Principal Component Analysis&#8221; (PCA) with linear regression, solving both variable collinearity and achieving dimensionality reduction, making it a typical &#8220;regularization&#8221; modeling technique. This article will provide an in-depth understanding of the principles, steps, advantages, and application scenarios of PCR, helping you become more adept at handling high-dimensional data or data with severe collinearity.</p><h2><strong>I. Understanding Principal Component Regression</strong></h2><p>Principal Component Regression (PCR) is a statistical technique that combines Principal Component Analysis (PCA) with linear regression. Its core purpose is to reduce the dimensionality of a dataset by projecting data onto a lower-dimensional subspace, thereby simplifying the analysis process and improving model performance. In real-world datasets, especially those generated by modern scientific research and commercial applications, the number of variables is often extremely large, and these variables may have intricate correlations among them. In such cases, directly applying traditional regression methods, such as multiple linear regression, may lead to problems like model instability, overfitting, and difficulty in interpretation.</p><p>For example, in the field of bioinformatics, researchers may need to analyze expression data from thousands of genes to explore their relationship with a certain disease. These gene variables may have high correlations because gene regulatory networks in living organisms are complex, interconnected systems. In the financial sector, analysts need to consider numerous economic indicators and market factors when predicting stock price trends, and these factors may also have various correlations. PCR can effectively handle this high-dimensional and correlated data by extracting principal components from the data.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch6-subsec8principal-component">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.6-Subsec.7：Stepwise Regression: Principles and Applications]]></title><description><![CDATA[Variable Selection Methods, Practical Scenarios, and R Code Demonstrations for Stepwise Regression]]></description><link>https://medicaldatascience.substack.com/p/secb-ch6-subsec7stepwise-regression</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch6-subsec7stepwise-regression</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Fri, 12 Jun 2026 08:18:02 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!5GBj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe32e4d62-7cb2-4aab-a223-5b17416cf8b6_2318x1296.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_!5GBj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe32e4d62-7cb2-4aab-a223-5b17416cf8b6_2318x1296.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!5GBj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe32e4d62-7cb2-4aab-a223-5b17416cf8b6_2318x1296.png 424w, https://substackcdn.com/image/fetch/$s_!5GBj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe32e4d62-7cb2-4aab-a223-5b17416cf8b6_2318x1296.png 848w, https://substackcdn.com/image/fetch/$s_!5GBj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe32e4d62-7cb2-4aab-a223-5b17416cf8b6_2318x1296.png 1272w, https://substackcdn.com/image/fetch/$s_!5GBj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe32e4d62-7cb2-4aab-a223-5b17416cf8b6_2318x1296.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!5GBj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe32e4d62-7cb2-4aab-a223-5b17416cf8b6_2318x1296.png" width="1456" height="814" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e32e4d62-7cb2-4aab-a223-5b17416cf8b6_2318x1296.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:814,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1858410,&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/200864246?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe32e4d62-7cb2-4aab-a223-5b17416cf8b6_2318x1296.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_!5GBj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe32e4d62-7cb2-4aab-a223-5b17416cf8b6_2318x1296.png 424w, https://substackcdn.com/image/fetch/$s_!5GBj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe32e4d62-7cb2-4aab-a223-5b17416cf8b6_2318x1296.png 848w, https://substackcdn.com/image/fetch/$s_!5GBj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe32e4d62-7cb2-4aab-a223-5b17416cf8b6_2318x1296.png 1272w, https://substackcdn.com/image/fetch/$s_!5GBj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe32e4d62-7cb2-4aab-a223-5b17416cf8b6_2318x1296.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 statistical modeling, when we face a sea of variables but don&#8217;t know which ones are truly important, is there a method that can automatically screen variables and build models? Stepwise regression algorithms emerged precisely in this context as an automated variable selection technique. It is like an &#8220;autopilot&#8221; assistant, helping researchers quickly &#8220;navigate&#8221; through the ocean of variables to build appropriate regression models. But is stepwise regression really as smart as it appears? What are its advantages and pitfalls? This article will provide an in-depth understanding of the principles, procedures, pros and cons, and alternatives of stepwise regression, combined with demonstrations in the R language environment.</p><h2><strong>I. Understanding Stepwise Regression Algorithms</strong></h2><p>Stepwise Regression is a method for automatically selecting regression model variables based on statistical significance criteria. Its core idea is: we can gradually improve model fit by &#8220;adding&#8221; or &#8220;removing&#8221; variables at each step, thereby screening out the &#8220;most appropriate&#8221; combination of variables.</p><p><strong>The basic procedures of stepwise regression include three main approaches:</strong></p><p><strong>Forward Selection</strong>: Starts from an empty model (i.e., a model with no explanatory variables), then sequentially introduces the most significant variable, retaining it as long as the improvement in fit meets the statistical standard. This process repeats until no new variable can significantly improve the model.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch6-subsec7stepwise-regression">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.6-Subsec.6：Elastic Net Regression: Principles and Applications]]></title><description><![CDATA[Regularization Methods, Practical Scenarios, and R Code Demonstrations for Elastic Net Regression]]></description><link>https://medicaldatascience.substack.com/p/secb-ch6-subsec6elastic-net-regression</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch6-subsec6elastic-net-regression</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Thu, 11 Jun 2026 07:55:02 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!m8R9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F337b87eb-60bb-4a7c-9f75-74bf77ffb5f4_2318x1296.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_!m8R9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F337b87eb-60bb-4a7c-9f75-74bf77ffb5f4_2318x1296.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!m8R9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F337b87eb-60bb-4a7c-9f75-74bf77ffb5f4_2318x1296.png 424w, https://substackcdn.com/image/fetch/$s_!m8R9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F337b87eb-60bb-4a7c-9f75-74bf77ffb5f4_2318x1296.png 848w, https://substackcdn.com/image/fetch/$s_!m8R9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F337b87eb-60bb-4a7c-9f75-74bf77ffb5f4_2318x1296.png 1272w, https://substackcdn.com/image/fetch/$s_!m8R9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F337b87eb-60bb-4a7c-9f75-74bf77ffb5f4_2318x1296.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!m8R9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F337b87eb-60bb-4a7c-9f75-74bf77ffb5f4_2318x1296.png" width="1456" height="814" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/337b87eb-60bb-4a7c-9f75-74bf77ffb5f4_2318x1296.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:814,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1856084,&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/200863775?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F337b87eb-60bb-4a7c-9f75-74bf77ffb5f4_2318x1296.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_!m8R9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F337b87eb-60bb-4a7c-9f75-74bf77ffb5f4_2318x1296.png 424w, https://substackcdn.com/image/fetch/$s_!m8R9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F337b87eb-60bb-4a7c-9f75-74bf77ffb5f4_2318x1296.png 848w, https://substackcdn.com/image/fetch/$s_!m8R9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F337b87eb-60bb-4a7c-9f75-74bf77ffb5f4_2318x1296.png 1272w, https://substackcdn.com/image/fetch/$s_!m8R9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F337b87eb-60bb-4a7c-9f75-74bf77ffb5f4_2318x1296.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 statistical modeling and machine learning, regression analysis is a fundamental and important technique. We often use linear regression models to explore relationships between variables and predict unknown data. However, traditional linear regression often encounters serious performance issues when dealing with multicollinearity (also known as highly correlated variables) or high-dimensional data, such as model overfitting and decreased interpretability. To address these problems, scholars have proposed various &#8220;regularization&#8221; methods, with the most well-known being Lasso regression and Ridge regression. This article will introduce their &#8220;fusion upgrade&#8221; &#8212; <strong>Elastic Net Regression</strong>. It not only integrates the advantages of both but also demonstrates stronger performance and practicality in specific problems.</p><h2><strong>I. Understanding the Elastic Net Regression Model</strong></h2><p>Elastic Net Regression is an improved version of linear regression that combines two regularization approaches &#8212; Lasso and Ridge &#8212; and performs particularly well in handling medical data scenarios where &#8220;variables are numerous and correlated with each other.&#8221; In other words, it is an &#8220;upgraded version&#8221; of traditional linear regression for dealing with complex real-world data. In medical research and clinical data analysis, we often encounter problems like this: a disease may be related to dozens or even hundreds of indicators. For example, when building a predictive model for diabetes, researchers may collect multiple variables such as patient age, weight, blood pressure, blood glucose, insulin levels, family history, dietary habits, exercise frequency, liver function, kidney function, and various biochemical indicators. These variables are often not independent of each other &#8212; for example, weight is related to insulin resistance, blood pressure and kidney function may influence each other, and nutritional status is associated with multiple indicators.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch6-subsec6elastic-net-regression">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.6-Subsec.5：Lasso Regression: Principles and Applications]]></title><description><![CDATA[Variable Selection Methods, Practical Scenarios, and R Code Demonstrations for Lasso Regression]]></description><link>https://medicaldatascience.substack.com/p/secb-ch6-subsec5lasso-regression</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch6-subsec5lasso-regression</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Wed, 10 Jun 2026 07:48:56 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!zQWM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882cf2f-a544-43dc-8661-a973d5bedaca_2316x1294.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_!zQWM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882cf2f-a544-43dc-8661-a973d5bedaca_2316x1294.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zQWM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882cf2f-a544-43dc-8661-a973d5bedaca_2316x1294.png 424w, https://substackcdn.com/image/fetch/$s_!zQWM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882cf2f-a544-43dc-8661-a973d5bedaca_2316x1294.png 848w, https://substackcdn.com/image/fetch/$s_!zQWM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882cf2f-a544-43dc-8661-a973d5bedaca_2316x1294.png 1272w, https://substackcdn.com/image/fetch/$s_!zQWM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882cf2f-a544-43dc-8661-a973d5bedaca_2316x1294.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zQWM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882cf2f-a544-43dc-8661-a973d5bedaca_2316x1294.png" width="1456" height="813" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b882cf2f-a544-43dc-8661-a973d5bedaca_2316x1294.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;:1850258,&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/200863520?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882cf2f-a544-43dc-8661-a973d5bedaca_2316x1294.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_!zQWM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882cf2f-a544-43dc-8661-a973d5bedaca_2316x1294.png 424w, https://substackcdn.com/image/fetch/$s_!zQWM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882cf2f-a544-43dc-8661-a973d5bedaca_2316x1294.png 848w, https://substackcdn.com/image/fetch/$s_!zQWM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882cf2f-a544-43dc-8661-a973d5bedaca_2316x1294.png 1272w, https://substackcdn.com/image/fetch/$s_!zQWM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb882cf2f-a544-43dc-8661-a973d5bedaca_2316x1294.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 today&#8217;s data-driven medical research, the number of variables often far exceeds the number of samples. How to screen out truly key factors from massive features has become a major challenge in the modeling process. Traditional linear regression is prone to overfitting and unstable results when handling high-dimensional or highly collinear data, limiting its application in clinical research. Lasso Regression (Least Absolute Shrinkage and Selection Operator) is a method specifically designed to address this problem. It not only effectively reduces model complexity and prevents overfitting but also possesses automatic variable selection capability, making the model more interpretable and generalizable. This article will explain the principles, advantages, and disadvantages of Lasso regression in accessible language, and demonstrate its practical application value in medical data analysis using R language.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch6-subsec5lasso-regression">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.6-Subsec.4：Ridge Regression: Principles and Applications]]></title><description><![CDATA[Regularization Methods, Practical Scenarios, and R Code Demonstrations for Ridge Regression]]></description><link>https://medicaldatascience.substack.com/p/secb-ch6-subsec4ridge-regression</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch6-subsec4ridge-regression</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Tue, 09 Jun 2026 07:44:01 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!bPZg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb22964-418d-4d04-94d2-a724d1ded1a6_2312x1300.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_!bPZg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb22964-418d-4d04-94d2-a724d1ded1a6_2312x1300.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bPZg!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb22964-418d-4d04-94d2-a724d1ded1a6_2312x1300.png 424w, https://substackcdn.com/image/fetch/$s_!bPZg!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb22964-418d-4d04-94d2-a724d1ded1a6_2312x1300.png 848w, https://substackcdn.com/image/fetch/$s_!bPZg!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb22964-418d-4d04-94d2-a724d1ded1a6_2312x1300.png 1272w, https://substackcdn.com/image/fetch/$s_!bPZg!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb22964-418d-4d04-94d2-a724d1ded1a6_2312x1300.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bPZg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb22964-418d-4d04-94d2-a724d1ded1a6_2312x1300.png" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/aeb22964-418d-4d04-94d2-a724d1ded1a6_2312x1300.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1840701,&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/200862768?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb22964-418d-4d04-94d2-a724d1ded1a6_2312x1300.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_!bPZg!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb22964-418d-4d04-94d2-a724d1ded1a6_2312x1300.png 424w, https://substackcdn.com/image/fetch/$s_!bPZg!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb22964-418d-4d04-94d2-a724d1ded1a6_2312x1300.png 848w, https://substackcdn.com/image/fetch/$s_!bPZg!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb22964-418d-4d04-94d2-a724d1ded1a6_2312x1300.png 1272w, https://substackcdn.com/image/fetch/$s_!bPZg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeb22964-418d-4d04-94d2-a724d1ded1a6_2312x1300.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 medical research, we frequently use statistical models to predict disease risk, treatment efficacy, or trends in physiological indicators. These models require many inputs, such as patient age, gender, weight, blood pressure, blood glucose levels, genetic types, etc., to predict an outcome, such as whether a patient has a certain disease, surgical success rate, or recovery speed after treatment. But have you ever considered whether having some variables that are too &#8220;similar&#8221; among the inputs might lead to unreliable prediction results? The answer is: yes. And &#8220;Ridge Regression&#8221; is a statistical method specifically designed to address this problem.</p><h2><strong>I. Understanding Ridge Regression</strong></h2><p>Ridge Regression, also known as Tikhonov Regularization, is a regression analysis method proposed by Soviet mathematician Andrey Tikhonov. It is primarily used to handle situations in multiple linear regression models where independent variables are highly correlated with each other, known as the &#8220;multicollinearity&#8221; problem. This method is widely applied in many fields, such as econometrics, chemistry, and engineering, and is particularly suitable for situations with numerous model parameters and complex relationships among variables.</p><p>The theoretical foundation of ridge regression was formally proposed by statisticians Hoerl and Kennard in 1970 in two important papers: &#8220;Ridge Regressions: Biased Estimation for Nonorthogonal Problems&#8221; and &#8220;Ridge Regressions: Applications to Nonorthogonal Problems.&#8221; They pointed out that although ridge regression produces biased estimates, it can significantly improve the precision and stability of parameter estimates when dealing with non-orthogonal (i.e., variables not completely independent) problems.</p><p>In linear regression analysis, we often use Ordinary Least Squares (OLS) to estimate model parameters. This method performs well under the premise that independent variables (input variables) are independent of each other or have weak correlations. However, in real-world data, independent variables often have strong correlations. For example, in economics, variables such as consumption, income, and savings often influence each other; in chemical experiments, concentrations of multiple chemical components may change synergistically. This high correlation causes the coefficients estimated by OLS to be unstable, with excessive variance and poor model interpretability, or even the phenomenon of &#8220;appearing fine but actually being completely distorted.&#8221;</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch6-subsec4ridge-regression">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.6-Subsec.3：Visualization and Diagnostics of Generalized Additive Models]]></title><description><![CDATA[Comprehensive Guide to GAM Result Visualization, Model Checking, and Diagnostic Methods]]></description><link>https://medicaldatascience.substack.com/p/secb-ch6-subsec3visualization-and</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch6-subsec3visualization-and</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Mon, 08 Jun 2026 07:32:53 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!_H22!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F861f9b5a-c04e-4979-8754-27b929f8877e_2312x1300.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_!_H22!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F861f9b5a-c04e-4979-8754-27b929f8877e_2312x1300.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!_H22!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F861f9b5a-c04e-4979-8754-27b929f8877e_2312x1300.png 424w, https://substackcdn.com/image/fetch/$s_!_H22!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F861f9b5a-c04e-4979-8754-27b929f8877e_2312x1300.png 848w, https://substackcdn.com/image/fetch/$s_!_H22!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F861f9b5a-c04e-4979-8754-27b929f8877e_2312x1300.png 1272w, https://substackcdn.com/image/fetch/$s_!_H22!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F861f9b5a-c04e-4979-8754-27b929f8877e_2312x1300.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!_H22!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F861f9b5a-c04e-4979-8754-27b929f8877e_2312x1300.png" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/861f9b5a-c04e-4979-8754-27b929f8877e_2312x1300.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1870383,&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/200862133?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F861f9b5a-c04e-4979-8754-27b929f8877e_2312x1300.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_!_H22!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F861f9b5a-c04e-4979-8754-27b929f8877e_2312x1300.png 424w, https://substackcdn.com/image/fetch/$s_!_H22!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F861f9b5a-c04e-4979-8754-27b929f8877e_2312x1300.png 848w, https://substackcdn.com/image/fetch/$s_!_H22!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F861f9b5a-c04e-4979-8754-27b929f8877e_2312x1300.png 1272w, https://substackcdn.com/image/fetch/$s_!_H22!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F861f9b5a-c04e-4979-8754-27b929f8877e_2312x1300.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 statistical modeling and data science, nonlinear modeling methods are gradually replacing traditional linear models in many practical problems. Generalized Additive Models (GAM), as a flexible and interpretable nonlinear regression method, are increasingly favored by researchers. This article will systematically introduce how to use simulated data for GAM modeling, result visualization, and model diagnostics through a complete modeling workflow, combined with the use of the mgcv package in R, and introduce a staged modeling technique to improve modeling flexibility.</p><h2><strong>I. Visualization of Generalized Additive Models</strong></h2><p>We continue to use the data from the previous section for model building.</p><pre><code><code># Load the mgcv package, the primary toolkit for GAM modeling and visualization in R
library(mgcv)

# Set random seed so that the random data generated is the same each time the code runs, ensuring reproducible results
set.seed(2)

# Use the gamSim() function provided by the mgcv package to generate simulated data
# Parameter descriptions:
# 1: Selects the first built-in data generation model (containing four explanatory variables x0, x1, x2, x3 and one response variable y)
# n = 400: Generate 400 observations
# dist = "normal": Specify the response variable y to follow a normal distribution (commonly used for linear models)
# scale = 2: Set the standard deviation of the error term to 2, controlling the amount of noise in the data
dat &lt;- gamSim(1, n = 400, dist = "normal", scale = 2)

# Use the gam() function to fit a Generalized Additive Model (GAM)
# Model form: y ~ s(x0) + s(x1) + s(x2) + s(x3)
# Indicates the response variable y is the sum of smooth functions of four independent variables
# s(xi): Applies a smooth spline function to variable xi, automatically selecting appropriate basis functions and penalty parameters
# data = dat: Specifies the dataset for modeling as the simulated dat above
b &lt;- gam(y ~ s(x0) + s(x1) + s(x2) + s(x3), data = dat)</code></code></pre>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch6-subsec3visualization-and">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.6-Subsec.2：Building Generalized Additive Models]]></title><description><![CDATA[A Comprehensive Guide to Constructing and Fitting GAMs with the mgcv Package]]></description><link>https://medicaldatascience.substack.com/p/secb-ch6-subsec2building-generalized</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch6-subsec2building-generalized</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Sat, 06 Jun 2026 07:19:38 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!haG7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81e63c38-8637-467a-9794-6fb6df42a3e0_2312x1300.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_!haG7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81e63c38-8637-467a-9794-6fb6df42a3e0_2312x1300.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!haG7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81e63c38-8637-467a-9794-6fb6df42a3e0_2312x1300.png 424w, https://substackcdn.com/image/fetch/$s_!haG7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81e63c38-8637-467a-9794-6fb6df42a3e0_2312x1300.png 848w, https://substackcdn.com/image/fetch/$s_!haG7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81e63c38-8637-467a-9794-6fb6df42a3e0_2312x1300.png 1272w, https://substackcdn.com/image/fetch/$s_!haG7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81e63c38-8637-467a-9794-6fb6df42a3e0_2312x1300.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!haG7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81e63c38-8637-467a-9794-6fb6df42a3e0_2312x1300.png" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/81e63c38-8637-467a-9794-6fb6df42a3e0_2312x1300.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1844394,&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/200861442?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81e63c38-8637-467a-9794-6fb6df42a3e0_2312x1300.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_!haG7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81e63c38-8637-467a-9794-6fb6df42a3e0_2312x1300.png 424w, https://substackcdn.com/image/fetch/$s_!haG7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81e63c38-8637-467a-9794-6fb6df42a3e0_2312x1300.png 848w, https://substackcdn.com/image/fetch/$s_!haG7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81e63c38-8637-467a-9794-6fb6df42a3e0_2312x1300.png 1272w, https://substackcdn.com/image/fetch/$s_!haG7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81e63c38-8637-467a-9794-6fb6df42a3e0_2312x1300.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 statistical modeling and data science, although Generalized Linear Models (GLM) are powerful, they still have limitations such as overly strong linearity assumptions and insufficient flexibility. Generalized Additive Models (GAM) emerged in this context, using non-parametric regression as a foundation to flexibly model nonlinear relationships between predictor variables and response variables. This article will delve into the theoretical foundations, modeling syntax, parameter settings, and extended applications of GAM, focusing on the core function <code>gam</code> in the R package mgcv, helping readers master the advantages and usage of GAM in practical modeling.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch6-subsec2building-generalized">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.6-Subsec.1：Understanding Generalized Additive Models]]></title><description><![CDATA[Principles and Applications of Generalized Additive Models in Statistical Modeling]]></description><link>https://medicaldatascience.substack.com/p/secb-ch6-subsec1understanding-generalized</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch6-subsec1understanding-generalized</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Sat, 06 Jun 2026 07:10:02 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!AwS6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd10480c6-91a2-4523-a93f-585cc7a7c18e_2310x1298.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_!AwS6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd10480c6-91a2-4523-a93f-585cc7a7c18e_2310x1298.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!AwS6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd10480c6-91a2-4523-a93f-585cc7a7c18e_2310x1298.png 424w, https://substackcdn.com/image/fetch/$s_!AwS6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd10480c6-91a2-4523-a93f-585cc7a7c18e_2310x1298.png 848w, https://substackcdn.com/image/fetch/$s_!AwS6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd10480c6-91a2-4523-a93f-585cc7a7c18e_2310x1298.png 1272w, https://substackcdn.com/image/fetch/$s_!AwS6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd10480c6-91a2-4523-a93f-585cc7a7c18e_2310x1298.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!AwS6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd10480c6-91a2-4523-a93f-585cc7a7c18e_2310x1298.png" width="1456" height="818" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d10480c6-91a2-4523-a93f-585cc7a7c18e_2310x1298.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;:1854631,&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/200859554?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd10480c6-91a2-4523-a93f-585cc7a7c18e_2310x1298.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_!AwS6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd10480c6-91a2-4523-a93f-585cc7a7c18e_2310x1298.png 424w, https://substackcdn.com/image/fetch/$s_!AwS6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd10480c6-91a2-4523-a93f-585cc7a7c18e_2310x1298.png 848w, https://substackcdn.com/image/fetch/$s_!AwS6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd10480c6-91a2-4523-a93f-585cc7a7c18e_2310x1298.png 1272w, https://substackcdn.com/image/fetch/$s_!AwS6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd10480c6-91a2-4523-a93f-585cc7a7c18e_2310x1298.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>Generalized Additive Models (GAM), also known as Generalized Additive Regression Models, are a flexible regression framework that lies between fully parametric and non-parametric models. They decompose the relationship between variables &#8212; which would otherwise need to be characterized by a straight line &#8212; into several bendable curves, each corresponding to one independent variable, allowing the data to naturally conform to these curves through &#8220;smoothing.&#8221; In this way, when there are clear bends or inflection points in the relationship between independent and dependent variables, the model can automatically capture such nonlinear changes without having to assume a specific functional form in advance. In practice, GAM retains the simplicity and clarity of linear regression while introducing the flexibility of non-parametric methods.</p><h2><strong>I. Review of Multiple Linear Regression and Generalized Linear Models</strong></h2><h3><strong>1. Multiple Linear Regression Model</strong></h3><p>In statistical research and applications, when the outcome variable of a study is a continuous numerical value, we often wish to explore the quantitative relationship between this outcome variable and several influencing factors. The <strong>Multiple Linear Regression Model (MLR)</strong> was born and widely applied in this context. In multiple linear regression, we assume that the dependent variable can be expressed as a weighted sum of a set of independent variables, plus an error term that cannot be explained by these independent variables. The error term reflects random fluctuations or other unknown factors not included in the observations.</p><p>In practice, one first collects sample data containing the dependent variable and all candidate independent variables. Then, statistical methods such as ordinary least squares or maximum likelihood estimation are used to estimate the model parameters. The model parameters roughly include the intercept and the regression coefficients corresponding to each independent variable. The intercept is equivalent to the baseline predicted value of the dependent variable when all independent variables are zero; the regression coefficients characterize the magnitude and direction of the expected change in the dependent variable for each unit change in the independent variable, while holding other independent variables constant. After estimation is complete, one can check the significance of each independent variable&#8217;s coefficient and the overall goodness of fit of the model through the model summary.</p><p>During the construction and application of multiple linear regression models, several key assumptions must be satisfied; otherwise, the conclusions drawn may be distorted or misleading. These assumptions and their testing methods are reviewed below.</p><p><strong>First, the linearity assumption. This assumption requires that the relationship between the dependent variable and each independent variable should be linear. In actual research, scatter plots of the dependent variable against each independent variable can first be drawn to visually assess whether a linear trend is present. If some scatter plots show curved or other nonlinear shapes, one can try appropriate transformations of the independent or dependent variable, such as logarithmic, reciprocal, square root, or arcsine transformations, to make the relationship closer to linear.</strong></p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch6-subsec1understanding-generalized">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.5-Subsec.10：Conditional Logistic Regression in Clinical Research]]></title><description><![CDATA[Advanced Techniques for Building Conditional Logistic Regression Models]]></description><link>https://medicaldatascience.substack.com/p/secb-ch5-subsec10conditional-logistic</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch5-subsec10conditional-logistic</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Thu, 28 May 2026 07:43:51 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!9pDs!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F301eca40-5df3-46a2-9b66-d92b1661da12_2344x1306.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_!9pDs!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F301eca40-5df3-46a2-9b66-d92b1661da12_2344x1306.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!9pDs!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F301eca40-5df3-46a2-9b66-d92b1661da12_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!9pDs!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F301eca40-5df3-46a2-9b66-d92b1661da12_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!9pDs!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F301eca40-5df3-46a2-9b66-d92b1661da12_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!9pDs!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F301eca40-5df3-46a2-9b66-d92b1661da12_2344x1306.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!9pDs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F301eca40-5df3-46a2-9b66-d92b1661da12_2344x1306.png" width="1456" height="811" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/301eca40-5df3-46a2-9b66-d92b1661da12_2344x1306.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;:1605716,&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/198094356?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F301eca40-5df3-46a2-9b66-d92b1661da12_2344x1306.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_!9pDs!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F301eca40-5df3-46a2-9b66-d92b1661da12_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!9pDs!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F301eca40-5df3-46a2-9b66-d92b1661da12_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!9pDs!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F301eca40-5df3-46a2-9b66-d92b1661da12_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!9pDs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F301eca40-5df3-46a2-9b66-d92b1661da12_2344x1306.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>Conditional Logistic Regression is a regression model used in paired or matched design studies, especially widely used in epidemiological and clinical medical research. By considering the characteristics of pairing or matching, this model can effectively control the interference of confounding factors, thereby accurately estimating the association between exposure factors and outcomes. This article will introduce in detail the basic principles, model construction, application scenarios, and specific practices in clinical research of conditional Logistic regression.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch5-subsec10conditional-logistic">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.5-Subsec.9：Ordered Logistic Regression in Clinical Research]]></title><description><![CDATA[In-Depth Explanation of Ordered Multinomial Logistic Regression Model Analysis]]></description><link>https://medicaldatascience.substack.com/p/secb-ch5-subsec9ordered-logistic</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch5-subsec9ordered-logistic</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Wed, 27 May 2026 07:40:25 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!JHam!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff81e23c7-ecf4-46a3-bec0-aa4b96e59c93_2344x1306.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_!JHam!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff81e23c7-ecf4-46a3-bec0-aa4b96e59c93_2344x1306.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!JHam!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff81e23c7-ecf4-46a3-bec0-aa4b96e59c93_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!JHam!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff81e23c7-ecf4-46a3-bec0-aa4b96e59c93_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!JHam!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff81e23c7-ecf4-46a3-bec0-aa4b96e59c93_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!JHam!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff81e23c7-ecf4-46a3-bec0-aa4b96e59c93_2344x1306.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!JHam!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff81e23c7-ecf4-46a3-bec0-aa4b96e59c93_2344x1306.png" width="1456" height="811" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f81e23c7-ecf4-46a3-bec0-aa4b96e59c93_2344x1306.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;:1560753,&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/198093899?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff81e23c7-ecf4-46a3-bec0-aa4b96e59c93_2344x1306.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_!JHam!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff81e23c7-ecf4-46a3-bec0-aa4b96e59c93_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!JHam!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff81e23c7-ecf4-46a3-bec0-aa4b96e59c93_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!JHam!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff81e23c7-ecf4-46a3-bec0-aa4b96e59c93_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!JHam!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff81e23c7-ecf4-46a3-bec0-aa4b96e59c93_2344x1306.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>Logistic regression models are widely used in medical research due to their ability to handle categorical variables well. Traditional Logistic regression models are mainly used for binary data analysis, that is, simplifying the outcome variable into two categories, such as &#8220;yes&#8221; and &#8220;no&#8221; or &#8220;present&#8221; and &#8220;absent&#8221;. However, in many medical studies, the outcome variable may have multiple categories, such as the impact of different drugs on disease efficacy is divided into three levels:  (significantly effective),  (effective), and (ineffective). When faced with such multi-category data, how to choose an appropriate logistic model is particularly important.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch5-subsec9ordered-logistic">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.5-Subsec.8：Model Selection in Logistic Regression]]></title><description><![CDATA[Advanced Techniques for Comparing and Optimizing Clinical Prediction Models]]></description><link>https://medicaldatascience.substack.com/p/secb-ch5-subsec8model-selection-in</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch5-subsec8model-selection-in</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Tue, 26 May 2026 07:34:52 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!O_zK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c80959c-bc50-4e63-b06e-4b21204fa26f_2344x1306.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_!O_zK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c80959c-bc50-4e63-b06e-4b21204fa26f_2344x1306.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!O_zK!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c80959c-bc50-4e63-b06e-4b21204fa26f_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!O_zK!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c80959c-bc50-4e63-b06e-4b21204fa26f_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!O_zK!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c80959c-bc50-4e63-b06e-4b21204fa26f_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!O_zK!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c80959c-bc50-4e63-b06e-4b21204fa26f_2344x1306.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!O_zK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c80959c-bc50-4e63-b06e-4b21204fa26f_2344x1306.png" width="1456" height="811" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0c80959c-bc50-4e63-b06e-4b21204fa26f_2344x1306.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;:1608229,&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/198092954?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c80959c-bc50-4e63-b06e-4b21204fa26f_2344x1306.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_!O_zK!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c80959c-bc50-4e63-b06e-4b21204fa26f_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!O_zK!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c80959c-bc50-4e63-b06e-4b21204fa26f_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!O_zK!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c80959c-bc50-4e63-b06e-4b21204fa26f_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!O_zK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c80959c-bc50-4e63-b06e-4b21204fa26f_2344x1306.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>When faced with multiple logistic regression models, researchers usually need to compare the goodness of fit of the models to determine which model can better explain the data while maintaining the simplicity of the model. By analyzing different models, we can understand how to select suitable variables, decide whether to add interaction terms, and perform model comparison through various statistical methods such as Likelihood Ratio Test (LRT) and Akaike Information Criterion (AIC), and learn how to perform variable optimization.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch5-subsec8model-selection-in">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.5-Subsec.7：Building Binary Logistic Regression Models]]></title><description><![CDATA[Advanced Techniques for Building Logistic Regression Models in R]]></description><link>https://medicaldatascience.substack.com/p/secb-ch5-subsec7building-binary-logistic</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch5-subsec7building-binary-logistic</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Mon, 25 May 2026 07:20:50 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!r66P!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaac3d0d-9dd4-4b79-9004-f9014ac0de3a_2344x1306.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_!r66P!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaac3d0d-9dd4-4b79-9004-f9014ac0de3a_2344x1306.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!r66P!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaac3d0d-9dd4-4b79-9004-f9014ac0de3a_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!r66P!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaac3d0d-9dd4-4b79-9004-f9014ac0de3a_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!r66P!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaac3d0d-9dd4-4b79-9004-f9014ac0de3a_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!r66P!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaac3d0d-9dd4-4b79-9004-f9014ac0de3a_2344x1306.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!r66P!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaac3d0d-9dd4-4b79-9004-f9014ac0de3a_2344x1306.png" width="1456" height="811" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/baac3d0d-9dd4-4b79-9004-f9014ac0de3a_2344x1306.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;: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_!r66P!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaac3d0d-9dd4-4b79-9004-f9014ac0de3a_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!r66P!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaac3d0d-9dd4-4b79-9004-f9014ac0de3a_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!r66P!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaac3d0d-9dd4-4b79-9004-f9014ac0de3a_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!r66P!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaac3d0d-9dd4-4b79-9004-f9014ac0de3a_2344x1306.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 clinical research, binary outcome variables such as disease status and treatment effects are usually of interest, which have two categories, such as whether a certain treatment is effective or whether a patient is ill. The <code>glm()</code> function in R language is the main tool for building Logistic regression models. This article will introduce in detail how &#8230;</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch5-subsec7building-binary-logistic">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.5-Subsec.6：Plot Diagnostics for Linear Regression Models ]]></title><description><![CDATA[In-Depth Interpretation of Plot Diagnostics for Linear Regression Models]]></description><link>https://medicaldatascience.substack.com/p/secb-ch5-subsec6plot-diagnostics</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch5-subsec6plot-diagnostics</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Sun, 24 May 2026 07:11:49 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!rldl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feac838b0-e9b0-44d5-aa35-e70d1f268554_2344x1306.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_!rldl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feac838b0-e9b0-44d5-aa35-e70d1f268554_2344x1306.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rldl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feac838b0-e9b0-44d5-aa35-e70d1f268554_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!rldl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feac838b0-e9b0-44d5-aa35-e70d1f268554_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!rldl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feac838b0-e9b0-44d5-aa35-e70d1f268554_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!rldl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feac838b0-e9b0-44d5-aa35-e70d1f268554_2344x1306.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rldl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feac838b0-e9b0-44d5-aa35-e70d1f268554_2344x1306.png" width="1456" height="811" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/eac838b0-e9b0-44d5-aa35-e70d1f268554_2344x1306.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;:1598340,&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/198091930?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feac838b0-e9b0-44d5-aa35-e70d1f268554_2344x1306.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_!rldl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feac838b0-e9b0-44d5-aa35-e70d1f268554_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!rldl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feac838b0-e9b0-44d5-aa35-e70d1f268554_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!rldl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feac838b0-e9b0-44d5-aa35-e70d1f268554_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!rldl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feac838b0-e9b0-44d5-aa35-e70d1f268554_2344x1306.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>Plot diagnostics for linear regression models are important steps in statistical analysis and data science, which can help researchers and analysts judge the applicability of models, diagnose potential problems with models, and ensure that the model&#8217;s interpretation of data is reasonable. The assumptions of linear regression models include linear relationship, normality of residuals, homoscedasticity, and independence. After the model is established, we test whether these assumptions are satisfied by drawing various plots. If these assumptions are not satisfied, it may affect the validity of the model, leading to biased or inaccurate results. This article will introduce in detail the common plotting methods for linear regression models, combined with specific operation steps in R language, and analyze how to diagnose models through these plotting methods. It focuses on the core content of Section 6, Chapter 12, including residual plots, Q-Q plots, scale-location plots, leverage value plots, etc.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch5-subsec6plot-diagnostics">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.5-Subsec.5：Mastering Regression Model Evaluation]]></title><description><![CDATA[In-Depth Analysis of Functions Related to Regression Model Results]]></description><link>https://medicaldatascience.substack.com/p/secb-ch5-subsec5mastering-regression</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch5-subsec5mastering-regression</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Sat, 23 May 2026 07:05:52 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!HHx-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b4900b5-b429-4655-a96b-5ea28a304575_2344x1306.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_!HHx-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b4900b5-b429-4655-a96b-5ea28a304575_2344x1306.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!HHx-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b4900b5-b429-4655-a96b-5ea28a304575_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!HHx-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b4900b5-b429-4655-a96b-5ea28a304575_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!HHx-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b4900b5-b429-4655-a96b-5ea28a304575_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!HHx-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b4900b5-b429-4655-a96b-5ea28a304575_2344x1306.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!HHx-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b4900b5-b429-4655-a96b-5ea28a304575_2344x1306.png" width="1456" height="811" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8b4900b5-b429-4655-a96b-5ea28a304575_2344x1306.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;:1551481,&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/198091693?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b4900b5-b429-4655-a96b-5ea28a304575_2344x1306.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_!HHx-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b4900b5-b429-4655-a96b-5ea28a304575_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!HHx-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b4900b5-b429-4655-a96b-5ea28a304575_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!HHx-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b4900b5-b429-4655-a96b-5ea28a304575_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!HHx-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b4900b5-b429-4655-a96b-5ea28a304575_2344x1306.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>Interpreting the results of linear regression models is a crucial step in data analysis and statistical modeling. R language provides a series of functions and tools to help users evaluate and interpret models. In this article, we will explain in detail how to interpret the results of linear regression models, combine specific examples, gradually explore the meaning of each indicator, and introduce other useful R functions to support model evaluation.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch5-subsec5mastering-regression">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.5-Subsec.4：Regression Modeling Syntax in R]]></title><description><![CDATA[In-Depth Interpretation of Nine Key Symbols for Building Regression Model Expressions]]></description><link>https://medicaldatascience.substack.com/p/secb-ch5-subsec4regression-modeling</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch5-subsec4regression-modeling</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Fri, 22 May 2026 07:03:20 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!2Hde!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feef091b0-c14a-4a53-b771-ec4fd92647e4_2344x1306.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_!2Hde!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feef091b0-c14a-4a53-b771-ec4fd92647e4_2344x1306.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2Hde!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feef091b0-c14a-4a53-b771-ec4fd92647e4_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!2Hde!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feef091b0-c14a-4a53-b771-ec4fd92647e4_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!2Hde!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feef091b0-c14a-4a53-b771-ec4fd92647e4_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!2Hde!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feef091b0-c14a-4a53-b771-ec4fd92647e4_2344x1306.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2Hde!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feef091b0-c14a-4a53-b771-ec4fd92647e4_2344x1306.png" width="1456" height="811" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/eef091b0-c14a-4a53-b771-ec4fd92647e4_2344x1306.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;:1563695,&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/198091369?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feef091b0-c14a-4a53-b771-ec4fd92647e4_2344x1306.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_!2Hde!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feef091b0-c14a-4a53-b771-ec4fd92647e4_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!2Hde!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feef091b0-c14a-4a53-b771-ec4fd92647e4_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!2Hde!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feef091b0-c14a-4a53-b771-ec4fd92647e4_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!2Hde!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feef091b0-c14a-4a53-b771-ec4fd92647e4_2344x1306.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>Building regression models is a common and important task in statistics and data science. Regression model expressions usually contain various symbols, which represent different statistical concepts and calculation processes. I hope everyone reads this article carefully.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch5-subsec4regression-modeling">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.5-Subsec.3：Dummy Variables in Clinical Regression Analysis]]></title><description><![CDATA[A Practical Guide to Applications and Proper Implementation]]></description><link>https://medicaldatascience.substack.com/p/secb-ch5-subsec3dummy-variables-in</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch5-subsec3dummy-variables-in</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Thu, 21 May 2026 06:52:49 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!q2NY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae074f52-46f7-4e80-8fa7-e853ac61d142_2344x1306.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_!q2NY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae074f52-46f7-4e80-8fa7-e853ac61d142_2344x1306.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!q2NY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae074f52-46f7-4e80-8fa7-e853ac61d142_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!q2NY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae074f52-46f7-4e80-8fa7-e853ac61d142_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!q2NY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae074f52-46f7-4e80-8fa7-e853ac61d142_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!q2NY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae074f52-46f7-4e80-8fa7-e853ac61d142_2344x1306.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!q2NY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae074f52-46f7-4e80-8fa7-e853ac61d142_2344x1306.png" width="1456" height="811" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ae074f52-46f7-4e80-8fa7-e853ac61d142_2344x1306.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;:1551407,&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/198090897?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae074f52-46f7-4e80-8fa7-e853ac61d142_2344x1306.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_!q2NY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae074f52-46f7-4e80-8fa7-e853ac61d142_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!q2NY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae074f52-46f7-4e80-8fa7-e853ac61d142_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!q2NY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae074f52-46f7-4e80-8fa7-e853ac61d142_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!q2NY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae074f52-46f7-4e80-8fa7-e853ac61d142_2344x1306.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>Dummy variables are an important concept in clinical research and statistical analysis, especially when dealing with categorical variables. The introduction of dummy variables helps researchers convert categorical variables into a form suitable for regression analysis, avoiding misleading results caused by the non-numerical or unordered nature of categorical variables themselves. This article will discuss in detail the basic principles, application scenarios, and implementation in R language of dummy variables, combined with specific cases in clinical medicine.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch5-subsec3dummy-variables-in">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.5-Subsec.2：Mastering Linear Regression Modeling]]></title><description><![CDATA[Building Simple and Multiple Linear Regression Models for Clinical Data Analysis]]></description><link>https://medicaldatascience.substack.com/p/secb-ch5-subsec2mastering-linear</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch5-subsec2mastering-linear</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Wed, 20 May 2026 06:49:38 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!cTeS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1bc4add-5bf1-4fe3-a776-3e6c6ad3c054_2344x1306.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_!cTeS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1bc4add-5bf1-4fe3-a776-3e6c6ad3c054_2344x1306.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cTeS!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1bc4add-5bf1-4fe3-a776-3e6c6ad3c054_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!cTeS!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1bc4add-5bf1-4fe3-a776-3e6c6ad3c054_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!cTeS!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1bc4add-5bf1-4fe3-a776-3e6c6ad3c054_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!cTeS!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1bc4add-5bf1-4fe3-a776-3e6c6ad3c054_2344x1306.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!cTeS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1bc4add-5bf1-4fe3-a776-3e6c6ad3c054_2344x1306.png" width="1456" height="811" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d1bc4add-5bf1-4fe3-a776-3e6c6ad3c054_2344x1306.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;:1606392,&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/198089847?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1bc4add-5bf1-4fe3-a776-3e6c6ad3c054_2344x1306.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_!cTeS!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1bc4add-5bf1-4fe3-a776-3e6c6ad3c054_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!cTeS!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1bc4add-5bf1-4fe3-a776-3e6c6ad3c054_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!cTeS!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1bc4add-5bf1-4fe3-a776-3e6c6ad3c054_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!cTeS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1bc4add-5bf1-4fe3-a776-3e6c6ad3c054_2344x1306.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 will detail how to build linear regression models in R, using the birthwt dataset as an example for analysis. We will comprehensively understand how to use R for regression analysis through various steps including data preprocessing, building univariate and multivariate linear regression models, interpreting model results, and model diagnos&#8230;</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch5-subsec2mastering-linear">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Sec.B-Ch.5-Subsec.1：From Galton to Modern Medicine]]></title><description><![CDATA[A Comprehensive Guide to Historical Development and Practical Applications]]></description><link>https://medicaldatascience.substack.com/p/secb-ch5-subsec1from-galton-to-modern</link><guid isPermaLink="false">https://medicaldatascience.substack.com/p/secb-ch5-subsec1from-galton-to-modern</guid><dc:creator><![CDATA[Dr. Xie YJ]]></dc:creator><pubDate>Tue, 19 May 2026 06:32:51 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!MmRr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30758cd2-ada1-4b04-9a11-a0edd558d73f_2344x1306.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_!MmRr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30758cd2-ada1-4b04-9a11-a0edd558d73f_2344x1306.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!MmRr!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30758cd2-ada1-4b04-9a11-a0edd558d73f_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!MmRr!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30758cd2-ada1-4b04-9a11-a0edd558d73f_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!MmRr!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30758cd2-ada1-4b04-9a11-a0edd558d73f_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!MmRr!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30758cd2-ada1-4b04-9a11-a0edd558d73f_2344x1306.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!MmRr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30758cd2-ada1-4b04-9a11-a0edd558d73f_2344x1306.png" width="1456" height="811" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/30758cd2-ada1-4b04-9a11-a0edd558d73f_2344x1306.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;:1613507,&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/198089259?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30758cd2-ada1-4b04-9a11-a0edd558d73f_2344x1306.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_!MmRr!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30758cd2-ada1-4b04-9a11-a0edd558d73f_2344x1306.png 424w, https://substackcdn.com/image/fetch/$s_!MmRr!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30758cd2-ada1-4b04-9a11-a0edd558d73f_2344x1306.png 848w, https://substackcdn.com/image/fetch/$s_!MmRr!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30758cd2-ada1-4b04-9a11-a0edd558d73f_2344x1306.png 1272w, https://substackcdn.com/image/fetch/$s_!MmRr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30758cd2-ada1-4b04-9a11-a0edd558d73f_2344x1306.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 focuses on the discovery and historical development of regression analysis, and explores its applications in the medical field. Regression analysis is a very important method in statistics and data science, used to reveal relationships between variables, especially in the medical field to reveal the mechanism of action of various factors affecting health status. This article will comprehensively introduce regression analysis from the aspects of historical background, different types of regression models, and their practical applications in medicine.</p>
      <p>
          <a href="https://medicaldatascience.substack.com/p/secb-ch5-subsec1from-galton-to-modern">
              Read more
          </a>
      </p>
   ]]></content:encoded></item></channel></rss>