<?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 Regression for fixed effects with Proc GLM or Proc Panel ? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Regression-for-fixed-effects-with-Proc-GLM-or-Proc-Panel/m-p/634008#M30367</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to ansewer to the below problem :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pb1.png" style="width: 871px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37196iF5DEF58ECC5895F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pb1.png" alt="pb1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;using Proc GLM :&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SORT
	DATA=TAB2 (keep= Country Sex Age Group year EmployPop ImmiShare )
	OUT=Sorted_TAB2;
	BY Group ;
RUN;

TITLE "Model M1";
Proc glm Data=Sorted_TAB2;
class year country ;
model EmployPop=ImmiShare/solution alpha=0.05 ;
by group ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But&amp;nbsp; I am confused if my model is right or not since I have fixed effects (group, year and country).&lt;/P&gt;&lt;P&gt;Proc GLM or Proc Panel can give the same result ?&lt;/P&gt;&lt;P&gt;And if it is right&amp;nbsp;using absorb or class is it the same in my case ? Proc Sort by group is necessary ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And How Can I explicit&amp;nbsp; the null and alternative hypotheses, the test statistic, the rejection rule and the degrees of freedom.&lt;/P&gt;&lt;P&gt;Any help will be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: this is an overview of my data :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2222.PNG" style="width: 681px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37197iE5ABDF18940644F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="2222.PNG" alt="2222.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 22 Mar 2020 22:50:55 GMT</pubDate>
    <dc:creator>KarimaTouati</dc:creator>
    <dc:date>2020-03-22T22:50:55Z</dc:date>
    <item>
      <title>Regression for fixed effects with Proc GLM or Proc Panel ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Regression-for-fixed-effects-with-Proc-GLM-or-Proc-Panel/m-p/634008#M30367</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to ansewer to the below problem :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pb1.png" style="width: 871px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37196iF5DEF58ECC5895F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pb1.png" alt="pb1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;using Proc GLM :&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SORT
	DATA=TAB2 (keep= Country Sex Age Group year EmployPop ImmiShare )
	OUT=Sorted_TAB2;
	BY Group ;
RUN;

TITLE "Model M1";
Proc glm Data=Sorted_TAB2;
class year country ;
model EmployPop=ImmiShare/solution alpha=0.05 ;
by group ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But&amp;nbsp; I am confused if my model is right or not since I have fixed effects (group, year and country).&lt;/P&gt;&lt;P&gt;Proc GLM or Proc Panel can give the same result ?&lt;/P&gt;&lt;P&gt;And if it is right&amp;nbsp;using absorb or class is it the same in my case ? Proc Sort by group is necessary ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And How Can I explicit&amp;nbsp; the null and alternative hypotheses, the test statistic, the rejection rule and the degrees of freedom.&lt;/P&gt;&lt;P&gt;Any help will be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: this is an overview of my data :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2222.PNG" style="width: 681px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37197iE5ABDF18940644F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="2222.PNG" alt="2222.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2020 22:50:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Regression-for-fixed-effects-with-Proc-GLM-or-Proc-Panel/m-p/634008#M30367</guid>
      <dc:creator>KarimaTouati</dc:creator>
      <dc:date>2020-03-22T22:50:55Z</dc:date>
    </item>
  </channel>
</rss>

