<?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: Linear and quadratic fits relative to the 1:1 line in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Linear-and-quadratic-fits-relative-to-the-1-1-line/m-p/881004#M43589</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=have;
    reg y=y x=x/degree=1;
    reg y=y x=x/degree=2;
    lineparm x=0 y=0 slope=1;
    scatter y=y x=x/markerattrs=(symbol=circle) group=forest_type;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 15 Jun 2023 19:33:06 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2023-06-15T19:33:06Z</dc:date>
    <item>
      <title>Linear and quadratic fits relative to the 1:1 line</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Linear-and-quadratic-fits-relative-to-the-1-1-line/m-p/881001#M43588</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to fit some variables through regression (temperatures (X&amp;amp;Y) and plots with various vegetation types, groups), but I want my output to look like the graph attached from Beeles et al., 2021, particularly the fit relative to the line 1:1 line. The code I am using is:&lt;/P&gt;
&lt;P&gt;proc transreg data=work.import ss2 plots=fit(nocli noclm);&lt;BR /&gt;ods output coef=coef;&lt;BR /&gt;model identity(Y)=class(Forest_Type / zero=none) | identity(X);&lt;BR /&gt;run;&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="Fit 1 1 line.jpg" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85035i5206416269CA5C42/image-size/large?v=v2&amp;amp;px=999" role="button" title="Fit 1 1 line.jpg" alt="Fit 1 1 line.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 19:06:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Linear-and-quadratic-fits-relative-to-the-1-1-line/m-p/881001#M43588</guid>
      <dc:creator>Joa14</dc:creator>
      <dc:date>2023-06-15T19:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Linear and quadratic fits relative to the 1:1 line</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Linear-and-quadratic-fits-relative-to-the-1-1-line/m-p/881004#M43589</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=have;
    reg y=y x=x/degree=1;
    reg y=y x=x/degree=2;
    lineparm x=0 y=0 slope=1;
    scatter y=y x=x/markerattrs=(symbol=circle) group=forest_type;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Jun 2023 19:33:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Linear-and-quadratic-fits-relative-to-the-1-1-line/m-p/881004#M43589</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-06-15T19:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Linear and quadratic fits relative to the 1:1 line</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Linear-and-quadratic-fits-relative-to-the-1-1-line/m-p/881483#M43607</link>
      <description>&lt;P&gt;Thank you PaigeMiller.&lt;/P&gt;
&lt;P&gt;I tried your code but it is not working &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The resulting graph is this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fit 1 1 line_Suggested-codeb.jpg" style="width: 668px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85162iCB16ADBA944A6EEB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Fit 1 1 line_Suggested-codeb.jpg" alt="Fit 1 1 line_Suggested-codeb.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is the data I am working with. Thanks for your insights.&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 144pt;" border="0" width="192" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 29.25pt;"&gt;
&lt;TD width="64" height="39" class="xl64" style="height: 29.25pt; width: 48pt;"&gt;Forest_Type&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="width: 48pt;"&gt;X&lt;/TD&gt;
&lt;TD width="64" class="xl65" style="width: 48pt;"&gt;Y&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;CO&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;16.8&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;16.8&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;CO&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;16&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;16.5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;CO&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;16.5&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;16.9&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;CO&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;17&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;17.5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;CO&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;18.2&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;18.2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;CO&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;17.8&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;17.9&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;OP&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;17.9&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;18.1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;OP&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;17.9&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;16.7&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;OP&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;13.9&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;14.9&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;OP&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;16.7&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;16.2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;OP&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;17.8&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;17.8&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;OP&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;17&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;17.9&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;OP&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;17.2&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;16.8&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;OP&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;17.5&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;17.2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;OP&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;17.9&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;16.7&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;PO&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;15.9&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;15.8&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;PO&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;14.4&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;13.4&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;PO&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;17.6&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;17.6&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;PO&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;15.2&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;15.8&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;PO&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;15.8&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;19.3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;PO&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;16&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;16&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;PO&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;16.1&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;16&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;PP&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;16.4&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;15.6&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;PP&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;16.4&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;17.1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;PP&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;16.9&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;16.6&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;PP&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;15.2&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;15.9&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;PP&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;16.6&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;16.4&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;SO&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;13.8&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;14.4&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;SO&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;14.9&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;14.6&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;SO&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;15.9&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;15.6&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl67" style="height: 15.75pt; width: 48pt;"&gt;SO&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;15.8&lt;/TD&gt;
&lt;TD width="64" class="xl68" style="width: 48pt;"&gt;19&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Tue, 20 Jun 2023 01:10:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Linear-and-quadratic-fits-relative-to-the-1-1-line/m-p/881483#M43607</guid>
      <dc:creator>Joa14</dc:creator>
      <dc:date>2023-06-20T01:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Linear and quadratic fits relative to the 1:1 line</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Linear-and-quadratic-fits-relative-to-the-1-1-line/m-p/881486#M43608</link>
      <description>&lt;P&gt;The lineparm x=0 y=0 slope=1; statement is the culprit. Since the picture of your data looked like it went to the origin, that is the way &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;coded it. Your actual data has minimums around 13.4 and 13.8 so, change that lineparm line to&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;lineparm x=13 y=13 slope=1;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or something similar to that. Just specify your minimum value for the x and y axes. Actually, the axes will default to the data as long as you enter values on the lineparm line that are within the data range.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanO_0-1687224396600.png" style="width: 539px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85163i849F4D079BC52ABC/image-dimensions/539x399?v=v2" width="539" height="399" role="button" title="DanO_0-1687224396600.png" alt="DanO_0-1687224396600.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 01:41:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Linear-and-quadratic-fits-relative-to-the-1-1-line/m-p/881486#M43608</guid>
      <dc:creator>DanObermiller</dc:creator>
      <dc:date>2023-06-20T01:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Linear and quadratic fits relative to the 1:1 line</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Linear-and-quadratic-fits-relative-to-the-1-1-line/m-p/881514#M43609</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/296901"&gt;@Joa14&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you PaigeMiller.&lt;/P&gt;
