<?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 Proc Autoreg Class vs BY in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Autoreg-Class-vs-BY/m-p/590927#M75991</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to work on an ensemble model, one of which being an auto regressive model. I have a grouping variable(ID) and I am not sure what the difference is between the Class and By statements for this proc. I have only been able to find information on the difference in other procs(a lot of proc means).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If someone could explain how the class statement would effect my output that would be great!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2019 14:10:58 GMT</pubDate>
    <dc:creator>alexgouv</dc:creator>
    <dc:date>2019-09-23T14:10:58Z</dc:date>
    <item>
      <title>Proc Autoreg Class vs BY</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Autoreg-Class-vs-BY/m-p/590927#M75991</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to work on an ensemble model, one of which being an auto regressive model. I have a grouping variable(ID) and I am not sure what the difference is between the Class and By statements for this proc. I have only been able to find information on the difference in other procs(a lot of proc means).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If someone could explain how the class statement would effect my output that would be great!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 14:10:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Autoreg-Class-vs-BY/m-p/590927#M75991</guid>
      <dc:creator>alexgouv</dc:creator>
      <dc:date>2019-09-23T14:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Autoreg Class vs BY</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Autoreg-Class-vs-BY/m-p/591048#M75992</link>
      <description>&lt;P&gt;The class statement has the same role in all regression procs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A CLASS statement declares a categorical variable for use in your model. Parameters will be fitted for each level of the class variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A BY statement fits as many models as there are by-levels. It is a shortcut to submitting the proc for every level of the by-variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;by sex;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;model weight = height;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;fits two models with separate slopes and interceps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;class sex;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;model weight = sex height;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;fits a single model with two interceps and a single slope.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hth&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 21:26:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Autoreg-Class-vs-BY/m-p/591048#M75992</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-09-23T21:26:17Z</dc:date>
    </item>
  </channel>
</rss>

