<?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: Random slopes in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Random-slopes/m-p/630763#M30242</link>
    <description>&lt;P&gt;The first one, it gives both random intercepts and random slopes. The second gives random intercepts only. The third gives random slopes with a fixed intercept, which is probably almost never useful; although for that reason it may default to random slopes and intercepts, and the results would be the same as the first.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As an aside, technically it’s best practice to only add random slopes it they significantly improve your model fit over random intercepts only. It’s a matter of parsimony.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Mar 2020 21:57:42 GMT</pubDate>
    <dc:creator>tellmeaboutityo</dc:creator>
    <dc:date>2020-03-09T21:57:42Z</dc:date>
    <item>
      <title>Random slopes</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-slopes/m-p/626553#M30142</link>
      <description>&lt;P&gt;Hello SAS users,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to add a level-1 predictor to my model and i am trying to allow the slopes of this predictor to vary across schools (ie random slopes).&lt;/P&gt;&lt;P&gt;I have written three codes for this but i am confused at which one it is. As all three gave me outputs. Can anyone who is familiar with proc mixed help me out?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc mixed data=me method= reml covtest ;
class school;
model y = ses / s ddfm=bw cl;
random intercept ses / subject=school g type=un s;
run;

OR
proc mixed data=me method= reml covtest ;
class school;
model y = ses / s ddfm=bw cl;
random intercept  / subject=school g type=un s;
run;

OR
proc mixed data=me method= reml covtest ;
class school;
model y = ses / s ddfm=bw cl;
random  ses / subject=school g type=un s;
run;


&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Feb 2020 20:32:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-slopes/m-p/626553#M30142</guid>
      <dc:creator>ChuksManuel</dc:creator>
      <dc:date>2020-02-21T20:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Random slopes</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-slopes/m-p/630763#M30242</link>
      <description>&lt;P&gt;The first one, it gives both random intercepts and random slopes. The second gives random intercepts only. The third gives random slopes with a fixed intercept, which is probably almost never useful; although for that reason it may default to random slopes and intercepts, and the results would be the same as the first.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As an aside, technically it’s best practice to only add random slopes it they significantly improve your model fit over random intercepts only. It’s a matter of parsimony.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 21:57:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-slopes/m-p/630763#M30242</guid>
      <dc:creator>tellmeaboutityo</dc:creator>
      <dc:date>2020-03-09T21:57:42Z</dc:date>
    </item>
  </channel>
</rss>

