<?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 Re: Graph in linear regression model in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Graph-in-linear-regression-model/m-p/742263#M232143</link>
    <description>The graph represent a two-piecewise linear regression model. This is the link to the article&lt;BR /&gt;&lt;A href="https://pubmed.ncbi.nlm.nih.gov/32411758/" target="_blank"&gt;https://pubmed.ncbi.nlm.nih.gov/32411758/&lt;/A&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 18 May 2021 18:48:10 GMT</pubDate>
    <dc:creator>CathyVI</dc:creator>
    <dc:date>2021-05-18T18:48:10Z</dc:date>
    <item>
      <title>Graph in linear regression model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Graph-in-linear-regression-model/m-p/742254#M232138</link>
      <description>&lt;P&gt;I will like to replicate this graph and knowing the types of code to use. Most importantly, I will like to know which sas code will produce the darker line under the mean telomere length.&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-1621360761840.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59564i762769231B3FD71A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adewumi_0-1621360761840.png" alt="Adewumi_0-1621360761840.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 18:01:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Graph-in-linear-regression-model/m-p/742254#M232138</guid>
      <dc:creator>CathyVI</dc:creator>
      <dc:date>2021-05-18T18:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Graph in linear regression model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Graph-in-linear-regression-model/m-p/742261#M232141</link>
      <description>&lt;P&gt;What does the graph represent?&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 18:29:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Graph-in-linear-regression-model/m-p/742261#M232141</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2021-05-18T18:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Graph in linear regression model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Graph-in-linear-regression-model/m-p/742263#M232143</link>
      <description>The graph represent a two-piecewise linear regression model. This is the link to the article&lt;BR /&gt;&lt;A href="https://pubmed.ncbi.nlm.nih.gov/32411758/" target="_blank"&gt;https://pubmed.ncbi.nlm.nih.gov/32411758/&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 May 2021 18:48:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Graph-in-linear-regression-model/m-p/742263#M232143</guid>
      <dc:creator>CathyVI</dc:creator>
      <dc:date>2021-05-18T18:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Graph in linear regression model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Graph-in-linear-regression-model/m-p/742274#M232147</link>
      <description>&lt;P&gt;SGPLOT with SERIES statements for the lines and a NEEDLE statement for the spikes at the bottom.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a good intro tutorial.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings10/154-2010.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings10/154-2010.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure if you want the needles on the same axis or a different axis, so I'm including an example with it on a secondary axis. If you don't want it on a secondary axis remove anything related to the Y2AXIS statements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.stocks;
where stock = "IBM";
series x=date y=high;
series x=date y=low;
needle x=date y=volume / y2axis;
y2axis values=(0 to 100000000 by 10000000);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/253321"&gt;@CathyVI&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I will like to replicate this graph and knowing the types of code to use. Most importantly, I will like to know which sas code will produce the darker line under the mean telomere length.&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-1621360761840.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59564i762769231B3FD71A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adewumi_0-1621360761840.png" alt="Adewumi_0-1621360761840.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 20:18:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Graph-in-linear-regression-model/m-p/742274#M232147</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-18T20:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Graph in linear regression model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Graph-in-linear-regression-model/m-p/742389#M232216</link>
      <description>&lt;P&gt;Using FRINGE statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.cars;
loess x=MPG_Highway y=Wheelbase /clm ;
fringe MPG_Highway;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 May 2021 12:30:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Graph-in-linear-regression-model/m-p/742389#M232216</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-05-19T12:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Graph in linear regression model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Graph-in-linear-regression-model/m-p/742436#M232244</link>
      <description>&lt;P&gt;The "heavy line" at the bottom of the graph is referred to as a FRINGEPLOT and is on of the plot statements in the SAS Graph Template Language. A NEEDLE plot with appropriate data can also make something like that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have the full document that link references? If you are looking for code to do the same regression then we need to know the exact regression they did and possibly even code used as there are lots of options for regressions and guessing won't help you much.&lt;/P&gt;
&lt;P&gt;The full paper might even include how the graph was made.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first step would be getting the data needed for the plot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 15:11:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Graph-in-linear-regression-model/m-p/742436#M232244</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-19T15:11:33Z</dc:date>
    </item>
  </channel>
</rss>

