<?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: How to conduct PROC MIXED in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-conduct-PROC-MIXED/m-p/566561#M27903</link>
    <description>&lt;P&gt;Linear regression models (ANOVA, REG, GLM, PLS) permit multiple variables on the left-hand side of the model statement. Generalized linear models (LOGISTIC, GENMOD) and mixed models (FMM, MIXED, GLIMMIX) only support a single variable on the left-hand side.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jun 2019 13:29:18 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2019-06-17T13:29:18Z</dc:date>
    <item>
      <title>How to conduct PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-conduct-PROC-MIXED/m-p/566380#M27899</link>
      <description>&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="2"&gt;For an analytical epidemiology course I have to do a PROC MIXED test in order to see a change in cholesterol level. The cholesterol level is measured at three times, 1960, 1965 and 1970. We got some tips about how to solve this, I've copied that text below. The dataset is also added as an attachment.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="2"&gt;I've made the following syntax:&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC MIXED DATA=ELEARN.zutphen_broad; 
   CLASS RN; 
   MODEL TOTCHOL1 TOTCHOL2 TOTCHOL3 = RN /Solution; 
   RANDOM intercept/ Subject=RN; 
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="2"&gt;Which gives me the error:&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOTE: PROCEDURE MIXED used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds

NOTE: The SAS System stopped processing this step because of errors.
298  PROC MIXED DATA=ELEARN.zutphen_broad;
299     CLASS RN;
300     MODEL TOTCHOL1 TOTCHOL2 TOTCHOL3 = RN /Solution;
                       --------
                       73
                       202
