<?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: SAS PROC PLM Simple Slopes &amp;amp; Plot Don't Match in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-PROC-PLM-Simple-Slopes-amp-Plot-Don-t-Match/m-p/868640#M42950</link>
    <description>How would I go about making the slicefit plot and the estimate results match? I just need to prove what the overall significant interaction term looks like, and test the significance of the simple slopes.&lt;BR /&gt;&lt;BR /&gt;I'm sorry for all my questions but I really don't understand this a lot, so I'm not sure how to resolve the issue of the average effects being computed either.</description>
    <pubDate>Fri, 07 Apr 2023 17:35:44 GMT</pubDate>
    <dc:creator>madisonsmith</dc:creator>
    <dc:date>2023-04-07T17:35:44Z</dc:date>
    <item>
      <title>SAS PROC PLM Simple Slopes &amp; Plot Don't Match</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-PROC-PLM-Simple-Slopes-amp-Plot-Don-t-Match/m-p/868532#M42936</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am running a multivariate PROC MIXED model with a combination of continuous, categorical, and spline variables (syntax below). I have observed a significant interaction between&amp;nbsp;fobss_total_personmean (continuous) and TransitionRelat (categorical, 0/1). I have attempted to probe this and test significance of the simple slopes using PROC PLM, but the direction of the slopes in the table clearly don't match; one slope is positive and one is negative in the table whereas in the figure, both are clearly positive. What am I doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PROC MIXED data=work.import covtest noclprint method = ML; 
class fab400_id partner(ref="Yes") TransitionSingle(ref="Continuance of Singlehood OR In a Relationship") 
TransitionRelat(ref="Continuance of Relationship OR Being Single") GID_Male(ref="Gender2") dem06_L2(ref="Gender2"); 
model pss_sum = Age_T1 GID_male dem06_L2 visit partner Length2 TransitionSingle TransitionRelat Time mspss_total_personmean fobss_total_personmean 
partner*fobss_total_personmean Length2*fobss_total_personmean TransitionSingle*fobss_total_personmean TransitionRelat*fobss_total_personmean
Time*fobss_total_personmean /solution; 
random intercept visit / sub=fab400_id type=vc;
Repeated / Subject=fab400_id;
store pred1;
run;

proc plm restore=pred1;
estimate 'FOBS slope, Transition Relat 0' fobss_total_personmean 1 TransitionRelat*fobss_total_personmean 1 0,
'FOBS slope, Transition Relat 1' fobss_total_personmean 1 TransitionRelat*fobss_total_personmean 0 1 / e;
effectplot slicefit (x=fobss_total_personmean sliceby=TransitionRelat=0 1);
run;&lt;/PRE&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="madisonsmith_0-1680816159218.png" style="width: 538px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/82402i2783C5E5768243F1/image-dimensions/538x468?v=v2" width="538" height="468" role="button" title="madisonsmith_0-1680816159218.png" alt="madisonsmith_0-1680816159218.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="madisonsmith_1-1680816070997.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/82401iAF93B699F40F0A5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="madisonsmith_1-1680816070997.png" alt="madisonsmith_1-1680816070997.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Apr 2023 21:22:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-PROC-PLM-Simple-Slopes-amp-Plot-Don-t-Match/m-p/868532#M42936</guid>
      <dc:creator>madisonsmith</dc:creator>
      <dc:date>2023-04-06T21:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAS PROC PLM Simple Slopes &amp; Plot Don't Match</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-PROC-PLM-Simple-Slopes-amp-Plot-Don-t-Match/m-p/868597#M42944</link>
      <description>&lt;P&gt;I do not see your ESTIMATE statements in PROC MIXED. Please include that in your program.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jill&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 13:21:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-PROC-PLM-Simple-Slopes-amp-Plot-Don-t-Match/m-p/868597#M42944</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2023-04-07T13:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS PROC PLM Simple Slopes &amp; Plot Don't Match</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-PROC-PLM-Simple-Slopes-amp-Plot-Don-t-Match/m-p/868624#M42947</link>
      <description>&lt;P&gt;Actually I see the E option output that might represents the coefficients used in your ESTIMATE statements.&lt;/P&gt;
&lt;P&gt;The estimates are not the same as what PROC PLM plots. The effects in the E option output table are cut off due to long names so it is not easy to understand the effects, but it seems to me that some average of some effects are computed, which is not the case for the PROC PLM slicefit plot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 15:32:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-PROC-PLM-Simple-Slopes-amp-Plot-Don-t-Match/m-p/868624#M42947</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2023-04-07T15:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAS PROC PLM Simple Slopes &amp; Plot Don't Match</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-PROC-PLM-Simple-Slopes-amp-Plot-Don-t-Match/m-p/868640#M42950</link>
      <description>How would I go about making the slicefit plot and the estimate results match? I just need to prove what the overall significant interaction term looks like, and test the significance of the simple slopes.&lt;BR /&gt;&lt;BR /&gt;I'm sorry for all my questions but I really don't understand this a lot, so I'm not sure how to resolve the issue of the average effects being computed either.</description>
      <pubDate>Fri, 07 Apr 2023 17:35:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-PROC-PLM-Simple-Slopes-amp-Plot-Don-t-Match/m-p/868640#M42950</guid>
      <dc:creator>madisonsmith</dc:creator>
      <dc:date>2023-04-07T17:35:44Z</dc:date>
    </item>
  </channel>
</rss>

