<?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 Why are the Den DF so different between the proc mixed and the repeated measures proc mixed? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Why-are-the-Den-DF-so-different-between-the-proc-mixed-and-the/m-p/629700#M30226</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Diet intake" style="width: 320px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36607iAE3A6001019AC2DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1.JPG" alt="Diet intake" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Diet intake&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Multiple Measures Plasma Osm" style="width: 327px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36606i2812EE2AF56FEA1E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2.JPG" alt="Multiple Measures Plasma Osm" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Multiple Measures Plasma Osm&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Above are some of my results and I've got a question about the difference in Den DF between the analyses.&lt;/P&gt;&lt;P&gt;Could someone please let me know if I've done my coding correctly for the following:&lt;/P&gt;&lt;P&gt;I want to measure the difference in diet intake between 3 diets, 3 periods, 6 animals, done in a Latin square. Results are in the Diet intake picture.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then want to see if the diet has an effect on multiple measurements of plasma osmolality. (I have quite a few missing samples).&lt;/P&gt;&lt;P&gt;Results are in the Multiple Measures Plasma Osm picture.&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My questions: Why are the Den DF for, for example, period so different between the proc mixed and the repeated measures proc mixed? I thought the Den DF had to do with number of observations and, as it is the same study, I've still only got 3 periods and 3 diets.&lt;/P&gt;&lt;P&gt;Is my coding correct? If not, how do I change it to get the same number of Den DF in both models if that's what I'm supposed to have?&lt;/P&gt;&lt;P&gt;I'm using SAS 9.4, code and data are attached.&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;1st code:&lt;BR /&gt;&lt;BR /&gt;data DietIntake;
input animal gender $ period diet $ intake;
cards;&lt;BR /&gt;
proc mixed;
class animal gender period diet;
model intake = gender period diet period*diet;
lsmeans diet period*diet period gender/ pdiff;
random animal;
run;&lt;BR /&gt;&lt;BR /&gt;Multiple Measures code:&lt;BR /&gt;data PlasmaOsmolality;&lt;BR /&gt;input animal gender $ diet $ period time $ osmolality;&lt;BR /&gt;cards;&lt;BR /&gt;&lt;BR /&gt;proc mixed;&lt;BR /&gt;class animal gender period diet time;&lt;BR /&gt;model osmolality = gender period diet time diet*time period*diet period(time);&lt;BR /&gt;lsmeans diet gender period time diet*time period*diet period(time)/ pdiff;&lt;BR /&gt;repeated / subject=animal;&lt;BR /&gt;run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Mar 2020 04:23:38 GMT</pubDate>
    <dc:creator>Joshblackie</dc:creator>
    <dc:date>2020-03-05T04:23:38Z</dc:date>
    <item>
      <title>Why are the Den DF so different between the proc mixed and the repeated measures proc mixed?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-are-the-Den-DF-so-different-between-the-proc-mixed-and-the/m-p/629700#M30226</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Diet intake" style="width: 320px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36607iAE3A6001019AC2DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1.JPG" alt="Diet intake" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Diet intake&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Multiple Measures Plasma Osm" style="width: 327px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36606i2812EE2AF56FEA1E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2.JPG" alt="Multiple Measures Plasma Osm" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Multiple Measures Plasma Osm&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Above are some of my results and I've got a question about the difference in Den DF between the analyses.&lt;/P&gt;&lt;P&gt;Could someone please let me know if I've done my coding correctly for the following:&lt;/P&gt;&lt;P&gt;I want to measure the difference in diet intake between 3 diets, 3 periods, 6 animals, done in a Latin square. Results are in the Diet intake picture.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then want to see if the diet has an effect on multiple measurements of plasma osmolality. (I have quite a few missing samples).&lt;/P&gt;&lt;P&gt;Results are in the Multiple Measures Plasma Osm picture.&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My questions: Why are the Den DF for, for example, period so different between the proc mixed and the repeated measures proc mixed? I thought the Den DF had to do with number of observations and, as it is the same study, I've still only got 3 periods and 3 diets.&lt;/P&gt;&lt;P&gt;Is my coding correct? If not, how do I change it to get the same number of Den DF in both models if that's what I'm supposed to have?&lt;/P&gt;&lt;P&gt;I'm using SAS 9.4, code and data are attached.&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;1st code:&lt;BR /&gt;&lt;BR /&gt;data DietIntake;
input animal gender $ period diet $ intake;
cards;&lt;BR /&gt;
proc mixed;
class animal gender period diet;
model intake = gender period diet period*diet;
lsmeans diet period*diet period gender/ pdiff;
random animal;
run;&lt;BR /&gt;&lt;BR /&gt;Multiple Measures code:&lt;BR /&gt;data PlasmaOsmolality;&lt;BR /&gt;input animal gender $ diet $ period time $ osmolality;&lt;BR /&gt;cards;&lt;BR /&gt;&lt;BR /&gt;proc mixed;&lt;BR /&gt;class animal gender period diet time;&lt;BR /&gt;model osmolality = gender period diet time diet*time period*diet period(time);&lt;BR /&gt;lsmeans diet gender period time diet*time period*diet period(time)/ pdiff;&lt;BR /&gt;repeated / subject=animal;&lt;BR /&gt;run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 04:23:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-are-the-Den-DF-so-different-between-the-proc-mixed-and-the/m-p/629700#M30226</guid>
      <dc:creator>Joshblackie</dc:creator>
      <dc:date>2020-03-05T04:23:38Z</dc:date>
    </item>
  </channel>
</rss>

