<?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: predicted value proc mixed in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/predicted-value-proc-mixed/m-p/56469#M2607</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the MIXED procedure, the &lt;EM&gt;repeated &lt;/EM&gt;statement specifies the structure of the covariance matrix R for the residuals; the &lt;EM&gt;random &lt;/EM&gt;statement controls the structure of the design matrix Z and specifies the structure for the covariance matrix G. Your model syntax has no &lt;EM&gt;random &lt;/EM&gt;statement; hence there is no Z matrix, there are no G-side covariance parameters, and the marginal predictions are equal to the conditional predictions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you thought it appropriate, you could consider an AR(1)+RE covariance structure, specified as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;random intercept / subject=id;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;repeated m_time / type=ar(1) subject=id;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where the &lt;EM&gt;random &lt;/EM&gt;statement now generates a Z matrix. &lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;See &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Littell, RC et al. (2000) Modelling covariance structure in the analysis of repeated measures data. Statistics in Medicine 19:1793-1819 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;for more information about the AR(1)+RE structure, including interpretation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;HTH,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Susan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Nov 2011 21:41:34 GMT</pubDate>
    <dc:creator>sld</dc:creator>
    <dc:date>2011-11-29T21:41:34Z</dc:date>
    <item>
      <title>predicted value proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/predicted-value-proc-mixed/m-p/56468#M2606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using this code for a model with fixed and random effects:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc mixed data=ds_input;&lt;/P&gt;&lt;P&gt;class id m_time;&lt;/P&gt;&lt;P&gt;model y=x1 x2 x3 /solution &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;outp=data1 outpm=data2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;repeated m_time / type=ar(1) subject=id;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I would like to calculate the predicted value : y=XB+ZU. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I thought that this was calculate with the option outp=data1 but I ve the same predicted values in data1 &amp;amp; data2 files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;How should I do to calculate the predicted value manually? No problem for the fixed effect but what about the random effect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I' ve this output&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" cellspacing="2" dir="ltr" width="195"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#ffffff" colspan="3" valign="bottom"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;SPAN lang="IT"&gt;&lt;P align="center" dir="ltr"&gt;Stime dei parametri di covarianza&lt;/P&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;P align="center" dir="ltr"&gt;&lt;/P&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN lang="IT"&gt;&lt;P align="center" dir="ltr"&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD bgcolor="#ffffff" valign="bottom" width="40%"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;SPAN lang="IT"&gt;&lt;P align="left" dir="ltr"&gt;Param cov&lt;/P&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;P align="left" dir="ltr"&gt;&lt;/P&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN lang="IT"&gt;&lt;P align="left" dir="ltr"&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" valign="bottom" width="35%"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;SPAN lang="IT"&gt;&lt;P align="left" dir="ltr"&gt;Soggetto&lt;/P&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;P align="left" dir="ltr"&gt;&lt;/P&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN lang="IT"&gt;&lt;P align="left" dir="ltr"&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" valign="bottom" width="25%"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;SPAN lang="IT"&gt;&lt;P align="right" dir="ltr"&gt;Stima&lt;/P&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;P align="right" dir="ltr"&gt;&lt;/P&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN lang="IT"&gt;&lt;P align="right" dir="ltr"&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD bgcolor="#ffffff" valign="top" width="40%"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;SPAN lang="IT"&gt;&lt;P align="left" dir="ltr"&gt;AR(1)&lt;/P&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;P align="left" dir="ltr"&gt;&lt;/P&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN lang="IT"&gt;&lt;P align="left" dir="ltr"&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" valign="top" width="35%"&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;SPAN lang="IT"&gt;&lt;P align="left" dir="ltr"&gt;hosp&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P align="left" dir="ltr"&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;SPAN lang="IT"&gt;&lt;P align="left" dir="ltr"&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" valign="top" width="25%"&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;SPAN lang="IT"&gt;&lt;P align="right" dir="ltr"&gt;x.xxxx&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P align="right" dir="ltr"&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;SPAN lang="IT"&gt;&lt;P align="right" dir="ltr"&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD bgcolor="#ffffff" valign="top" width="40%"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;SPAN lang="IT"&gt;&lt;P align="left" dir="ltr"&gt;Residual&lt;/P&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;P align="left" dir="ltr"&gt;&lt;/P&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN lang="IT"&gt;&lt;P align="left" dir="ltr"&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" valign="top" width="35%"&gt;　&lt;/TD&gt;&lt;TD bgcolor="#ffffff" valign="top" width="25%"&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;SPAN lang="IT"&gt;&lt;P align="right" dir="ltr"&gt;x.xxxx&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P align="right" dir="ltr"&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;SPAN lang="IT"&gt;&lt;P align="right" dir="ltr"&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;Thank for any help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 18:29:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/predicted-value-proc-mixed/m-p/56468#M2606</guid>
      <dc:creator>L_L</dc:creator>
      <dc:date>2011-11-29T18:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: predicted value proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/predicted-value-proc-mixed/m-p/56469#M2607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the MIXED procedure, the &lt;EM&gt;repeated &lt;/EM&gt;statement specifies the structure of the covariance matrix R for the residuals; the &lt;EM&gt;random &lt;/EM&gt;statement controls the structure of the design matrix Z and specifies the structure for the covariance matrix G. Your model syntax has no &lt;EM&gt;random &lt;/EM&gt;statement; hence there is no Z matrix, there are no G-side covariance parameters, and the marginal predictions are equal to the conditional predictions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you thought it appropriate, you could consider an AR(1)+RE covariance structure, specified as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;random intercept / subject=id;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;repeated m_time / type=ar(1) subject=id;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where the &lt;EM&gt;random &lt;/EM&gt;statement now generates a Z matrix. &lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;See &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Littell, RC et al. (2000) Modelling covariance structure in the analysis of repeated measures data. Statistics in Medicine 19:1793-1819 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;for more information about the AR(1)+RE structure, including interpretation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;HTH,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Susan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 21:41:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/predicted-value-proc-mixed/m-p/56469#M2607</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2011-11-29T21:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: predicted value proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/predicted-value-proc-mixed/m-p/56470#M2608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I'm back to you again..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I run the model belove as suggest:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc mixed data=ds_input;&lt;/P&gt;&lt;P&gt;class id m_time;&lt;/P&gt;&lt;P&gt;model y=x1 x2 x3 /solution; &lt;/P&gt;&lt;P&gt;random intercept / subject=id;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;repeated m_time / type=ar(1) subject=id;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;I would like to run the same model without intercept (option noint in the model statement). Is it possible? What about random statement?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Thanks for any help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Kind Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 13:37:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/predicted-value-proc-mixed/m-p/56470#M2608</guid>
      <dc:creator>L_L</dc:creator>
      <dc:date>2011-12-07T13:37:54Z</dc:date>
    </item>
    <item>
      <title>predicted value proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/predicted-value-proc-mixed/m-p/56471#M2609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I’m assuming here that x1, x2 and x3 are measured on each subject=id at each level of m_time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;random intercept / subject=id;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;produces a regression of y on x1, x2 and x3 for each subject where the slopes for x1, x2, and x3 are constant (the same) for all subjects, and the intercepts vary among subjects. In the example I experimented with, including or omitting &lt;EM&gt;noint &lt;/EM&gt;on the &lt;EM&gt;model &lt;/EM&gt;statement makes little difference in the estimated regression coefficients—the results vary, but not by much. Notably, intercepts still vary among subjects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do you want to use the &lt;EM&gt;noint &lt;/EM&gt;option? If you are just trying to get the regression coefficient estimates for each subject, you could compute them by hand or, better yet, use the code from Section 8.2 in Littell, RC et al., 2006, SAS for Mixed Models, 2nd ed, Cary, NC: SAS Institute Inc:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc mixed data=wheat covtest cl scoring=8;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class variety;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; model yield = moist / solution;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; random int moist / type=un sub=variety solution G Gcorr;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ods output solutionf=fixed solutionr=random;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data lines;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; merge random(where=(effect='Intercept') rename=(estimate=rint))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; random(where=(effect='moist'&amp;nbsp;&amp;nbsp;&amp;nbsp; ) rename=(estimate=rslope));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if _n_ = 1 then merge &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fixed(where=(effect='Intercept') rename=(estimate=fint))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fixed(where=(effect='moist'&amp;nbsp;&amp;nbsp;&amp;nbsp; ) rename=(estimate=fslope));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; intercept = fint&amp;nbsp;&amp;nbsp; + rint;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; slope&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = fslope + rslope;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; keep variety fint fslope rint rslope intercept slope;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc print data=lines; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; var variety fint rint intercept fslope rslope slope;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This example specifies a random intercepts and random slopes model, but you could modify the code for only random intercepts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;Susan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 20:19:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/predicted-value-proc-mixed/m-p/56471#M2609</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2011-12-07T20:19:48Z</dc:date>
    </item>
  </channel>
</rss>

