<?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: How to run industry*year fixed effect in proc glm? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-industry-year-fixed-effect-in-proc-glm/m-p/741669#M231866</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for your help, but could you please explain this phrase to me , please?&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;&amp;nbsp;I state my skepticism that &amp;gt;32K levels of a variable are really useful in modeling"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Do you mean I may check again the number of distinct observations?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Warm regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 15 May 2021 23:24:24 GMT</pubDate>
    <dc:creator>Phil_NZ</dc:creator>
    <dc:date>2021-05-15T23:24:24Z</dc:date>
    <item>
      <title>How to run industry*year fixed effect in proc glm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-industry-year-fixed-effect-in-proc-glm/m-p/741586#M231828</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I want to ask how to control &lt;STRONG&gt;firm&lt;/STRONG&gt; and &lt;STRONG&gt;industry*year&lt;/STRONG&gt; fixed effects in proc glm?&lt;/P&gt;
&lt;P&gt;My regression when regressing controlling for firm and year fixed effect is as below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=merge_treat_con_6th_may;
    ABSORB TYPE;
    class yr / truncate;
    model y= x1 x2 x3 yr/solution ss3;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;While &lt;STRONG&gt;TYPE&lt;/STRONG&gt; and &lt;STRONG&gt;yr&lt;/STRONG&gt; are firms and years accordingly.&lt;/P&gt;
&lt;P&gt;Now I want to control for firm and industry*year fixed effect while &lt;STRONG&gt;INDC3&lt;/STRONG&gt; is &lt;STRONG&gt;industry indicator&lt;/STRONG&gt; and &lt;STRONG&gt;character variable&lt;/STRONG&gt;. Could you please let me know how to adjust the code above to do so?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you and warm regards.&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 06:00:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-industry-year-fixed-effect-in-proc-glm/m-p/741586#M231828</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-05-15T06:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to run industry*year fixed effect in proc glm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-industry-year-fixed-effect-in-proc-glm/m-p/741617#M231850</link>
      <description>&lt;P&gt;If INDC3 is an industry indicate and TYPE is the firm name, is TYPE nested underneath INDC3? Is there only a single INDC3 for each level of type? Is there is ever a value of TYPE that can be in two INDEC3 levels?&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 10:22:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-industry-year-fixed-effect-in-proc-glm/m-p/741617#M231850</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-05-15T10:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to run industry*year fixed effect in proc glm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-industry-year-fixed-effect-in-proc-glm/m-p/741635#M231853</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your question helping me to clarify my concern&lt;/P&gt;
&lt;P&gt;I hope that you can explain me more about this part"&lt;SPAN&gt;&amp;nbsp;is TYPE nested underneath INDC3".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is there only a single INDC3 for each level of type? -&amp;gt;&amp;nbsp; what do you mean by "each level of type then"?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is there is ever a value of TYPE that can be in two INDC3 levels? -&amp;gt;No&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you and warm regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 11:03:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-industry-year-fixed-effect-in-proc-glm/m-p/741635#M231853</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-05-15T11:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to run industry*year fixed effect in proc glm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-industry-year-fixed-effect-in-proc-glm/m-p/741638#M231854</link>
      <description>&lt;P&gt;"Each level of TYPE" ... the variable TYPE has a certain number of discrete of values, that number is the number of levels — for example, a much smaller data that I have just made up contains values of variable TYPE equal to "Eastman Kodak","ON Semiconductor" or "TrueSense Imaging", that's 3 levels.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If each TYPE can be in only one INDC3, then TYPE is nested within INDC3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if you want INDUSTRY*YEAR in the model, I think you have to not use the ABSORB statement. Using the ABSORB statement, I don't think it can be done.&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 11:19:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-industry-year-fixed-effect-in-proc-glm/m-p/741638#M231854</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-05-15T11:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to run industry*year fixed effect in proc glm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-industry-year-fixed-effect-in-proc-glm/m-p/741640#M231855</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp; I need to use ABSORB because I need to deal with the limitation of distinct observation (&amp;gt;32k something). So, you mean, no hope for that so far by using SAS?&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 11:35:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-industry-year-fixed-effect-in-proc-glm/m-p/741640#M231855</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-05-15T11:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to run industry*year fixed effect in proc glm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-industry-year-fixed-effect-in-proc-glm/m-p/741650#M231859</link>
      <description>&lt;P&gt;Not that I know of. But that certainly shouldn't stop you from experimenting to see if it can be done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Again, I state my skepticism that &amp;gt;32K levels of a variable are really useful in modeling.&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 15:38:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-industry-year-fixed-effect-in-proc-glm/m-p/741650#M231859</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-05-15T15:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to run industry*year fixed effect in proc glm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-industry-year-fixed-effect-in-proc-glm/m-p/741669#M231866</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for your help, but could you please explain this phrase to me , please?&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;&amp;nbsp;I state my skepticism that &amp;gt;32K levels of a variable are really useful in modeling"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Do you mean I may check again the number of distinct observations?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Warm regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 23:24:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-industry-year-fixed-effect-in-proc-glm/m-p/741669#M231866</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-05-15T23:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to run industry*year fixed effect in proc glm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-industry-year-fixed-effect-in-proc-glm/m-p/741716#M231890</link>
      <description>&lt;P&gt;I explained it in your earlier thread here: &lt;A href="https://communities.sas.com/t5/SAS-Programming/Getting-multicolinearity-dealing-with-Simpson-Paradox-using-SAS/m-p/737854#M230069" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Getting-multicolinearity-dealing-with-Simpson-Paradox-using-SAS/m-p/737854#M230069&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 May 2021 11:40:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-industry-year-fixed-effect-in-proc-glm/m-p/741716#M231890</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-05-16T11:40:27Z</dc:date>
    </item>
  </channel>
</rss>

