<?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 Plotting Prox Mixed Output in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Plotting-Prox-Mixed-Output/m-p/516905#M73346</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to plot output from a 2-level MLM analysis. I've used ODS to save the output parameters, but have no idea how to make a coherent plot from this that will show differences in growth. I would like to examine the differences in both slope and intercept for craving (variable is TD_Craving) over time for individuals at three levels of negative affect (TD_NA).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS University Edition and the code that I'm using for the model is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc mixed covtest data = twelveday method=ml;&lt;BR /&gt;class subject_id gender2;&lt;BR /&gt;model TD_craving = day age gender2 TD_NA / solution ddfm = betwithin;&lt;BR /&gt;random intercept day /sub=subject_id type=vc solution;&lt;BR /&gt; ods output solutionf=sf(rename=(estimate=overall));&lt;BR /&gt; ods output solutionr=sr(rename=(estimate=ssdev));&lt;BR /&gt;run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attempted both proc sgplot and proc plm with no success (though this just means I probably am not using it correctly).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody have recommendations as to how to plot slopes and intercepts for individuals at varying levels of a trait such as negative affect? Do I need to assign each person to a high/low/medium level of TD_NA and then include that in the class statement?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 28 Nov 2018 23:16:39 GMT</pubDate>
    <dc:creator>gjenkins3</dc:creator>
    <dc:date>2018-11-28T23:16:39Z</dc:date>
    <item>
      <title>Plotting Prox Mixed Output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Plotting-Prox-Mixed-Output/m-p/516905#M73346</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to plot output from a 2-level MLM analysis. I've used ODS to save the output parameters, but have no idea how to make a coherent plot from this that will show differences in growth. I would like to examine the differences in both slope and intercept for craving (variable is TD_Craving) over time for individuals at three levels of negative affect (TD_NA).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS University Edition and the code that I'm using for the model is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc mixed covtest data = twelveday method=ml;&lt;BR /&gt;class subject_id gender2;&lt;BR /&gt;model TD_craving = day age gender2 TD_NA / solution ddfm = betwithin;&lt;BR /&gt;random intercept day /sub=subject_id type=vc solution;&lt;BR /&gt; ods output solutionf=sf(rename=(estimate=overall));&lt;BR /&gt; ods output solutionr=sr(rename=(estimate=ssdev));&lt;BR /&gt;run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attempted both proc sgplot and proc plm with no success (though this just means I probably am not using it correctly).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody have recommendations as to how to plot slopes and intercepts for individuals at varying levels of a trait such as negative affect? Do I need to assign each person to a high/low/medium level of TD_NA and then include that in the class statement?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 23:16:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Plotting-Prox-Mixed-Output/m-p/516905#M73346</guid>
      <dc:creator>gjenkins3</dc:creator>
      <dc:date>2018-11-28T23:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting Prox Mixed Output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Plotting-Prox-Mixed-Output/m-p/519491#M73355</link>
      <description>&lt;P&gt;After you STORE the model into an item store, you can &lt;A href="https://blogs.sas.com/content/iml/2016/06/22/sas-effectplot-statement.html" target="_self"&gt;use the EFFECTPLOT statement in PROC PLM &lt;/A&gt;to visualize the predicted values for the model. (For procedures that do not support the STORE statement, you can &lt;A href="https://blogs.sas.com/content/iml/2017/12/20/create-sliced-fit-plot-sas.html" target="_self"&gt;create an effect plot manually&lt;/A&gt;.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also use the OUTPREDM= option on the MODEL statement to output the predicted means yourself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 17:39:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Plotting-Prox-Mixed-Output/m-p/519491#M73355</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-12-07T17:39:10Z</dc:date>
    </item>
  </channel>
</rss>

