<?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 Prediction Ellipse Function in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Prediction-Ellipse-Function/m-p/933521#M367145</link>
    <description>&lt;P&gt;Hi users and members, is it possible to get the function of a prediction ellipse or at least the length, height and centre? If yes, then how do i add this to my code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* 95% prediction ellipse */&lt;BR /&gt;proc sgplot data=combined_values;&lt;BR /&gt;scatter x=new_x y=new_y / markerattrs=(symbol=circlefilled);&lt;BR /&gt;ellipse x=new_x y=new_y / alpha=0.05 lineattrs=(thickness=2 color=red) type=prediction;&lt;BR /&gt;title "diagram";&lt;BR /&gt;xaxis label="x-Werte" min=0 max=&amp;amp;max_val;&lt;BR /&gt;yaxis label="y-Werte" min=0 max=&amp;amp;max_val;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your help!&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jun 2024 07:30:48 GMT</pubDate>
    <dc:creator>SAS_Timber</dc:creator>
    <dc:date>2024-06-24T07:30:48Z</dc:date>
    <item>
      <title>Prediction Ellipse Function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Prediction-Ellipse-Function/m-p/933521#M367145</link>
      <description>&lt;P&gt;Hi users and members, is it possible to get the function of a prediction ellipse or at least the length, height and centre? If yes, then how do i add this to my code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* 95% prediction ellipse */&lt;BR /&gt;proc sgplot data=combined_values;&lt;BR /&gt;scatter x=new_x y=new_y / markerattrs=(symbol=circlefilled);&lt;BR /&gt;ellipse x=new_x y=new_y / alpha=0.05 lineattrs=(thickness=2 color=red) type=prediction;&lt;BR /&gt;title "diagram";&lt;BR /&gt;xaxis label="x-Werte" min=0 max=&amp;amp;max_val;&lt;BR /&gt;yaxis label="y-Werte" min=0 max=&amp;amp;max_val;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 07:30:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Prediction-Ellipse-Function/m-p/933521#M367145</guid>
      <dc:creator>SAS_Timber</dc:creator>
      <dc:date>2024-06-24T07:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Prediction Ellipse Function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Prediction-Ellipse-Function/m-p/933526#M367147</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt; has the answer!&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2014/07/23/prediction-ellipses-from-covariance.html" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/iml/2014/07/23/prediction-ellipses-from-covariance.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why do you need this prediction formula, what would you do with it if you had it? If you want to determine if additional points (not the ones used to create the ellipse) are within the ellipse, you can just add these additional points to the plot. Example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data additional;
    height1=60; weight1=80; output;
    height1=70; weight1=95; output;
    height1=80; weight1=50; output;
run;

data class;
    set sashelp.class additional;
run;

proc sgplot data=class;
scatter x=height y=weight / markerattrs=(symbol=circlefilled);
ellipse x=height y=weight / alpha=0.05 lineattrs=(thickness=2 color=red) type=predicted;
scatter x=height1 y=weight1 / markerattrs=(symbol=plus);
run;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 Jun 2024 12:07:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Prediction-Ellipse-Function/m-p/933526#M367147</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-06-24T12:07:55Z</dc:date>
    </item>
  </channel>
</rss>

