<?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: Unbalanced mix factorial design in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537426#M27038</link>
    <description>&lt;P&gt;Do you mean "Dunnett" instead of "Duncan"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both the Dunnett and Tukey tests are available for interactions in both PROC GLM and PROC MIXED in the LSMEANS statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you mean DUNCAN, as far as I know it is only available in PROC GLM and only in the MEANS statement and only for main effects.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Feb 2019 15:19:22 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-02-21T15:19:22Z</dc:date>
    <item>
      <title>Unbalanced mix factorial design</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537392#M27035</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an experimental design of four way&amp;nbsp;factorial among which two are random and the&amp;nbsp;other two are fixed. What is the best procedure to analyze&amp;nbsp;the data? Proc mixed or proc glm? And how to get the mean and interaction effect differences?&amp;nbsp; I have&amp;nbsp;SAS 9.4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 13:47:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537392#M27035</guid>
      <dc:creator>tanumoybera</dc:creator>
      <dc:date>2019-02-21T13:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unbalanced mix factorial design</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537409#M27036</link>
      <description>&lt;P&gt;From the &lt;A href="https://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_mixed_overview.htm&amp;amp;locale=en" target="_self"&gt;documentation&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;The MIXED procedure fits a variety of mixed linear models to data and enables you to use these fitted models to make statistical inferences about the data. A&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;EM&gt;mixed linear model&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;is a generalization of the standard linear model used in the GLM procedure, the generalization being that the data are permitted to exhibit correlation and nonconstant variability. The mixed linear model, therefore, provides you with the flexibility of modeling not only the means of your data (as in the standard linear model) but their variances and covariances as well.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Does that help you make a decision?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 14:45:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537409#M27036</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-02-21T14:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unbalanced mix factorial design</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537417#M27037</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;SPAN class="login-bold"&gt;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892" target="_self"&gt;PaigeMiller&lt;/A&gt;. I understand your point. My second question was how to compare the interaction means? Because&amp;nbsp;Duncan&amp;nbsp;and Tukey&amp;nbsp;test only give the mean effect separation&amp;nbsp;but not the interactive mean separation?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 15:04:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537417#M27037</guid>
      <dc:creator>tanumoybera</dc:creator>
      <dc:date>2019-02-21T15:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unbalanced mix factorial design</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537426#M27038</link>
      <description>&lt;P&gt;Do you mean "Dunnett" instead of "Duncan"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both the Dunnett and Tukey tests are available for interactions in both PROC GLM and PROC MIXED in the LSMEANS statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you mean DUNCAN, as far as I know it is only available in PROC GLM and only in the MEANS statement and only for main effects.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 15:19:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537426#M27038</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-02-21T15:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unbalanced mix factorial design</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537431#M27039</link>
      <description>&lt;P&gt;Yes, Duncan&amp;nbsp;does not give the interaction mean separation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to get the interaction mean separation&amp;nbsp;by LSMEANS and TUKEY but could not succeed. Could you please give me an example of SAS statement for the following&amp;nbsp;example.&lt;/P&gt;&lt;P&gt;Four-factor design&lt;/P&gt;&lt;P&gt;Seasons (2 levels)&amp;nbsp;random&lt;/P&gt;&lt;P&gt;Sites (4 levels) fixed&lt;/P&gt;&lt;P&gt;Depths (4 levels) random&lt;/P&gt;&lt;P&gt;positions (4 levels) fixed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;and we have some missing values in the data set.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, &lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892" target="_self"&gt;&lt;SPAN class="login-bold"&gt;PaigeMiller&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;again for your replies.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 15:28:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537431#M27039</guid>
      <dc:creator>tanumoybera</dc:creator>
      <dc:date>2019-02-21T15:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unbalanced mix factorial design</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537437#M27041</link>
      <description>&lt;P&gt;Show us the LOG. Click on the {i} icon and paste the log into that window. DO NOT SKIP THIS STEP. And, please explain what did not work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hint for future: saying "did not work" or "could not succeed" never provides enough information for a meaningful answer.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 15:34:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537437#M27041</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-02-21T15:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Unbalanced mix factorial design</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537440#M27042</link>
      <description>&lt;P&gt;PROC MIXED DATA=RBC;&lt;BR /&gt;CLASS SEASON CELL TRANSECT MATERIAL;&lt;BR /&gt;MODEL LMBC LMBN LMBP LAPA LBISP LBGA LLAP LNAG LACDO LANCDO LPMN LPMP LNENZ LPENZ=SEASON CELL TRANSECT MATERIAL SEASON*CELL SEASON*TRANSECT SEASON*MATERIAL CELL*TRANSECT CELL*MATERIAL TRANSECT*MATERIAL SEASON*CELL*TRANSECT SEASON*CELL*MATERIAL CELL*TRANSECT*MATERIAL SEASON*TRANSECT*MATERIAL SEASON*CELL*TRANSECT*MATERIAL;&lt;BR /&gt;RANDOM SEASON TRANSECT SEASON*CELL SEASON*TRANSECT SEASON*MATERIAL TRANSECT*MATERIAL SEASON*CELL*TRANSECT SEASON*CELL*MATERIAL CELL*TRANSECT*MATERIAL SEASON*TRANSECT*MATERIAL SEASON*CELL*TRANSECT*MATERIAL;&lt;BR /&gt;LSMEANS SEASON*CELL SEASON*TRANSECT SEASON*MATERIAL CELL*TRANSECT CELL*MATERIAL TRANSECT*MATERIAL SEASON*CELL*TRANSECT SEASON*CELL*MATERIAL CELL*TRANSECT*MATERIAL SEASON*TRANSECT*MATERIAL SEASON*CELL*TRANSECT*MATERIAL/pdiff cl adjust=TUKEY;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This one is my SAS statement. The following is the error in LOG.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;547! CELL TRANSECT MATERIAL SEASON*CELL SEASON*TRANSECT SEASON*MATERIAL CELL*TRANSECT&lt;BR /&gt;547! CELL*MATERIAL TRANSECT*MATERIAL SEASON*CELL*TRANSECT SEASON*CELL*MATERIAL&lt;BR /&gt;547! CELL*TRANSECT*MATERIAL SEASON*TRANSECT*MATERIAL SEASON*CELL*TRANSECT*MATERIAL;&lt;BR /&gt;ERROR 73-322: Expecting an =.&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: a name, ;, (, *, -, /, :, @,&lt;BR /&gt;_CHARACTER_, _CHAR_, _NUMERIC_, |.&lt;BR /&gt;ERROR 200-322: The symbol is not recognized and will be ignored.&lt;BR /&gt;548 RANDOM SEASON TRANSECT SEASON*CELL SEASON*TRANSECT SEASON*MATERIAL TRANSECT*MATERIAL&lt;BR /&gt;548! SEASON*CELL*TRANSECT SEASON*CELL*MATERIAL CELL*TRANSECT*MATERIAL SEASON*TRANSECT*MATERIAL&lt;BR /&gt;548! SEASON*CELL*TRANSECT*MATERIAL;&lt;BR /&gt;549 LSMEANS SEASON*CELL SEASON*TRANSECT SEASON*MATERIAL CELL*TRANSECT CELL*MATERIAL&lt;BR /&gt;549! TRANSECT*MATERIAL SEASON*CELL*TRANSECT SEASON*CELL*MATERIAL CELL*TRANSECT*MATERIAL&lt;BR /&gt;549! SEASON*TRANSECT*MATERIAL SEASON*CELL*TRANSECT*MATERIAL/pdiff cl adjust=TUKEY;&lt;BR /&gt;550 RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 15:43:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537440#M27042</guid>
      <dc:creator>tanumoybera</dc:creator>
      <dc:date>2019-02-21T15:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unbalanced mix factorial design</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537494#M27045</link>
      <description>&lt;P&gt;Please make your log easier to read.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Click on the {i} icon and paste the log into that window. DO NOT SKIP THIS STEP. And show us the entire log for PROC MIXED, not just where the error is.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 18:58:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537494#M27045</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-02-21T18:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unbalanced mix factorial design</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537508#M27046</link>
      <description>&lt;P&gt;I totally concur with&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;'s suggestion to post the log using the "Insert Code" icon.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Meanwhile, two comments:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Although the GLM procedure allows multiple dependent variables in its MODEL statement, you can name &lt;EM&gt;only one&lt;/EM&gt; dependent variable in the MODEL statement in the MIXED procedure. I'm pretty sure this is the source of your error, but it is not your only problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. In the GLM procedure both fixed and random effects variables are specified in the MODEL statement. (However, you should never use GLM for mixed models.) In contrast, in the MIXED procedure, fixed effects variables are specified in the MODEL statement, and random effects variables are specified in the RANDOM and/or REPEATED statements. You'll want to learn more about fitting mixed models using MIXED and then revise your MODEL and RANDOM statements. For more information, see&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/onlinedoc/stat/930/intromix.pdf" target="_self"&gt;Introduction to Mixed Modeling Procedures&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sas.com/store/books/categories/usage-and-reference/sas-for-mixed-models-introduction-and-basic-applications/prodBK_68787_en.html" target="_self"&gt;SAS® for Mixed Models: Introduction and Basic Applications&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 19:48:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Unbalanced-mix-factorial-design/m-p/537508#M27046</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2019-02-21T19:48:48Z</dc:date>
    </item>
  </channel>
</rss>

