<?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: Negative Binomial GLIMMIX Simple Slopes in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Negative-Binomial-GLIMMIX-Simple-Slopes/m-p/879278#M43493</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60873"&gt;@jiltao&lt;/a&gt;&amp;nbsp;- apologies for the delay, finally getting back around to this project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion. I tried running a PROC CONTENTS on those datasets.&lt;/P&gt;&lt;P&gt;I was able to successfully run it on the WORK.TIMEOUT dataset but SAS could not locate the interaction/scoring dataset. It is not in my WORK folder or anywhere else.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you have any thoughts.&amp;nbsp;Is this something I need to contact SAS support for?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks much.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jun 2023 17:26:14 GMT</pubDate>
    <dc:creator>PSB</dc:creator>
    <dc:date>2023-06-05T17:26:14Z</dc:date>
    <item>
      <title>Negative Binomial GLIMMIX Simple Slopes</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Negative-Binomial-GLIMMIX-Simple-Slopes/m-p/875901#M43302</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm attempting to probe and plot interactions of my negative binomial that was analyzed using PROC GLIMMIX. Briefly, I'm examining the effect of two continuous variables. treatment week (ranging from 1-8) and affect, on various skewed and overdispersedoutcomes, along with several covariates (all mean-centered prior to analysis) and an offset to account for differences in exposure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Across my models, I have two significant interactions but am having difficulty plotting them. I've been following the resources through UCLA (&lt;A href="https://stats.oarc.ucla.edu/sas/seminars/analyzing-and-visualizing-interactions/" target="_blank" rel="noopener"&gt;https://stats.oarc.ucla.edu/sas/seminars/analyzing-and-visualizing-interactions/&lt;/A&gt;). I'm able to successfully store my interaction. I then run an estimate&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;*Week = 3 (centered mid-way pt);
*CU = 0 (centered mean);
Title 'Estimating AB using';
PROC PLM restore = INT;
estimate 'pred behavior_aggress, cweek = 3, CU = 0' intercept 1 cweek 3 cpticu24 0 week*pticu24 0 / e;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am successfully able to test my simple slopes and find that the effect of time leads to less aggressive bx at lower levels of the affective trait. Here is where I run into trouble:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;***I'm using the mean centered values to create a dataset called timeout
-11.64 = value of affect 1 SD below mean
-.76 = value of mean affect
10.12 = value of affect 1 SD above mean;
Title 'creating dataset to plot interactions';
data timeout;
do ccu = -11.64, -.76, 10.12;
	do cweek = 1 to 8 by 0.1;
		output;
	end;
end;
run;

***I then set the layout of the plot;
Title 'Setting layout of plot';
PROC PLM source = AGGBXINT;
score data = timeout out = plotdata predicted = pred lclm = lower uclm = upper;
RUN; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I get the following error: At least one variable used in the model is not present or has incompatible type in the WORK.TIMEOUT score data set. All computed score variables are set to missing in&amp;nbsp;WORK.PLOTDATA.&lt;/P&gt;&lt;P&gt;Plotting the figure via SGPLOT doesn't happen because the LL/UL values haven't been computed. My variables appear to be formatted correctly and I don't have any missing data. Importantly, I get this same error when I use non-centered variables (i.e., no negative values for 1 SD below the mean).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've scoured the internet with little luck and would love any/all feedback.&lt;/P&gt;&lt;P&gt;I imagine I'm doing something terribly wrong.&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>Mon, 15 May 2023 23:49:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Negative-Binomial-GLIMMIX-Simple-Slopes/m-p/875901#M43302</guid>
      <dc:creator>PSB</dc:creator>
      <dc:date>2023-05-15T23:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Binomial GLIMMIX Simple Slopes</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Negative-Binomial-GLIMMIX-Simple-Slopes/m-p/876063#M43309</link>
      <description>&lt;P&gt;This error message:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;At least one variable used in the model is not present or has incompatible type in the WORK.TIMEOUT score data set.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;suggests that you might want to examine variables included in your modeling data set and this scoring data set TIMEOUT. Maybe do a PROC CONTENTS on both data sets to find the discrepancy.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jill&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 17:51:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Negative-Binomial-GLIMMIX-Simple-Slopes/m-p/876063#M43309</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2023-05-16T17:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Binomial GLIMMIX Simple Slopes</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Negative-Binomial-GLIMMIX-Simple-Slopes/m-p/879278#M43493</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60873"&gt;@jiltao&lt;/a&gt;&amp;nbsp;- apologies for the delay, finally getting back around to this project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion. I tried running a PROC CONTENTS on those datasets.&lt;/P&gt;&lt;P&gt;I was able to successfully run it on the WORK.TIMEOUT dataset but SAS could not locate the interaction/scoring dataset. It is not in my WORK folder or anywhere else.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you have any thoughts.&amp;nbsp;Is this something I need to contact SAS support for?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks much.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 17:26:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Negative-Binomial-GLIMMIX-Simple-Slopes/m-p/879278#M43493</guid>
      <dc:creator>PSB</dc:creator>
      <dc:date>2023-06-05T17:26:14Z</dc:date>
    </item>
  </channel>
</rss>

