<?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: Add reference line on the graph created by proc glm in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Add-reference-line-on-the-graph-created-by-proc-glm/m-p/532516#M145927</link>
    <description>&lt;P&gt;I don't think such a facility is available in GLM. I think you have to pre calculate the mean values for each group and use the REFLINE Statement in PROC SGPLOT.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Feb 2019 08:37:25 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2019-02-04T08:37:25Z</dc:date>
    <item>
      <title>Add reference line on the graph created by proc glm</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Add-reference-line-on-the-graph-created-by-proc-glm/m-p/532466#M145899</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=work.data_1;
	class z;
	model y=w z;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 288px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26821i128B08CAB9ACBCF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 476px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26822i3D2DE7517AC7F94F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate if anyone could let me know how to add to the plot horizontal lines correspondent means for y in each group z.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Feb 2019 23:17:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Add-reference-line-on-the-graph-created-by-proc-glm/m-p/532466#M145899</guid>
      <dc:creator>monona</dc:creator>
      <dc:date>2019-02-03T23:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Add reference line on the graph created by proc glm</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Add-reference-line-on-the-graph-created-by-proc-glm/m-p/532516#M145927</link>
      <description>&lt;P&gt;I don't think such a facility is available in GLM. I think you have to pre calculate the mean values for each group and use the REFLINE Statement in PROC SGPLOT.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 08:37:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Add-reference-line-on-the-graph-created-by-proc-glm/m-p/532516#M145927</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-02-04T08:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Add reference line on the graph created by proc glm</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Add-reference-line-on-the-graph-created-by-proc-glm/m-p/532532#M145932</link>
      <description>&lt;P&gt;Save it as a dataset by :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output ANCOVAPlot=want;
proc glm data=sashelp.class;
class sex;
model weight =sex height;
quit;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and plot refline via PROC SGPLOT .&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 11:17:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Add-reference-line-on-the-graph-created-by-proc-glm/m-p/532532#M145932</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-02-04T11:17:11Z</dc:date>
    </item>
  </channel>
</rss>

