<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic how to replicate  two-piecewise linear regression graph in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-replicate-two-piecewise-linear-regression-graph/m-p/740668#M36002</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to replicate this graph. This is from a study&amp;nbsp;&lt;A href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7214907/" target="_blank"&gt;https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7214907/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is a&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;two-piecewise linear regression model. I will like to know the sas code which can be used to replicate this graph.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adewumi_0-1620779302227.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59246iB1C4D3441698E67E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adewumi_0-1620779302227.png" alt="Adewumi_0-1620779302227.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 May 2021 00:38:08 GMT</pubDate>
    <dc:creator>CathyVI</dc:creator>
    <dc:date>2021-05-12T00:38:08Z</dc:date>
    <item>
      <title>how to replicate  two-piecewise linear regression graph</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-replicate-two-piecewise-linear-regression-graph/m-p/740668#M36002</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to replicate this graph. This is from a study&amp;nbsp;&lt;A href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7214907/" target="_blank"&gt;https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7214907/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is a&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;two-piecewise linear regression model. I will like to know the sas code which can be used to replicate this graph.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adewumi_0-1620779302227.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59246iB1C4D3441698E67E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adewumi_0-1620779302227.png" alt="Adewumi_0-1620779302227.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 00:38:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-replicate-two-piecewise-linear-regression-graph/m-p/740668#M36002</guid>
      <dc:creator>CathyVI</dc:creator>
      <dc:date>2021-05-12T00:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to replicate  two-piecewise linear regression graph</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-replicate-two-piecewise-linear-regression-graph/m-p/740698#M36003</link>
      <description>&lt;P&gt;Look at proc transreg.&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 01:33:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-replicate-two-piecewise-linear-regression-graph/m-p/740698#M36003</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2021-05-12T01:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to replicate  two-piecewise linear regression graph</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-replicate-two-piecewise-linear-regression-graph/m-p/740774#M36004</link>
      <description>&lt;P&gt;Calling&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 12:08:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-replicate-two-piecewise-linear-regression-graph/m-p/740774#M36004</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-05-12T12:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to replicate  two-piecewise linear regression graph</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-replicate-two-piecewise-linear-regression-graph/m-p/740776#M36005</link>
      <description>&lt;PRE&gt;proc sgplot data=sashelp.heart(obs=1000);
loess x=weight y=height/clm nomarkers;
run;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPlot4.png" style="width: 640px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59269iCBA4F681ED042ED2/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGPlot4.png" alt="SGPlot4.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 12:14:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-replicate-two-piecewise-linear-regression-graph/m-p/740776#M36005</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-05-12T12:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to replicate  two-piecewise linear regression graph</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-replicate-two-piecewise-linear-regression-graph/m-p/740781#M36006</link>
      <description>&lt;P&gt;See the article &lt;A href="https://blogs.sas.com/content/iml/2017/04/05/nonsmooth-models-spline-effects.html" target="_self"&gt;"Piecewise regression models and spline effects"&lt;/A&gt; for a discussion, example, and code.&amp;nbsp; The example uses PROC GLIMMIX, but also includes a reference to the PROC TRANSREG documentation, which contains a second example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The example assumes that the two pieces of the model both have the same form (for example, linear or quadratic). If you want to mix-and-match models on separate domains, you can &lt;A href="https://blogs.sas.com/content/iml/2020/12/14/segmented-regression-sas.html" target="_self"&gt;use PROC NLIN to construct a segmented regression model.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 12:39:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-replicate-two-piecewise-linear-regression-graph/m-p/740781#M36006</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-05-12T12:39:50Z</dc:date>
    </item>
  </channel>
</rss>

