<?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 GLM  documents about two-way fixed effects explanation in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-documents-about-two-way-fixed-effects-explanation/m-p/720337#M34867</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am normally using STATA to run the regression, now after knowing the aesthetic of SAS, I changed to use the SAS EG.&lt;/P&gt;
&lt;P&gt;Regarding running the regression with two-way fixed effects, we normally use PROC GLM as the sample below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=merge_sample;
    class type yr;
    model wtot_ass = fir_age wfirm_size pt type yr/solution ss3;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But when I read the document from the link (&lt;A href="https://support.sas.com/rnd/app/stat/procedures/glm.html" target="_blank" rel="noopener"&gt;https://support.sas.com/rnd/app/stat/procedures/glm.html&lt;/A&gt;), I did not see any guidance relating to two-way fixed effect.&lt;/P&gt;
&lt;P&gt;And one more question, when I want to run the regression above without intercept, what should I adjust the code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm regards.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Feb 2021 22:12:23 GMT</pubDate>
    <dc:creator>Phil_NZ</dc:creator>
    <dc:date>2021-02-18T22:12:23Z</dc:date>
    <item>
      <title>PROC GLM  documents about two-way fixed effects explanation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-documents-about-two-way-fixed-effects-explanation/m-p/720337#M34867</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am normally using STATA to run the regression, now after knowing the aesthetic of SAS, I changed to use the SAS EG.&lt;/P&gt;
&lt;P&gt;Regarding running the regression with two-way fixed effects, we normally use PROC GLM as the sample below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=merge_sample;
    class type yr;
    model wtot_ass = fir_age wfirm_size pt type yr/solution ss3;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But when I read the document from the link (&lt;A href="https://support.sas.com/rnd/app/stat/procedures/glm.html" target="_blank" rel="noopener"&gt;https://support.sas.com/rnd/app/stat/procedures/glm.html&lt;/A&gt;), I did not see any guidance relating to two-way fixed effect.&lt;/P&gt;
&lt;P&gt;And one more question, when I want to run the regression above without intercept, what should I adjust the code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm regards.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 22:12:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-documents-about-two-way-fixed-effects-explanation/m-p/720337#M34867</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-02-18T22:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLM  documents about two-way fixed effects explanation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-documents-about-two-way-fixed-effects-explanation/m-p/720435#M34880</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/212695"&gt;@Phil_NZ&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am normally using STATA to run the regression, now after knowing the aesthetic of SAS, I changed to use the SAS EG.&lt;/P&gt;
&lt;P&gt;Regarding running the regression with two-way fixed effects, we normally use PROC GLM as the sample below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=merge_sample;
    class type yr;
    model wtot_ass = fir_age wfirm_size pt type yr/solution ss3;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But when I read the document from the link (&lt;A href="https://support.sas.com/rnd/app/stat/procedures/glm.html" target="_blank" rel="noopener"&gt;https://support.sas.com/rnd/app/stat/procedures/glm.html&lt;/A&gt;), I did not see any guidance relating to two-way fixed effect.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Do you mean two-way interaction?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;And one more question, when I want to run the regression above without intercept, what should I adjust the code?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Without strong justification based on the logic of the problem, running regressions without an intercept is a bad idea, and doesn't usually fit the data well. So, do you have such a strong justification?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A better link to PROC GLM documentation is:&amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_glm_toc.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_glm_toc.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 12:17:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-documents-about-two-way-fixed-effects-explanation/m-p/720435#M34880</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-02-19T12:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLM  documents about two-way fixed effects explanation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-documents-about-two-way-fixed-effects-explanation/m-p/720473#M34881</link>
      <description>&lt;P&gt;If you are estimting two-way fixed model for cross section and time variable you can consider using either PROC PANEL in SAS/ETS or PROC GLM or PROC MIXED in SAS/STAT.&amp;nbsp; The following SAS Usage Note&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/22851" target="_blank"&gt;http://support.sas.com/kb/22851&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;demonstrates the syntax for estimating fixed and random effects models using PROC PANEL and PROC MIXED.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The NOINT option in the MODEL statement will suppress the intercept from the model.&amp;nbsp; For example,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODEL Y = x1 - x10 state year / noint solution;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The PROC MIXED procedure is documented in the ONLINE DOC under SAS/STAT User's Guide. You may access the&amp;nbsp;PROC MIXED documention:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_mixed_syntax.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en"&gt;http://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_mixed_syntax.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;and the go to SAS/STAT--SAS/STAT User's Guide-- The Mixed Procedure.&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 14:49:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-documents-about-two-way-fixed-effects-explanation/m-p/720473#M34881</guid>
      <dc:creator>STAT_Kathleen</dc:creator>
      <dc:date>2021-02-19T14:49:43Z</dc:date>
    </item>
  </channel>
</rss>