ERROR 73-322: Expecting an =.
ERROR 202-322: The option or parameter is not recognized and will be ignored.
301     RANDOM intercept/ Subject=RN;
302  RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="2"&gt;What am I doing wrong? I'm not skilled enough with SAS to be able to find out how to solve this. The hints are for the following questions as well, right now I'm stuck at question A (with hint A) which just want to know the regression coefficient and the P value in change from 1960 - 1970.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font6" style="color: #005172; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px; font-weight: bold;"&gt;a)&lt;/SPAN&gt;&lt;SPAN class="text39562Font7" style="color: #000000; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt; You can use PROC MIXED to conduct an analysis with a random intercept model. &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font8" style="background-color: transparent; color: #000000; font-family: &amp;amp;quot; arial&amp;amp;quot;,sans-serif; font-size: 15px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font9" style="color: #000080; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; font-weight: bold; position: relative; top: -1px;"&gt;PROC&lt;/SPAN&gt; &lt;SPAN class="text39562Font9" style="color: #000080; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; font-weight: bold; position: relative; top: -1px;"&gt;MIXED &lt;/SPAN&gt;&lt;SPAN class="text39562Font11" style="color: #0000ff; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; position: relative; top: -1px;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; position: relative; top: -1px;"&gt;=; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font11" style="color: #0000ff; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; position: relative; top: -1px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CLASS &lt;/SPAN&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; position: relative; top: -1px;"&gt;&amp;lt;subject identifier and categorical variables (if any)&amp;gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; position: relative; top: -1px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="text39562Font11" style="color: #0000ff; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; position: relative; top: -1px;"&gt;MODEL&lt;/SPAN&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; position: relative; top: -1px;"&gt; &amp;lt;dependent variables&amp;gt; = &amp;lt;independent variables&amp;gt; /&lt;/SPAN&gt;&lt;SPAN class="text39562Font11" style="color: #0000ff; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; position: relative; top: -1px;"&gt;Solution&lt;/SPAN&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; position: relative; top: -1px;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; position: relative; top: -1px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="text39562Font11" style="color: #0000ff; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; position: relative; top: -1px;"&gt;RANDOM&lt;/SPAN&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; position: relative; top: -1px;"&gt; intercept/&lt;/SPAN&gt;&lt;SPAN class="text39562Font11" style="color: #0000ff; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; position: relative; top: -1px;"&gt; Subject=&lt;/SPAN&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; position: relative; top: -1px;"&gt; &amp;lt;subject identifier&amp;gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font9" style="color: #000080; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; font-weight: bold; position: relative; top: -1px;"&gt;RUN&lt;/SPAN&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; position: relative; top: -1px;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font13" style="background-color: transparent; color: #000000; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 11px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font14" style="color: #010101; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt;In the first part of the assignment, the independent variable is time as a continuous variable. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font14" style="background-color: transparent; color: #010101; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font14" style="background-color: transparent; color: #010101; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font15" style="color: #005172; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px; font-weight: bold;"&gt;b)&lt;/SPAN&gt;&lt;SPAN class="text39562Font16" style="color: #000000; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt; In the output, you can find the slope of the regression under estimate in the table “solution of fixed effects”. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font16" style="background-color: transparent; color: #000000; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font15" style="color: #005172; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px; font-weight: bold;"&gt;e)&lt;/SPAN&gt;&lt;SPAN class="text39562Font16" style="color: #000000; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt; add TIME(ref=FIRST) &amp;nbsp;to the class statement in order to model TIME as a categorical covariate. (ref=FIRST) makes TIME=0 into the reference class. &lt;/SPAN&gt;&lt;SPAN class="text39562Font18" style="color: #000000; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 11px;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font18" style="background-color: transparent; color: #000000; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 11px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font6" style="color: #005172; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px; font-weight: bold;"&gt;f)&lt;/SPAN&gt;&lt;SPAN class="text39562Font7" style="color: #000000; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt; look at the regression results and use your common sense.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font13" style="background-color: transparent; color: #000000; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 11px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font6" style="color: #005172; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px; font-weight: bold;"&gt;g)&lt;/SPAN&gt;&lt;SPAN class="text39562Font7" style="color: #000000; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt; You can add a quadratic term of time by adding TIME*TIME as an independent variable. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font7" style="color: #000000; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt;If you do so, the (linear) term TIME should ALSO be in the model. Otherwise, TIME*TIME will pick up both the linear and the quadratic effect. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font7" style="color: #000000; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt;Testing whether this term is statistically significant, in a correct way, however, is not trivial. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font7" style="color: #000000; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt;The p-value given in the table “solution of fixed effects” might be to0 high because TIME and TIME*TIME are strongly correlated. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font6" style="background-color: transparent; color: #005172; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px; font-weight: bold;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font6" style="color: #005172; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px; font-weight: bold;"&gt;h)&lt;/SPAN&gt;&lt;SPAN class="text39562Font7" style="color: #000000; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt; The correct way of testing is a likelihood ratio test, but in SAS you need to perform this test “by hand”. This means running the model with &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font7" style="background-color: transparent; color: #000000; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font14" style="color: #010101; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt;totchol = TIME, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font14" style="color: #010101; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt;and also the model with &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font14" style="color: #010101; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt;totchol=TIME TIME*TIME , &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font20" style="color: #010101; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px; font-weight: bold;"&gt;USING MAXIMUM LIKELIHOOD&lt;/SPAN&gt;&lt;SPAN class="text39562Font14" style="color: #010101; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt;, that is, using&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font9" style="color: #000080; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; font-weight: bold; position: relative; top: -1px;"&gt;PROC&lt;/SPAN&gt; &lt;SPAN class="text39562Font9" style="color: #000080; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; font-weight: bold; position: relative; top: -1px;"&gt;MIXED &lt;/SPAN&gt;&lt;SPAN class="text39562Font11" style="color: #0000ff; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; position: relative; top: -1px;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; position: relative; top: -1px;"&gt;=... &lt;/SPAN&gt;&lt;SPAN class="text39562Font22" style="color: #0000ff; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; position: relative; text-decoration: underline; top: -1px;"&gt;method&lt;/SPAN&gt;&lt;SPAN class="text39562Font23" style="color: #000000; font-family: &amp;amp;quot; arial&amp;amp;quot;,sans-serif; font-size: 15px; position: relative; text-decoration: underline; top: -1px;"&gt;=ML&lt;/SPAN&gt;&lt;SPAN class="text39562Font12" style="color: #000000; font-family: &amp;amp;quot; arial&amp;amp;quot;,sans-serif; font-size: 15px; position: relative; top: -1px;"&gt; ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font12" style="color: #000000; font-family: &amp;amp;quot; arial&amp;amp;quot;,sans-serif; font-size: 15px; top: -1px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font14" style="color: #010101; font-family: &amp;amp;quot; verdana&amp;amp;quot;,sans-serif; font-size: 13px;"&gt;Find the log likelihoods of the two models in the output, and use these in the next piece of SAS code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font9" style="color: #000080; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; font-weight: bold;"&gt;data&lt;/SPAN&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px;"&gt; LRT; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px;"&gt;ll1 = &lt;/SPAN&gt;&lt;SPAN class="text39562Font24" style="color: #008080; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; font-weight: bold;"&gt;117xx.x&lt;/SPAN&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="text39562Font25" style="color: #008000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px;"&gt;** fill here the loglikelihood from model TIME;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px;"&gt;ll2 = &lt;/SPAN&gt;&lt;SPAN class="text39562Font24" style="color: #008080; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; font-weight: bold;"&gt;117xx.x&lt;/SPAN&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px;"&gt;; &lt;/SPAN&gt;&lt;SPAN class="text39562Font25" style="color: #008000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px;"&gt;** fill here the loglikelihood from model TIME TIME*TIME;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px;"&gt;chi = ll1-ll2; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px;"&gt;p = &lt;/SPAN&gt;&lt;SPAN class="text39562Font24" style="color: #008080; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; font-weight: bold;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px;"&gt;-probchi(chi,&lt;/SPAN&gt;&lt;SPAN class="text39562Font24" style="color: #008080; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px; font-weight: bold;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text39562Font11" style="color: #0000ff; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px;"&gt;run&lt;/SPAN&gt;&lt;SPAN class="text39562Font10" style="color: #000000; font-family: &amp;amp;quot; sas monospace&amp;amp;quot;,monospace; font-size: 13px;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jun 2019 16:38:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-conduct-PROC-MIXED/m-p/566380#M27899</guid>
      <dc:creator>Charlotte22</dc:creator>
      <dc:date>2019-06-15T16:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to conduct PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-conduct-PROC-MIXED/m-p/566382#M27900</link>
      <description>&lt;P&gt;Only one dependent variable is allowed in your PROC MIXED MODEL statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might want to re-arrange the input data so that the three time periods are denoted by a variable (TIMEPERIOD=1 or TIMEPERIOD=2 or TIMEPERIOD=3), and then you have a single response named CHOLESTEROL, repeated measures on the variable TIMEPERIOD.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Examples are discussed here: &lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=14.3&amp;amp;docsetTarget=statug_mixed_examples.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;https://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=14.3&amp;amp;docsetTarget=statug_mixed_examples.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jun 2019 16:59:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-conduct-PROC-MIXED/m-p/566382#M27900</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-06-15T16:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to conduct PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-conduct-PROC-MIXED/m-p/566383#M27901</link>
      <description>I thought that could be the case indeed, but how should I take all the&lt;BR /&gt;three time points in account then? And isn't it strange than that the hints&lt;BR /&gt;example syntax says "variables".&lt;BR /&gt;&lt;BR /&gt;Thanks for you help! I'll just keep on trying.&lt;BR /&gt;</description>
      <pubDate>Sat, 15 Jun 2019 17:03:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-conduct-PROC-MIXED/m-p/566383#M27901</guid>
      <dc:creator>Charlotte22</dc:creator>
      <dc:date>2019-06-15T17:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to conduct PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-conduct-PROC-MIXED/m-p/566392#M27902</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data re_arrange;
    set ELEARN.zutphen_broad;
    cholesterol = totchol1;
    timperiod=1;
    output;
    cholesterol=totchol2;
    timeperiod=2;
    output;
    cholesterol=totchol3;
    timeperiod=3;
    output;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 15 Jun 2019 18:55:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-conduct-PROC-MIXED/m-p/566392#M27902</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-06-15T18:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to conduct PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-conduct-PROC-MIXED/m-p/566561#M27903</link>
      <description>&lt;P&gt;Linear regression models (ANOVA, REG, GLM, PLS) permit multiple variables on the left-hand side of the model statement. Generalized linear models (LOGISTIC, GENMOD) and mixed models (FMM, MIXED, GLIMMIX) only support a single variable on the left-hand side.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 13:29:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-conduct-PROC-MIXED/m-p/566561#M27903</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-06-17T13:29:18Z</dc:date>
    </item>
  </channel>
</rss>

