<?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: If I have multiple group within person, how could I conduct repeated ANOVA? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803841#M39533</link>
    <description>&lt;P&gt;I agree with you Steve. For the ddf concerns, I would add the ddfm=kr option in the MODEL statement.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Mar 2022 17:25:46 GMT</pubDate>
    <dc:creator>jiltao</dc:creator>
    <dc:date>2022-03-24T17:25:46Z</dc:date>
    <item>
      <title>If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803469#M39495</link>
      <description>&lt;P&gt;I have dataset like follows:&lt;/P&gt;&lt;P&gt;Person&amp;nbsp; GroupA GroupB GroupC DV&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; F&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 30&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; F&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;40&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; N&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;20&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; N&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;15&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; F&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 25&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; F&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;24&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; N&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;22&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; N&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;17&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2.............A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;F&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;12&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2.......................................................&lt;/P&gt;&lt;P&gt;In this case, I want to compare the mean difference between A, B, C. How could I conduct the repeated ANOVA?&lt;/P&gt;&lt;P&gt;PROC MIXED;&lt;BR /&gt;CLASS person groupA groupB groupC;&lt;BR /&gt;MODEL DV = groupA|groupB|groupC;&lt;BR /&gt;REPEATED / SUBJECT=person TYPE=CS;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;Does the above code look correct? But I saw some example that I think should put "repeated groupA groupB groupc/SUBJECT=person" because those groups are repeated within persons, but I can't put more than one repeated effects. Could anyone help me with it? Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 23:01:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803469#M39495</guid>
      <dc:creator>SAS-questioner</dc:creator>
      <dc:date>2022-03-22T23:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803549#M39503</link>
      <description>Which variable is your Visit Number variable ? if GroupC was, I think you should code like :&lt;BR /&gt;&lt;BR /&gt;REPEATED / SUBJECT=person*groupB*groupC TYPE=CS;&lt;BR /&gt;&lt;BR /&gt;Or Calling &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;</description>
      <pubDate>Wed, 23 Mar 2022 12:39:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803549#M39503</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-03-23T12:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803564#M39504</link>
      <description>&lt;P&gt;If there are only 2 levels for each of the factors A, B and C, you may want to consider calling at least one effect RANDOM.&amp;nbsp; The other two could then be fit as doubly repeated measures using the Kronecker product &lt;A href="mailto:UN@UN" target="_blank"&gt;UN@UN&lt;/A&gt;&amp;nbsp;as the type.&amp;nbsp; The subject= will be slightly different for each of these.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example for that (no guarantees as to whether this will work or not, without having the data to fit)::&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC MIXED;
CLASS person groupA groupB groupC;
MODEL DV = groupA|groupB|groupC;
RANDOM intercept/subject=GroupC;
REPEATED groupA GroupB/ SUBJECT=person*groupC TYPE=UN@UN;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another method would be to concatenate the factors essentially making this a one-way ANOVA, and use LSMESTIMATE statements to with a JOINT option to get F tests of interest.&amp;nbsp; You would have to either switch to PROC GLIMMIX or use a STORE statement followed by PROC PLM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 13:33:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803564#M39504</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2022-03-23T13:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803627#M39507</link>
      <description>&lt;P&gt;Hi, thank you for your reply and suggestions, but the group A, B, and C have more than three levels, can I put all three of them in the repeated statement? Or I saw there is one procedure call the proc genmod, can I use this instead without putting the repeated statements?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 18:34:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803627#M39507</guid>
      <dc:creator>SAS-questioner</dc:creator>
      <dc:date>2022-03-23T18:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803628#M39508</link>
      <description>&lt;P&gt;When you are saying the visit number variable do you mean the time variable? Actually I don't have time variable in my dataset, but all the group A B and C are nested within each person.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 18:36:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803628#M39508</guid>
      <dc:creator>SAS-questioner</dc:creator>
      <dc:date>2022-03-23T18:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803652#M39511</link>
      <description>&lt;P&gt;I guess the proc genmod doesn't work because it didn't produce the F test result, and I can't check the mean difference among all those factors. Do you mean if the group A, B, and C are more than three factors, I should use proc glimmix to conduct the repeated ANOVA?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 19:23:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803652#M39511</guid>
      <dc:creator>SAS-questioner</dc:creator>
      <dc:date>2022-03-23T19:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803683#M39512</link>
      <description>&lt;P&gt;There are several ways to model the correlations in your data. I am not sure what the variables GroupA, GroupB, and GroupC are, but one of the straightforward models would be modeling the correlations through random effects. For example,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;PROC MIXED;
