<?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 lincom function in proc mixed in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/lincom-function-in-proc-mixed/m-p/468354#M24352</link>
    <description>&lt;P&gt;I am trying to get an estimated from the model I ran using Proc Mix for a continuous variables (ie. year). Is there a easy way to output Y for year=x fixing the other covariates at certain level? such as the lincom command in Stata?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I.e.&amp;nbsp;&lt;/P&gt;&lt;P&gt;y=intercept+b1(year)+b2(sex)+b3(race)+b4(exposure)+b5(year^2)+b6(exposure*year)+b7(exposure*year^2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jun 2018 13:21:12 GMT</pubDate>
    <dc:creator>sasbee</dc:creator>
    <dc:date>2018-06-07T13:21:12Z</dc:date>
    <item>
      <title>lincom function in proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/lincom-function-in-proc-mixed/m-p/468354#M24352</link>
      <description>&lt;P&gt;I am trying to get an estimated from the model I ran using Proc Mix for a continuous variables (ie. year). Is there a easy way to output Y for year=x fixing the other covariates at certain level? such as the lincom command in Stata?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I.e.&amp;nbsp;&lt;/P&gt;&lt;P&gt;y=intercept+b1(year)+b2(sex)+b3(race)+b4(exposure)+b5(year^2)+b6(exposure*year)+b7(exposure*year^2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 13:21:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/lincom-function-in-proc-mixed/m-p/468354#M24352</guid>
      <dc:creator>sasbee</dc:creator>
      <dc:date>2018-06-07T13:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: lincom function in proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/lincom-function-in-proc-mixed/m-p/468413#M24353</link>
      <description>&lt;P&gt;This is called a "slice" through the response surface. There are two approaches:&lt;/P&gt;
&lt;P&gt;1. If you want a graph of the predicted response versus the Year, holding other variables fixed, you can&amp;nbsp;&lt;A href="https://blogs.sas.com/content/iml/2016/06/22/sas-effectplot-statement.html" target="_self"&gt;use the&amp;nbsp;EFFECTPLOT statement in several SAS regression procedures.&lt;/A&gt;&amp;nbsp;However, mixed modeling procedures do not support the EFFECTPLOT statement directly, you have to STORE the model and then &lt;A href="https://blogs.sas.com/content/iml/2017/12/20/create-sliced-fit-plot-sas.html" target="_self"&gt;use PROC PLM to create the sliced fit plot.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. If you want a table that shows the predicted responses at particular values of Year (holding other variables constant), you can&amp;nbsp;STORE the model and then&amp;nbsp;&lt;A href="https://blogs.sas.com/content/iml/2014/02/19/scoring-a-regression-model-in-sas.html" target="_self"&gt;use PROC PLM and the SCORE statement&amp;nbsp;to score the model on whatever values you want.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The nice thing about the graphical method is there is built-in support for&amp;nbsp;fixing the covariates at the mean or median. For the scoring method, you would have to&amp;nbsp;precompute those values yourself if you want to use them as the covariate values.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 15:32:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/lincom-function-in-proc-mixed/m-p/468413#M24353</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-06-07T15:32:32Z</dc:date>
    </item>
  </channel>
</rss>

