<?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: Multilevel Model with Proc Mixed won't estimate random slopes! in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Multilevel-Model-with-Proc-Mixed-won-t-estimate-random-slopes/m-p/507928#M26068</link>
    <description>&lt;P&gt;In the absence of other details, I doubt that Noise_level is a random effects factor. I would think it would be fixed. You do not need Noise_level to be a random effects factor to model "individual differences in the IV/DV slope".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If Noise_levels 1...8 are not the same for each subject, the model is still correct (although it might require modifications, depending on the actual noise levels for each subject); however unequal levels does &lt;EM&gt;not&lt;/EM&gt; imply that Noise_level is a random effects factor: it is still fixed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your model seems consistent with your description of the study design.&amp;nbsp;Things I would consider:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) There actually is little variance in slopes among subjects, and so the variance among slopes is set to zero by the algorithm. Visually, you could assess this by plotting the observed data appropriately. (Always plot your data.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(2) The UN type is not adequately supported by the data. (Most data sets that I work with have this problem; you need a large sample size to be&amp;nbsp;consistently successful with UN.) Try setting the intercept-slope covariance to zero.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(3) Try rescaling the response variable to see what effect that has on your estimates. Consult&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings15/SAS1919-2015.pdf" target="_self"&gt;https://support.sas.com/resources/papers/proceedings15/SAS1919-2015.pdf&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings12/332-2012.pdf" target="_self"&gt;http://support.sas.com/resources/papers/proceedings12/332-2012.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;for this and other modifications that might help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I sense that your understanding of random coefficient models is not fully complete, and thus you have&amp;nbsp;appreciable confusion. The idea of a random coefficients model is that the model is fitting a regression (in your model, this regression is linear) of Math_reaction_time on Noise_level for each subject&amp;nbsp;in the framework of a hierarchical model, such that Noise_level is a fixed effects factor and Subject is a random effects factor. There may be variance among intercepts, there may be variance among slopes, and there may be a covariance between intercepts and slopes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 27 Oct 2018 02:05:43 GMT</pubDate>
    <dc:creator>sld</dc:creator>
    <dc:date>2018-10-27T02:05:43Z</dc:date>
    <item>
      <title>Multilevel Model with Proc Mixed won't estimate random slopes!</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multilevel-Model-with-Proc-Mixed-won-t-estimate-random-slopes/m-p/507617#M26060</link>
      <description>&lt;P&gt;Hello Everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to run a MLM using "Proc mixed" (see code below). The model has a LEVEL 1 PREDICTOR which is identical for each subject. Specifically, people heard one of 8 different noise levels, and we subsequently tested reaction time to complete math problems. This noise level variable is an interval variable with possible values of 1,2,3,4,5,6,7,8. Importantly, I would like to let this level 1 predictor be random, so as to model individual differences in the IV/DV slope.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My PROBLEM/question is that Proc Mixed seems to recognize the fact that there is no between-person variance in this predictor, and so appears to not be modeling individual differences in the IV/DV slope. I'll paste in the results for Covariance Parameter Estimates below, with the problem being the UN(2,2) parameter is not estimated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I correct in assuming SAS is not modeling individual differences in the IV/DV slope? And how can I coax it to model these effects?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much!!&lt;/P&gt;&lt;P&gt;Robbie&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Covariance Parameter Estimates&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Cov Parm&lt;/TD&gt;&lt;TD&gt;Subject&lt;/TD&gt;&lt;TD&gt;Estimate&lt;/TD&gt;&lt;TD&gt;StandardError&lt;/TD&gt;&lt;TD&gt;Z Value&lt;/TD&gt;&lt;TD&gt;Pr Z&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;UN(1,1)&lt;/TD&gt;&lt;TD&gt;Subject&lt;/TD&gt;&lt;TD&gt;0.02698&lt;/TD&gt;&lt;TD&gt;0.003031&lt;/TD&gt;&lt;TD&gt;8.9&lt;/TD&gt;&lt;TD&gt;&amp;lt;.0001&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;UN(2,1)&lt;/TD&gt;&lt;TD&gt;Subject&lt;/TD&gt;&lt;TD&gt;2.10E-06&lt;/TD&gt;&lt;TD&gt;0.000257&lt;/TD&gt;&lt;TD&gt;0.01&lt;/TD&gt;&lt;TD&gt;0.9935&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;UN(2,2)&lt;/TD&gt;&lt;TD&gt;Subject&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Residual&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;0.05797&lt;/TD&gt;&lt;TD&gt;0.000519&lt;/TD&gt;&lt;TD&gt;111.61&lt;/TD&gt;&lt;TD&gt;&amp;lt;.0001&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC Mixed NOITPRINT NOCLPRINT COVTEST MAXITER=250; CLASS Subject;&lt;/P&gt;&lt;P&gt;MODEL&amp;nbsp; Math_reaction_time = Noise_level&lt;/P&gt;&lt;P&gt;/ SOLUTION DDFM=BW COVB NOTEST;&lt;/P&gt;&lt;P&gt;RANDOM INTERCEPT Noise_level /SUB=Subject TYPE=UN; ODS EXCLUDE NOBS; RUN;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 23:29:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multilevel-Model-with-Proc-Mixed-won-t-estimate-random-slopes/m-p/507617#M26060</guid>
      <dc:creator>Robert_Klein_ND</dc:creator>
      <dc:date>2018-10-25T23:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Multilevel Model with Proc Mixed won't estimate random slopes!</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multilevel-Model-with-Proc-Mixed-won-t-estimate-random-slopes/m-p/507928#M26068</link>
      <description>&lt;P&gt;In the absence of other details, I doubt that Noise_level is a random effects factor. I would think it would be fixed. You do not need Noise_level to be a random effects factor to model "individual differences in the IV/DV slope".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If Noise_levels 1...8 are not the same for each subject, the model is still correct (although it might require modifications, depending on the actual noise levels for each subject); however unequal levels does &lt;EM&gt;not&lt;/EM&gt; imply that Noise_level is a random effects factor: it is still fixed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your model seems consistent with your description of the study design.&amp;nbsp;Things I would consider:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) There actually is little variance in slopes among subjects, and so the variance among slopes is set to zero by the algorithm. Visually, you could assess this by plotting the observed data appropriately. (Always plot your data.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(2) The UN type is not adequately supported by the data. (Most data sets that I work with have this problem; you need a large sample size to be&amp;nbsp;consistently successful with UN.) Try setting the intercept-slope covariance to zero.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(3) Try rescaling the response variable to see what effect that has on your estimates. Consult&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings15/SAS1919-2015.pdf" target="_self"&gt;https://support.sas.com/resources/papers/proceedings15/SAS1919-2015.pdf&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings12/332-2012.pdf" target="_self"&gt;http://support.sas.com/resources/papers/proceedings12/332-2012.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;for this and other modifications that might help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I sense that your understanding of random coefficient models is not fully complete, and thus you have&amp;nbsp;appreciable confusion. The idea of a random coefficients model is that the model is fitting a regression (in your model, this regression is linear) of Math_reaction_time on Noise_level for each subject&amp;nbsp;in the framework of a hierarchical model, such that Noise_level is a fixed effects factor and Subject is a random effects factor. There may be variance among intercepts, there may be variance among slopes, and there may be a covariance between intercepts and slopes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Oct 2018 02:05:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multilevel-Model-with-Proc-Mixed-won-t-estimate-random-slopes/m-p/507928#M26068</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2018-10-27T02:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multilevel Model with Proc Mixed won't estimate random slopes!</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multilevel-Model-with-Proc-Mixed-won-t-estimate-random-slopes/m-p/511453#M26179</link>
      <description>&lt;P&gt;Thanks so much for the clarification!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 17:51:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multilevel-Model-with-Proc-Mixed-won-t-estimate-random-slopes/m-p/511453#M26179</guid>
      <dc:creator>Robert_Klein_ND</dc:creator>
      <dc:date>2018-11-08T17:51:24Z</dc:date>
    </item>
  </channel>
</rss>