CLASS person groupA groupB groupC;
MODEL DV = groupA|groupB|groupC;
RANDOM intercept GroupA GroupB GroupC GroupA*GroupB GroupA*GroupC GroupB*GroupC/subject=person;
run;&lt;/LI-CODE&gt;
&lt;P&gt;Some of the random interaction effects might or might be present in your data. If you get zero estimated variance for some of the random effects, you might consider taking them out of the RANDOM statement.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 20:23:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803683#M39512</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2022-03-23T20:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803693#M39515</link>
      <description>&lt;P&gt;I tried your method, and I didn't see any of the random effect in the output page, I only saw the Type three test of fixed effects. Does that look good?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;                                  Type 3 Tests of Fixed Effects

                                                   Num     Den
                      Effect                    DF      DF    F Value    Pr &amp;gt; F

                      group A                    3      12       0.81    0.5112
                      group B                    2       8       4.00    0.0626
                      groupA*groupB              6      24       0.58    0.7460
                      group C                    3      12       0.99    0.4298
                      groupA*groupC              9      36       0.82    0.5985
                      groupB*groupC              6      24       1.33    0.2815
                      A*B*C                     18      72       1.76    0.0489&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Mar 2022 20:56:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803693#M39515</guid>
      <dc:creator>SAS-questioner</dc:creator>
      <dc:date>2022-03-23T20:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803696#M39516</link>
      <description>&lt;P&gt;Did you get the Covariance Parameter Estimates table in the output?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 21:05:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803696#M39516</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2022-03-23T21:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803698#M39517</link>
      <description>&lt;P&gt;I saw the&amp;nbsp;Estimated G matrix is not positive definite. Might be that's the reason it didn't show any random effects? Should I change something in the code?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 21:08:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803698#M39517</guid>
      <dc:creator>SAS-questioner</dc:creator>
      <dc:date>2022-03-23T21:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803699#M39518</link>
      <description>&lt;P&gt;Sorry, yes, I get the covariance parameter estimate in the table. But will the "Estimated G matrix is not positive definite" affect the result?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 21:10:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803699#M39518</guid>
      <dc:creator>SAS-questioner</dc:creator>
      <dc:date>2022-03-23T21:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803715#M39520</link>
      <description>&lt;P&gt;What is in this Covariance Parameter Estimates table? Can you send it here?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 22:19:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803715#M39520</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2022-03-23T22:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803717#M39522</link>
      <description>&lt;P&gt;Below is the covariance parameter table, should I remove those with zeros and run the analysis again to avoid the negative definite?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;                                   Covariance Parameter Estimates

                            Cov Parm                 Subject     Estimate

                            Intercept               specimen      2.1541
                            Group A                 specimen      0.7469
                            Group B                 specimen           0
                            Group C                 specimen           0
                            GroupA*GroupB           specimen     0.04165
                            GroupA*GroupC           specimen      5.0689
                            GroupB*GroupC           specimen           0
                            Residual                              0.1730&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Mar 2022 23:12:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803717#M39522</guid>
      <dc:creator>SAS-questioner</dc:creator>
      <dc:date>2022-03-23T23:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803789#M39526</link>
      <description>&lt;P&gt;You should re run, leaving out Group B, Group C and the interaction Group B by Group C in the random statement.&amp;nbsp; A possible cause for the zero estimates is that the ML estimates are negative, and so using REML results in a zero value.&amp;nbsp; This would occur if all of the variability in these three factors is already explained by Group A and it's interactions.&amp;nbsp; However, it usually turns out that the standard errors of estimates are only minimally affected by leaving these in, and leaving them in results in denominator degrees of freedom that reflect your design.&amp;nbsp; The issue now is that you are "splitting" the variability due to these factors between fixed and random effects.&amp;nbsp; A possibility would be to exclude these factors from the RANDOM statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 13:48:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803789#M39526</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2022-03-24T13:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803809#M39528</link>
      <description>&lt;P&gt;Another possibility is to treat person as a block and make PERSON the single random effect in your model. Were these measures taken sequentially over time, or are they observational statistics on the combination of the fixed effects A,B, and C? If you go with this approach, then put A,B, and C on the model statement and use a single RANDOM statement with&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;random int / subject=person;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 15:14:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803809#M39528</guid>
      <dc:creator>StatsMan</dc:creator>
      <dc:date>2022-03-24T15:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803822#M39532</link>
      <description>&lt;P&gt;Thank you for your reply. Those measures were not taken sequentially over time, they just the observational statistics for each person. So do you think the random int/subject=person work as same as put all groups in the random like random interceptA B C A*B A*C B*C /subject=person? So the result is the repeated ANOVA instead of multilevel modeling?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 15:51:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803822#M39532</guid>
      <dc:creator>SAS-questioner</dc:creator>
      <dc:date>2022-03-24T15:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803841#M39533</link>
      <description>&lt;P&gt;I agree with you Steve. For the ddf concerns, I would add the ddfm=kr option in the MODEL statement.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 17:25:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803841#M39533</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2022-03-24T17:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803864#M39535</link>
      <description>&lt;P&gt;Thank you so much! I have one more question, if I check the dependent variable is not normally distributed, could I still use the proc mixed?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 18:44:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803864#M39535</guid>
      <dc:creator>SAS-questioner</dc:creator>
      <dc:date>2022-03-24T18:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803889#M39541</link>
      <description>&lt;P&gt;By the way, how could I conduct the homogeneity of variance test in proc mixed for repeated ANOVA? Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 19:49:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803889#M39541</guid>
      <dc:creator>SAS-questioner</dc:creator>
      <dc:date>2022-03-24T19:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: If I have multiple group within person, how could I conduct repeated ANOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803899#M39543</link>
      <description>&lt;P&gt;Remember that the assumption for ANOVA is that the errors are normally distributed, not the data.&amp;nbsp; Someplace else in this thread you asked how to do that. An OUTPUT statement that puts all of the residuals in a data set, followed by the test for normality in PROC UNIVARIATE will work, but a QQ plot would be even better, as all known tests for normality suffer from dependency on sample size - if the dataset is large, then the test is over powered and will declare even small deviations from normality to be significant, and if the dataset is small it is under powered and could easily miss a true difference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Somewhere else in this thread you ask about non-normal dependent variables.&amp;nbsp; It would help to know what your dependent variable(s) is/are.&amp;nbsp; Counts may have a Poisson, generalized Poisson or negative binomial distribution.&amp;nbsp; Strict proportions of the events/trials type are, by default, binomial.&amp;nbsp; Ratios of continuous variables that are continuous on the open interval (0,1) tend to have a beta distribution.&amp;nbsp; PROC GLIMMIX (for conditional inference) and GENMOD (for marginal inference) are the right tools for this, so read through the examples for those two procedures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So now it appears that the variables A, B and C are measures on each subject, rather than classification variables to which subjects are assigned at random.&amp;nbsp; Is that the case?&amp;nbsp; Without breaking any privacy issues, could you tell us what these variables are?&amp;nbsp; I am leaning toward the approach given by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/92458"&gt;@StatsMan&lt;/a&gt;&amp;nbsp;of treating the subject as the random effect, clustering responses by subject.&amp;nbsp; This approach could probably be done more directly with PROC GEE or GENMOD.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, if there are assigned "treatments" included in these 3, that approach may need some additional thought.&amp;nbsp; lA thorough description of design and variables would go a long way toward addressing all of these issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 20:23:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/If-I-have-multiple-group-within-person-how-could-I-conduct/m-p/803899#M39543</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2022-03-24T20:23:53Z</dc:date>
    </item>
  </channel>
</rss>