&lt;P&gt;I tried your code but it is not working &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The resulting graph is this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fit 1 1 line_Suggested-codeb.jpg" style="width: 668px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85162iCB16ADBA944A6EEB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Fit 1 1 line_Suggested-codeb.jpg" alt="Fit 1 1 line_Suggested-codeb.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What about this is not working? You should explain instead of simply saying "not working" and providing no additional explanation. The plots looks to me to be correct.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 11:02:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Linear-and-quadratic-fits-relative-to-the-1-1-line/m-p/881514#M43609</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-06-20T11:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Linear and quadratic fits relative to the 1:1 line</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Linear-and-quadratic-fits-relative-to-the-1-1-line/m-p/881540#M43610</link>
      <description>&lt;P&gt;The modification is even easier than Dan's suggestion: Just add the CLIP option to the LINEPARM statement:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;lineparm x=0 y=0 slope=1 / clip;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 13:26:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Linear-and-quadratic-fits-relative-to-the-1-1-line/m-p/881540#M43610</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2023-06-20T13:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Linear and quadratic fits relative to the 1:1 line</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Linear-and-quadratic-fits-relative-to-the-1-1-line/m-p/881552#M43611</link>
      <description>&lt;P&gt;What about this code is not working for you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
input Forest_Type $	X Y;
datalines;
CO 16.8 16.8
CO 16 16.5
CO 16.5 16.9
CO 17 17.5
CO 18.2 18.2
CO 17.8 17.9
OP 17.9 18.1
OP 17.9 16.7
OP 13.9 14.9
OP 16.7 16.2
OP 17.8 17.8
OP 17 17.9
OP 17.2 16.8
OP 17.5 17.2
OP 17.9 16.7
PO 15.9 15.8
PO 14.4 13.4
PO 17.6 17.6
PO 15.2 15.8
PO 15.8 19.3
PO 16 16
PO 16.1 16
PP 16.4 15.6
PP 16.4 17.1
PP 16.9 16.6
PP 15.2 15.9
PP 16.6 16.4
SO 13.8 14.4
SO 14.9 14.6
SO 15.9 15.6
SO 15.8 19
;
run;

proc sgplot data=test;
   scatter x=x y=y / group=forest_type;
   reg x=x y=y / degree=1;
   reg x=x y=y / degree=2;
   lineparm x=0 y=0 slope=1 / clip;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Here is the graph produced by this code:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StatsMan_0-1687274685435.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85173i5EDE15AD24058DB8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StatsMan_0-1687274685435.png" alt="StatsMan_0-1687274685435.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 15:25:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Linear-and-quadratic-fits-relative-to-the-1-1-line/m-p/881552#M43611</guid>
      <dc:creator>StatsMan</dc:creator>
      <dc:date>2023-06-20T15:25:00Z</dc:date>
    </item>
  </channel>
</rss>

