<?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: Help with Proc GLM Code in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Help-with-Proc-GLM-Code/m-p/168142#M300995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P&gt;I am getting some strange output and several of my interactions are reporting 0 degrees of freedom.&amp;nbsp; Would somebody mind reviewing my assumptions of nestedness and habitat? I think combining the nested variable with the repeating variable is the source of my errors. If you see an error in my code, would you mind pointing it out?&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;Statistician speaking up:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zero degrees of freedom always means your design does not allow you to estimate all the terms in the model. Or to put things a different way, it means that some of your interactions are completely confounded with each other, or completely confounded with main effects. Since its too late to change the design, the only thing you can do is to take some terms out of the model, and then you should wind up with all terms having positive degrees of freedom, but that does not eliminate the confounding, it only eliminates zero degrees of freedom from the model, and your effect estimates and still confounded. Sometimes the ALIASING option in PROC GLM can provide the information needed to determine what interactions are confounded with other terms in the model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words, the error may not be in your code, the error may be the design of the experiment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Feb 2014 14:15:51 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2014-02-11T14:15:51Z</dc:date>
    <item>
      <title>Help with Proc GLM Code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-with-Proc-GLM-Code/m-p/168137#M300990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to write some code but I am getting some strange results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I initiated a study where I took soil cores and I then made a number of measurements, on each core, for a variety of food web metrics.&amp;nbsp;&amp;nbsp; I took cores in three distinct desert habitats. In each habitat, I selected 6 trees, which I am treating as a plot.&amp;nbsp;&amp;nbsp; At each tree, I took 4 soil cores at two positions, relative to the tree trunk.&amp;nbsp; I took 2 cores near the trunk and two cores in the bare area in close proximity. I refer to this as position.&amp;nbsp;&amp;nbsp; I repeated this whole sampling scheme at three dates, under all the same trees (season).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My research question is "How do soil characteristics change by habitat, position, and season"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote up a bit of code, which I present below. Some assumptions that I am making is the tree is a repeating variable in the model since I took cores at the same sets of trees over the course of the study.&amp;nbsp;&amp;nbsp; Another assumption that I am making is that habitat type and position (canopy vs. bare area) are both nested in tree. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc glm;&lt;/P&gt;&lt;P&gt;class position habitat season tree;&lt;/P&gt;&lt;P&gt;model lv1-lv45= season | habitat(tree) | position(tree);&lt;/P&gt;&lt;P&gt;repeated tree;&lt;/P&gt;&lt;P&gt;lsmeans season | habitat | position/pdiff;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to partition my results into the following in the ANOVA output:&lt;/P&gt;&lt;P&gt;Position&lt;/P&gt;&lt;P&gt;Habitat&lt;/P&gt;&lt;P&gt;Season&lt;/P&gt;&lt;P&gt;Position* Habitat&lt;/P&gt;&lt;P&gt;Position*Season&lt;/P&gt;&lt;P&gt;Habitat*Season&lt;/P&gt;&lt;P&gt;Position* Habitat*Season&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting some strange output and several of my interactions are reporting 0 degrees of freedom.&amp;nbsp; Would somebody mind reviewing my assumptions of nestedness and habitat? I think combining the nested variable with the repeating variable is the source of my errors. If you see an error in my code, would you mind pointing it out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karl &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Feb 2014 05:12:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-with-Proc-GLM-Code/m-p/168137#M300990</guid>
      <dc:creator>kawyant</dc:creator>
      <dc:date>2014-02-09T05:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Proc GLM Code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-with-Proc-GLM-Code/m-p/168138#M300991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't answer your question, but I have a question.&amp;nbsp; Does the data set output by the following program model the data from your experiment?&amp;nbsp; Number of obs, factor, levels, etc.&lt;/P&gt;&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;plan&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;ordered&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;factor&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; habitat=&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;3&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tree=&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;6&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; position=&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;2&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sample=&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;2&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; season=&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;3&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / noprint;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;output&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;=plan;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; plan;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; plan;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; y=rannor(&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;); &lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #ffffff;"&gt;*one of your core measurements;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;print&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt; &lt;/DIV&gt;&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt; &lt;/DIV&gt;&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Feb 2014 13:07:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-with-Proc-GLM-Code/m-p/168138#M300991</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2014-02-09T13:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Proc GLM Code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-with-Proc-GLM-Code/m-p/168139#M300992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear data_null_;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for taking the time to review my post and write a response, I really appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran the code you provide the factor # and observations match between the proc GLM and proc Plan, as you asked about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I explain below:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The GLM Procedure&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Class Level Information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Class&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Levels&amp;nbsp;&amp;nbsp;&amp;nbsp; Values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; position&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; habitat&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 2 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; season&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 2 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tree&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Number of Observations Read&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 216&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Number of Observations Used&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 216&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Proc Plan Procedure&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;# of Obs. - 216&lt;/P&gt;&lt;P&gt;Factors for Season - 3&lt;/P&gt;&lt;P&gt;Factors for Habitat - 3&lt;/P&gt;&lt;P&gt;Factors for Tree - 6 (6 trees in each habitat)&lt;/P&gt;&lt;P&gt;Factor for Position - 2&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this answers your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Feb 2014 19:00:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-with-Proc-GLM-Code/m-p/168139#M300992</guid>
      <dc:creator>kawyant</dc:creator>
      <dc:date>2014-02-09T19:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Proc GLM Code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-with-Proc-GLM-Code/m-p/168140#M300993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bump: 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While I think you should have consulted a statistician before conducting your experiment so you would know the answer to these questions and not have to seek advice here I still don't know why all of the statisticians have been silent on this topic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the forum really make that much difference?&amp;nbsp; I usually just look at the most recient content but then I read the forum "every" day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: data _null_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 22:35:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-with-Proc-GLM-Code/m-p/168140#M300993</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2014-02-10T22:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Proc GLM Code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-with-Proc-GLM-Code/m-p/168141#M300994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because its not in the Statistics Forum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 23:00:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-with-Proc-GLM-Code/m-p/168141#M300994</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-02-10T23:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Proc GLM Code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-with-Proc-GLM-Code/m-p/168142#M300995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P&gt;I am getting some strange output and several of my interactions are reporting 0 degrees of freedom.&amp;nbsp; Would somebody mind reviewing my assumptions of nestedness and habitat? I think combining the nested variable with the repeating variable is the source of my errors. If you see an error in my code, would you mind pointing it out?&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;Statistician speaking up:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zero degrees of freedom always means your design does not allow you to estimate all the terms in the model. Or to put things a different way, it means that some of your interactions are completely confounded with each other, or completely confounded with main effects. Since its too late to change the design, the only thing you can do is to take some terms out of the model, and then you should wind up with all terms having positive degrees of freedom, but that does not eliminate the confounding, it only eliminates zero degrees of freedom from the model, and your effect estimates and still confounded. Sometimes the ALIASING option in PROC GLM can provide the information needed to determine what interactions are confounded with other terms in the model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words, the error may not be in your code, the error may be the design of the experiment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 14:15:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-with-Proc-GLM-Code/m-p/168142#M300995</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2014-02-11T14:15:51Z</dc:date>
    </item>
  </channel>
</rss>

