<?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 Pointed model on Regression - sgplot in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Pointed-model-on-Regression-sgplot/m-p/530851#M145191</link>
    <description>&lt;P&gt;Hi community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a 3 columns of patient details&lt;/P&gt;&lt;P&gt;Weight-height-ratio (WHR) , Age, sex.&lt;/P&gt;&lt;P&gt;I want to visualize an image like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Reg1.png" style="width: 445px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26649i7DEDCCEE55E3580C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Reg1.png" alt="Reg1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But I get visualization like:&lt;/P&gt;&lt;P&gt;I given the code below&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="Untitled.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26652iC7B65BD459E4101B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data = reg_55k;&lt;BR /&gt;styleattrs datacontrastcolors = (red blue);&lt;BR /&gt;scatter x = ageonset y = whr / group = sex;&lt;BR /&gt;reg x = ageonset y = whr / group = sex clm clmattrs = (clmfillattrs = (color = lightgrey));&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please kindly guide me to get the exact format like the first visualization.&lt;/P&gt;&lt;P&gt;I also attach the dataset in this post.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jan 2019 07:18:16 GMT</pubDate>
    <dc:creator>Sathish_jammy</dc:creator>
    <dc:date>2019-01-29T07:18:16Z</dc:date>
    <item>
      <title>Pointed model on Regression - sgplot</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pointed-model-on-Regression-sgplot/m-p/530851#M145191</link>
      <description>&lt;P&gt;Hi community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a 3 columns of patient details&lt;/P&gt;&lt;P&gt;Weight-height-ratio (WHR) , Age, sex.&lt;/P&gt;&lt;P&gt;I want to visualize an image like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Reg1.png" style="width: 445px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26649i7DEDCCEE55E3580C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Reg1.png" alt="Reg1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But I get visualization like:&lt;/P&gt;&lt;P&gt;I given the code below&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="Untitled.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26652iC7B65BD459E4101B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data = reg_55k;&lt;BR /&gt;styleattrs datacontrastcolors = (red blue);&lt;BR /&gt;scatter x = ageonset y = whr / group = sex;&lt;BR /&gt;reg x = ageonset y = whr / group = sex clm clmattrs = (clmfillattrs = (color = lightgrey));&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please kindly guide me to get the exact format like the first visualization.&lt;/P&gt;&lt;P&gt;I also attach the dataset in this post.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 07:18:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pointed-model-on-Regression-sgplot/m-p/530851#M145191</guid>
      <dc:creator>Sathish_jammy</dc:creator>
      <dc:date>2019-01-29T07:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pointed model on Regression - sgplot</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pointed-model-on-Regression-sgplot/m-p/530857#M145193</link>
      <description>&lt;P&gt;Can't see your example data. but what you want is likely something like this without the scatter 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.class;
   reg x=height y=weight / group=sex clm nomarker;
   yaxis min=30 max=200;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Jan 2019 08:01:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pointed-model-on-Regression-sgplot/m-p/530857#M145193</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-01-29T08:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Pointed model on Regression - sgplot</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pointed-model-on-Regression-sgplot/m-p/530861#M145195</link>
      <description>&lt;P&gt;Thank you that worked out very nicely.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How could I implement the 95% interval in this, I tried like (cli clm)&lt;/P&gt;&lt;P&gt;Please gothrough the first image - it have 0.95 intreval values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I tried : PArtial output occurs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=reg_55k;&lt;BR /&gt;reg x=ageonset y=whr_ / group=sex clm cli nomarker;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 08:56:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pointed-model-on-Regression-sgplot/m-p/530861#M145195</guid>
      <dc:creator>Sathish_jammy</dc:creator>
      <dc:date>2019-01-29T08:56:11Z</dc:date>
    </item>
  </channel>
</rss>

