<?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: Correct Degrees of Freedom? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Correct-Degrees-of-Freedom/m-p/656028#M84502</link>
    <description>&lt;P&gt;Yes, that makes sense! Thank you for your help!&lt;/P&gt;&lt;P&gt;Jen&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jul 2023 14:51:17 GMT</pubDate>
    <dc:creator>JenniferB</dc:creator>
    <dc:date>2023-07-06T14:51:17Z</dc:date>
    <item>
      <title>Correct Degrees of Freedom?</title>
      <link>https://community.jmp.com/t5/Discussions/Correct-Degrees-of-Freedom/m-p/655679#M84469</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am using the fit model function to model a continuous variable with 6 different categorical effects. However the DF listed for the model is given as 8 instead of 6 and the parameter estimates is breaking two of these categorical variables into two categories each. Why are these two variables being broken up into two categories? Are the degrees of freedom correct? I have include photos of the fit model screen and the parameter estimates screen. Thank you!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fit Model Screen.JPG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54403i98EA0EADB2502835/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fit Model Screen.JPG" alt="Fit Model Screen.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Parameter Esimtates and DF.JPG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54404iE22D9E658355B782/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Parameter Esimtates and DF.JPG" alt="Parameter Esimtates and DF.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 19:25:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Correct-Degrees-of-Freedom/m-p/655679#M84469</guid>
      <dc:creator>JenniferB</dc:creator>
      <dc:date>2023-07-05T19:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Correct Degrees of Freedom?</title>
      <link>https://community.jmp.com/t5/Discussions/Correct-Degrees-of-Freedom/m-p/655881#M84485</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/48601"&gt;@JenniferB&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Welcome in the Community !&lt;BR /&gt;&lt;SPAN&gt;It may be a little more complex to answer you without full access on the data, but I will try my best with the informations provided by the screenshots. Please correct me if some of my assumptions about your dataset are wrong. &lt;BR /&gt;Let's see what's behind the degrees of freedom (DFs) calculated for your model:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;DFs in your dataset : Looking at the "analysis of variance" panel, you seem to have 50 different observations in your dataset, hence 50 degrees of freedoms in total. If you have observations that are duplicate, meaning if you have observations with the same X values, these observations don't add any degree of freedoms (but they may help in estimating the response variance).&lt;/LI&gt;
&lt;LI&gt;DFs in your model : The number of DFs "consumed" by your model depends on the type of factors you have. For example, each&amp;nbsp; numerical continuous factor uses 1 DF in the model to estimate the parameter in the equation. For categorical factor, the number of DFs used depends on the number of levels : For N levels in a categorical factor, the number of DFs used in the modeling is N-1,&amp;nbsp;&lt;SPAN&gt;&lt;SPAN&gt;since the last level parameter estimate can be calculated from the others : in case of a 3-levels factor, the sum of the level estimates is L1+L2+L3 = 0.&lt;BR /&gt;Example here with the equation of hot dog price depending on the type of meat, you can check that the sum of the 3-levels parameter estimates is indeed equal to 0:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1688628113669.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54417i8FA29D66FD1CE87E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1688628113669.png" alt="Victor_G_0-1688628113669.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Coming back to your topic, you seem to have the following factors in your model:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Q28: Gender : 2-levels categorical factor (representing 1 DF),&lt;/LI&gt;
&lt;LI&gt;Q31: Hometown : 3-levels categorical factor (representing 2 DFs),&lt;/LI&gt;
&lt;LI&gt;Q32: Highest Degree:&amp;nbsp;2-levels categorical factor (representing 1 DF),&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Q39: EuthExp:&amp;nbsp;3-levels categorical factor (representing 2 DFs),&lt;/LI&gt;
&lt;LI&gt;Q43: PriorTraining : 2-levels categorical factor (representing 1 DF),&lt;/LI&gt;
&lt;LI&gt;Q44: Euth6mos :&amp;nbsp;2-levels categorical factor (representing 1 DF).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the calculations in JMP are correct, you have in total 1+2+1+2+1+1 = 8 DFs used in your model, you had in your dataset 50 DFs available, so 42 DFs are left and used for error estimation, as seen in the "Analysis of Variance" panel.&lt;BR /&gt;&lt;BR /&gt;I hope this answer will clarify the outputs you're seeing,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 07:25:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Correct-Degrees-of-Freedom/m-p/655881#M84485</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2023-07-06T07:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Correct Degrees of Freedom?</title>
      <link>https://community.jmp.com/t5/Discussions/Correct-Degrees-of-Freedom/m-p/656028#M84502</link>
      <description>&lt;P&gt;Yes, that makes sense! Thank you for your help!&lt;/P&gt;&lt;P&gt;Jen&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 14:51:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Correct-Degrees-of-Freedom/m-p/656028#M84502</guid>
      <dc:creator>JenniferB</dc:creator>
      <dc:date>2023-07-06T14:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Correct Degrees of Freedom?</title>
      <link>https://community.jmp.com/t5/Discussions/Correct-Degrees-of-Freedom/m-p/656058#M84509</link>
      <description>&lt;P&gt;Just one possible clarification, if you have 50 total DF's, you must have 51 total observations.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 15:09:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Correct-Degrees-of-Freedom/m-p/656058#M84509</guid>
      <dc:creator>statman</dc:creator>
      <dc:date>2023-07-06T15:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Correct Degrees of Freedom?</title>
      <link>https://community.jmp.com/t5/Discussions/Correct-Degrees-of-Freedom/m-p/656066#M84510</link>
      <description>&lt;P&gt;Yes, I forgot to count 1 DF for the Intercept, good catch !&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 15:10:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Correct-Degrees-of-Freedom/m-p/656066#M84510</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2023-07-06T15:10:15Z</dc:date>
    </item>
  </channel>
</rss>

