<?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 draw graph of Proc mixed in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-draw-graph-of-Proc-mixed/m-p/896012#M354006</link>
    <description>&lt;P&gt;The EFFECTPLOT statement visualizes whatever model you specify. So if you want additional effects and interactions, include those in the model. The third link&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2016/06/22/sas-effectplot-statement.html" target="_blank" rel="nofollow noopener noreferrer"&gt;Use the EFFECTPLOT statement to visualize regression models in SAS - The DO Loop&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;shows many examples that are not linear predictors. Here's another example for you to study:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=Sashelp.Cars;
   class Origin(ref='Europe');
   model mpg_city = Horsepower | Origin Horsepower*Horsepower;
   store GLMModel3;
run;

proc plm restore=GLMModel3 noinfo;
   effectplot slicefit(x=Horsepower sliceby=Origin) / clm;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 27 Sep 2023 09:51:34 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2023-09-27T09:51:34Z</dc:date>
    <item>
      <title>how to draw graph of Proc mixed</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-draw-graph-of-Proc-mixed/m-p/895379#M353756</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want draw confidence graph(90 and 95%) of mixed random effects in SAS proc mixed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can i do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also want to draw a graph of the age effect considering the squared effect of age in the fixed effect results. Is this possible?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank u.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 06:08:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-draw-graph-of-Proc-mixed/m-p/895379#M353756</guid>
      <dc:creator>dongsunk</dc:creator>
      <dc:date>2023-09-22T06:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to draw graph of Proc mixed</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-draw-graph-of-Proc-mixed/m-p/895416#M353776</link>
      <description>&lt;P&gt;I don't understand your question about the random effects. I think it would be useful to see the SAS code that you are running.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For some general ideas about visualizing mixed models, see&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2019/12/05/longitudinal-data-mixed-model.html" target="_blank"&gt;Longitudinal data: The mixed model - The DO Loop (sas.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2018/12/19/visualize-mixed-model.html" target="_blank"&gt;Visualize a mixed model that has repeated measures or random coefficients - The DO Loop (sas.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding the fixed effects, yes, you can use PROC PLM and the EFFECTPLOT statement to construct plots like this. Without knowing what procedure you are using, the best I can offer is some general examples:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2016/06/22/sas-effectplot-statement.html" target="_blank"&gt;Use the EFFECTPLOT statement to visualize regression models in SAS - The DO Loop&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2019/05/30/visualize-interaction-effects-regression.html" target="_blank"&gt;Visualize interaction effects in regression models - The DO Loop (sas.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 10:27:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-draw-graph-of-Proc-mixed/m-p/895416#M353776</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2023-09-22T10:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to draw graph of Proc mixed</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-draw-graph-of-Proc-mixed/m-p/895980#M354001</link>
      <description>Thank u for your reply !&lt;BR /&gt;&lt;BR /&gt;I have another question.&lt;BR /&gt;&lt;BR /&gt;I want to show curve graph(ex U), but effectplot can show just linear effect how can i do?&lt;BR /&gt;&lt;BR /&gt;model y=age age_2&lt;BR /&gt;&lt;BR /&gt;thank u !</description>
      <pubDate>Wed, 27 Sep 2023 00:58:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-draw-graph-of-Proc-mixed/m-p/895980#M354001</guid>
      <dc:creator>dongsunk</dc:creator>
      <dc:date>2023-09-27T00:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to draw graph of Proc mixed</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-draw-graph-of-Proc-mixed/m-p/896012#M354006</link>
      <description>&lt;P&gt;The EFFECTPLOT statement visualizes whatever model you specify. So if you want additional effects and interactions, include those in the model. The third link&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2016/06/22/sas-effectplot-statement.html" target="_blank" rel="nofollow noopener noreferrer"&gt;Use the EFFECTPLOT statement to visualize regression models in SAS - The DO Loop&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;shows many examples that are not linear predictors. Here's another example for you to study:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=Sashelp.Cars;
   class Origin(ref='Europe');
   model mpg_city = Horsepower | Origin Horsepower*Horsepower;
   store GLMModel3;
run;

proc plm restore=GLMModel3 noinfo;
   effectplot slicefit(x=Horsepower sliceby=Origin) / clm;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Sep 2023 09:51:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-draw-graph-of-Proc-mixed/m-p/896012#M354006</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2023-09-27T09:51:34Z</dc:date>
    </item>
  </channel>
</rss>

