<?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: Lack of Fit is blank in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Lack-of-Fit-is-blank/m-p/535813#M147173</link>
    <description>&lt;P&gt;I think it's blank because the degrees of freedom attributable to lack-of-fit is zero.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to the wikipedia article &lt;A href="https://en.wikipedia.org/wiki/Lack-of-fit_sum_of_squares" target="_self"&gt;Lack-of-fit sum of squares&lt;/A&gt; the degrees of freedom for lack of fit is &lt;EM&gt;&lt;STRONG&gt;n-p&lt;/STRONG&gt;&lt;/EM&gt;, where&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;&lt;STRONG&gt;n&lt;/STRONG&gt;&lt;/EM&gt; is the number of levels of independent variables (you have 6 such levels - i.e. 6 combinations of RH and TEMP).&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;&lt;STRONG&gt;p&lt;/STRONG&gt;&lt;/EM&gt; is the number of parameters.&amp;nbsp;&amp;nbsp; I see your model allocates 5 degrees of freedom to the model.&amp;nbsp; Since rsreg shows zero df for lack-of-fit, I guess it adds 1 df for an intercept&amp;nbsp; term - yielding &lt;EM&gt;&lt;STRONG&gt;p&lt;/STRONG&gt;&lt;/EM&gt;=6.&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Fri, 15 Feb 2019 08:00:47 GMT</pubDate>
    <dc:creator>mkeintz</dc:creator>
    <dc:date>2019-02-15T08:00:47Z</dc:date>
    <item>
      <title>Lack of Fit is blank</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Lack-of-Fit-is-blank/m-p/535786#M147162</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lack of Fit.PNG" style="width: 568px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27169i1F88947A57F06C11/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lack of Fit.PNG" alt="Lack of Fit.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data d;
   input Day Temp RH;
   label Day = "Reaction Day (Hours)"
         Temp = "Temperature (Degrees Centigrade)"
         RH  = "Percent of humidity";
   datalines;
15	24	78
12	24	79
15	24	78
11	24	79
13	22	75
14	22	75
14	22	75
13	22	75
9	30	74
10	30	74
10	30	74
10	30	74
11	26	62
10	25	62
10	26	62
11	26	62





;
ods graphics on;
proc rsreg data=d plots=(ridge surface);
   model Day=RH Temp / lackfit;
   ridge max;
run;



&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Greeting All&lt;/P&gt;&lt;P&gt;I used the SAS code got blank for Lack of Fit, Is there something&amp;nbsp;wrong with the data? If I got a lack of fit significant what is the other method to get a better model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2019 02:55:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Lack-of-Fit-is-blank/m-p/535786#M147162</guid>
      <dc:creator>samer_badri75</dc:creator>
      <dc:date>2019-02-15T02:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Lack of Fit is blank</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Lack-of-Fit-is-blank/m-p/535813#M147173</link>
      <description>&lt;P&gt;I think it's blank because the degrees of freedom attributable to lack-of-fit is zero.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to the wikipedia article &lt;A href="https://en.wikipedia.org/wiki/Lack-of-fit_sum_of_squares" target="_self"&gt;Lack-of-fit sum of squares&lt;/A&gt; the degrees of freedom for lack of fit is &lt;EM&gt;&lt;STRONG&gt;n-p&lt;/STRONG&gt;&lt;/EM&gt;, where&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;&lt;STRONG&gt;n&lt;/STRONG&gt;&lt;/EM&gt; is the number of levels of independent variables (you have 6 such levels - i.e. 6 combinations of RH and TEMP).&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;&lt;STRONG&gt;p&lt;/STRONG&gt;&lt;/EM&gt; is the number of parameters.&amp;nbsp;&amp;nbsp; I see your model allocates 5 degrees of freedom to the model.&amp;nbsp; Since rsreg shows zero df for lack-of-fit, I guess it adds 1 df for an intercept&amp;nbsp; term - yielding &lt;EM&gt;&lt;STRONG&gt;p&lt;/STRONG&gt;&lt;/EM&gt;=6.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 15 Feb 2019 08:00:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Lack-of-Fit-is-blank/m-p/535813#M147173</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2019-02-15T08:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Lack of Fit is blank</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Lack-of-Fit-is-blank/m-p/535870#M147196</link>
      <description>Many thanks&lt;BR /&gt;I will try that&lt;BR /&gt;Have a great day</description>
      <pubDate>Fri, 15 Feb 2019 15:02:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Lack-of-Fit-is-blank/m-p/535870#M147196</guid>
      <dc:creator>samer_badri75</dc:creator>
      <dc:date>2019-02-15T15:02:06Z</dc:date>
    </item>
  </channel>
</rss>

