<?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: SAS code for lack-of-fit test in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-code-for-lack-of-fit-test/m-p/697790#M213317</link>
    <description>&lt;P&gt;Try PROC ANOVA&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc ANOVA data = Question4 ;

Class YP;

Model YP = TP ;

Run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/356327"&gt;@Chrisng2603&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Hi guys, I'm working on a simple lack-of-fit problem and I need an Anova table for some essential quantities like MSE and SSE, here is my code&lt;/P&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;data Question4; /* Question 4 lack-of-fit */&lt;BR /&gt;input TP YP; /* Variables: TP = Temperature(X), YP = Yield of process(Y) */&lt;BR /&gt;cards;&lt;BR /&gt;50 122&lt;BR /&gt;50 118&lt;BR /&gt;55 128&lt;BR /&gt;55 126&lt;BR /&gt;55 125&lt;BR /&gt;60 136&lt;BR /&gt;60 140&lt;BR /&gt;65 142&lt;BR /&gt;65 145&lt;BR /&gt;70 161&lt;BR /&gt;70 165&lt;BR /&gt;75 174&lt;BR /&gt;run;&lt;/P&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;proc reg;&lt;BR /&gt;model YP = TP / lackfit;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;The problem is the code was giving me an empty Anova table with no values of MSE or SSE available, can anyone please help me out with this problem? I also try to input the same data into R to see whether the problem is the same, but R works out really well. However, I was specifically asked to use SAS to solve this problem. Thank you&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Nov 2020 03:24:36 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2020-11-10T03:24:36Z</dc:date>
    <item>
      <title>SAS code for lack-of-fit test</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-code-for-lack-of-fit-test/m-p/697776#M213309</link>
      <description>&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Hi guys, I'm working on a simple lack-of-fit problem and I need an Anova table for some essential quantities like MSE and SSE, here is my code&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;data Question4; /* Question 4 lack-of-fit */&lt;BR /&gt;input TP YP; /* Variables: TP = Temperature(X), YP = Yield of process(Y) */&lt;BR /&gt;cards;&lt;BR /&gt;50 122&lt;BR /&gt;50 118&lt;BR /&gt;55 128&lt;BR /&gt;55 126&lt;BR /&gt;55 125&lt;BR /&gt;60 136&lt;BR /&gt;60 140&lt;BR /&gt;65 142&lt;BR /&gt;65 145&lt;BR /&gt;70 161&lt;BR /&gt;70 165&lt;BR /&gt;75 174&lt;BR /&gt;run;&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;proc reg;&lt;BR /&gt;model YP = TP / lackfit;&lt;BR /&gt;run;&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;The problem is the code was giving me an empty Anova table with no values of MSE or SSE available, can anyone please help me out with this problem? I also try to input the same data into R to see whether the problem is the same, but R works out really well. However, I was specifically asked to use SAS to solve this problem. Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 00:06:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-code-for-lack-of-fit-test/m-p/697776#M213309</guid>
      <dc:creator>Chrisng2603</dc:creator>
      <dc:date>2020-11-10T00:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS code for lack-of-fit test</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-code-for-lack-of-fit-test/m-p/697790#M213317</link>
      <description>&lt;P&gt;Try PROC ANOVA&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc ANOVA data = Question4 ;

Class YP;

Model YP = TP ;

Run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/356327"&gt;@Chrisng2603&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Hi guys, I'm working on a simple lack-of-fit problem and I need an Anova table for some essential quantities like MSE and SSE, here is my code&lt;/P&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;data Question4; /* Question 4 lack-of-fit */&lt;BR /&gt;input TP YP; /* Variables: TP = Temperature(X), YP = Yield of process(Y) */&lt;BR /&gt;cards;&lt;BR /&gt;50 122&lt;BR /&gt;50 118&lt;BR /&gt;55 128&lt;BR /&gt;55 126&lt;BR /&gt;55 125&lt;BR /&gt;60 136&lt;BR /&gt;60 140&lt;BR /&gt;65 142&lt;BR /&gt;65 145&lt;BR /&gt;70 161&lt;BR /&gt;70 165&lt;BR /&gt;75 174&lt;BR /&gt;run;&lt;/P&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;proc reg;&lt;BR /&gt;model YP = TP / lackfit;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;The problem is the code was giving me an empty Anova table with no values of MSE or SSE available, can anyone please help me out with this problem? I also try to input the same data into R to see whether the problem is the same, but R works out really well. However, I was specifically asked to use SAS to solve this problem. Thank you&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 03:24:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-code-for-lack-of-fit-test/m-p/697790#M213317</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-11-10T03:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS code for lack-of-fit test</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-code-for-lack-of-fit-test/m-p/697858#M213352</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;The problem is the code was giving me an empty Anova table with no values of MSE or SSE available, can anyone please help me out with this problem?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I run the code and I get what seems to be valid answers. Please put a &lt;FONT face="courier new,courier"&gt;quit;&lt;/FONT&gt; statement after the &lt;FONT face="courier new,courier"&gt;run;&lt;/FONT&gt; statement and try it again.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 11:43:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-code-for-lack-of-fit-test/m-p/697858#M213352</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-11-10T11:43:31Z</dc:date>
    </item>
  </channel>
</rss>

