<?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: Checking if two points agree or disagree in data in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904391#M83147</link>
    <description>&lt;P&gt;The response is b and independent is c.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Nov 2023 15:42:45 GMT</pubDate>
    <dc:creator>desireatem</dc:creator>
    <dc:date>2023-11-23T15:42:45Z</dc:date>
    <item>
      <title>Checking if two points agree or disagree in data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904374#M83140</link>
      <description>&lt;P&gt;Hello, is there any procedure to check if two points in a data agree or disagree as below:&lt;/P&gt;
&lt;P&gt;If in a regression line between b and c, the points are within .95CI then they agree, otherwise they disagree.&lt;/P&gt;
&lt;P&gt;In a simple linear regression between b and c, not all data points will fall within two standards of the line. The points that are within two standard deviation agree, while those outside, disagree.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the DATA:&lt;/P&gt;
&lt;P&gt;Data A ;&lt;/P&gt;
&lt;P&gt;Input &amp;nbsp;b c;&lt;/P&gt;
&lt;P&gt;Cards;&lt;/P&gt;
&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;
&lt;P&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&lt;/P&gt;
&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/P&gt;
&lt;P&gt;10&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;
&lt;P&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;
&lt;P&gt;4&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;Run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;THIS IS POTENTIAL OUTPUT.&lt;/P&gt;
&lt;P&gt;Output D&lt;/P&gt;
&lt;P&gt;b&amp;nbsp;&amp;nbsp;&amp;nbsp; c&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;f&lt;/P&gt;
&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; agree&lt;/P&gt;
&lt;P&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; agree&lt;/P&gt;
&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; agree&lt;/P&gt;
&lt;P&gt;10&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; disagree&lt;/P&gt;
&lt;P&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;disagree&lt;/P&gt;
&lt;P&gt;4&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; agree&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 15:15:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904374#M83140</guid>
      <dc:creator>desireatem</dc:creator>
      <dc:date>2023-11-23T15:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if two points agree or disagree in data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904379#M83141</link>
      <description>&lt;P&gt;Please explain the logic by which you can determine "Agree" or "Disagree"&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 15:02:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904379#M83141</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-11-23T15:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if two points agree or disagree in data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904380#M83142</link>
      <description>&lt;P&gt;Hello, is there any procedure to check if two points in a data agree or disagree as below:&lt;/P&gt;
&lt;P&gt;If the point in the line between B and C is within a 95CI then the points agree otherwise they disagree.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the DATA:&lt;/P&gt;
&lt;P&gt;Data A ;&lt;/P&gt;
&lt;P&gt;Input &amp;nbsp;b c;&lt;/P&gt;
&lt;P&gt;Cards;&lt;/P&gt;
&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;
&lt;P&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&lt;/P&gt;
&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/P&gt;
&lt;P&gt;10&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;
&lt;P&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;
&lt;P&gt;4&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;Run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;THIS IS POTENTIAL OUTPUT.&lt;/P&gt;
&lt;P&gt;Output D&lt;/P&gt;
&lt;P&gt;b&amp;nbsp;&amp;nbsp;&amp;nbsp; c&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;f&lt;/P&gt;
&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; agree&lt;/P&gt;
&lt;P&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; agree&lt;/P&gt;
&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; agree&lt;/P&gt;
&lt;P&gt;10&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; disagree&lt;/P&gt;
&lt;P&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;disagree&lt;/P&gt;
&lt;P&gt;4&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; agree&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 15:06:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904380#M83142</guid>
      <dc:creator>desireatem</dc:creator>
      <dc:date>2023-11-23T15:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if two points agree or disagree in data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904381#M83143</link>
      <description>&lt;P&gt;What 95% CI? CI for what statistic? How is it computed? Where is it stored?&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the point in the line between B and C&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What point in the line?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 15:11:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904381#M83143</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-11-23T15:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if two points agree or disagree in data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904385#M83144</link>
      <description>&lt;P&gt;Hello, is there any procedure to check if two points in a data agree or disagree as below:&lt;/P&gt;
&lt;P&gt;If in a regression line between b and c, the points are within .95CI then they agree, otherwise they disagree.&lt;/P&gt;
&lt;P&gt;In a simple linear regression between b and c, not all data points will fall within two standards of the line. The points that are within two standard deviations agree, while those outside, disagree.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 15:20:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904385#M83144</guid>
      <dc:creator>desireatem</dc:creator>
      <dc:date>2023-11-23T15:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if two points agree or disagree in data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904387#M83145</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/40563"&gt;@desireatem&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello, is there any procedure to check if two points in a data agree or disagree as below:&lt;/P&gt;
&lt;P&gt;If in a regression line between b and c, the points are within .95CI then they agree, otherwise they disagree.&lt;/P&gt;
&lt;P&gt;In a simple linear regression between b and c, not all data points will fall within two standards of the line. The points that are within two standard deviations agree, while those outside, disagree.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do a regression using variables b and c, which is the response variable and which is the predictor variable?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 18:05:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904387#M83145</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-11-23T18:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if two points agree or disagree in data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904389#M83146</link>
      <description>&lt;P&gt;THe dependent variable is b and the independent variable is c&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>Thu, 23 Nov 2023 15:44:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904389#M83146</guid>
      <dc:creator>desireatem</dc:creator>
      <dc:date>2023-11-23T15:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if two points agree or disagree in data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904391#M83147</link>
      <description>&lt;P&gt;The response is b and independent is c.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 15:42:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904391#M83147</guid>
      <dc:creator>desireatem</dc:creator>
      <dc:date>2023-11-23T15:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if two points agree or disagree in data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904415#M83148</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=a;
    model b=c;
    output out=preds ucl=ucl lcl=lcl;
run;
quit;

data want;
    set preds;
    if lcl&amp;lt;=b&amp;lt;=ucl then agree=1;
    else agree=0;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Nov 2023 20:15:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904415#M83148</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-11-23T20:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if two points agree or disagree in data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904478#M83149</link>
      <description>&lt;P&gt;Thank you, this works.&amp;nbsp; It is possible to be able to change the confidence interval to limit 99% CI rather than the default 99% CI?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 16:17:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904478#M83149</guid>
      <dc:creator>desireatem</dc:creator>
      <dc:date>2023-11-24T16:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if two points agree or disagree in data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904485#M83150</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=a alpha=0.01;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Nov 2023 17:34:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Checking-if-two-points-agree-or-disagree-in-data/m-p/904485#M83150</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-11-24T17:34:43Z</dc:date>
    </item>
  </channel>
</rss>

