<?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: varaince estimates for interaction of fixed and random effects in mixed models in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/varaince-estimates-for-interaction-of-fixed-and-random-effects/m-p/325110#M17167</link>
    <description>&lt;P&gt;Why not introduce the subgrouping as a fixed effect, and include it in a group= option to the random statement. &amp;nbsp;For example, if sex were the factor, you might try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc mixed data=required covtest cl;
class pt day scan  sex;
model var= sex;
random pt day(pt) scan(day*pt)/group=sex ;
estimate "Mean" intercept 1/cl;
ods output covparms=Covparms estimates=EstimatedMean;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jan 2017 19:40:41 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2017-01-16T19:40:41Z</dc:date>
    <item>
      <title>varaince estimates for interaction of fixed and random effects in mixed models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/varaince-estimates-for-interaction-of-fixed-and-random-effects/m-p/322816#M17104</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am working on a project involving understanding interday and intraday varainces on a device and I found interday varaince to be less than intraday, which is our biggest concern.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So we took measurements on humans on 5 days, and 5 masurements on each day and each measurement gives us 12 outputs of the same measure at any given time. So I created a completely nested random effect model as follows to get all varaince estimates :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc mixed data=required covtest cl;&lt;BR /&gt;class pt day scan&amp;nbsp; ;&lt;BR /&gt;model var= ;&lt;BR /&gt;random pt day(pt) scan(day*pt) ;&lt;BR /&gt;estimate "Mean" intercept 1/cl;&lt;BR /&gt;ods output covparms=Covparms estimates=EstimatedMean;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To investigate why intraday varaince is higher than interday, I want to test if subgroups (say Male and female)&amp;nbsp; have equal interday and intarday varaince or how their variances are. Now I am not quite sure how can I get varaince estimates in these subgroups. Any help is greatly appreciated. Any other solution/trick to investigate&amp;nbsp; is welcome too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks soooo much for any help!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 22:56:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/varaince-estimates-for-interaction-of-fixed-and-random-effects/m-p/322816#M17104</guid>
      <dc:creator>Ruhi</dc:creator>
      <dc:date>2017-01-05T22:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: varaince estimates for interaction of fixed and random effects in mixed models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/varaince-estimates-for-interaction-of-fixed-and-random-effects/m-p/325110#M17167</link>
      <description>&lt;P&gt;Why not introduce the subgrouping as a fixed effect, and include it in a group= option to the random statement. &amp;nbsp;For example, if sex were the factor, you might try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc mixed data=required covtest cl;
class pt day scan  sex;
model var= sex;
random pt day(pt) scan(day*pt)/group=sex ;
estimate "Mean" intercept 1/cl;
ods output covparms=Covparms estimates=EstimatedMean;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2017 19:40:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/varaince-estimates-for-interaction-of-fixed-and-random-effects/m-p/325110#M17167</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2017-01-16T19:40:41Z</dc:date>
    </item>
  </channel>
</rss>

