<?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 PROC REG ODS Graphics Reference Line in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-REG-ODS-Graphics-Reference-Line/m-p/266042#M14017</link>
    <description>&lt;P&gt;I'm using PROC REG in SAS 9.4 with the default ODS Graphics.&amp;nbsp; What's the easiest way to add a reference line to the fit plot?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Apr 2016 14:22:25 GMT</pubDate>
    <dc:creator>mcs</dc:creator>
    <dc:date>2016-04-25T14:22:25Z</dc:date>
    <item>
      <title>PROC REG ODS Graphics Reference Line</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-REG-ODS-Graphics-Reference-Line/m-p/266042#M14017</link>
      <description>&lt;P&gt;I'm using PROC REG in SAS 9.4 with the default ODS Graphics.&amp;nbsp; What's the easiest way to add a reference line to the fit plot?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 14:22:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-REG-ODS-Graphics-Reference-Line/m-p/266042#M14017</guid>
      <dc:creator>mcs</dc:creator>
      <dc:date>2016-04-25T14:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REG ODS Graphics Reference Line</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-REG-ODS-Graphics-Reference-Line/m-p/266120#M14021</link>
      <description>&lt;P&gt;1. If you only need to do this one time, &lt;A href="http://blogs.sas.com/content/iml/2012/08/06/change-a-plot-title-by-using-the-ods-graphics-editor.html" target="_self"&gt;use the ODS Graphics Editor to add the reference line.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. If you&amp;nbsp;have only one explanatory variable, you can use the REG statement in SGPLOT and bypass the REG procedure altogether:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.class;
reg y=weight x=height;
refline 100 / axis=y;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;3. If you need to do this every time you run the analysis, then &lt;A href="http://blogs.sas.com/content/iml/2012/08/01/data-fro-ods-graphics.html" target="_self"&gt;use the ODS OUTPUT statement to save the data to a SAS data set&lt;/A&gt;, and then use PROC SGPLOT to reconstruct the graph. You can use the REFLINE statement to add reference lines.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 17:14:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-REG-ODS-Graphics-Reference-Line/m-p/266120#M14021</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-04-25T17:14:02Z</dc:date>
    </item>
  </channel>
</rss>

