<?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: proc hpmixed with fixed effects and clustered standard error in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/proc-hpmixed-with-fixed-effects-and-clustered-standard-error/m-p/911937#M45266</link>
    <description>&lt;P&gt;On top of my previous reply ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to stick to PROC MIXED or PROC HPMIXED, then look at the below topics.&lt;BR /&gt;They both contain the solution for what you want to achieve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;Home &amp;gt; Analytics &amp;gt; Statistical Procedures &amp;gt; &lt;BR /&gt;Cluster errors in Proc GLM&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Cluster-errors-in-Proc-GLM/td-p/861830" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/Cluster-errors-in-Proc-GLM/td-p/861830&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Home &amp;gt; Analytics &amp;gt; Statistical Procedures &amp;gt; &lt;BR /&gt;Fixed effects with cluster&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Fixed-effects-with-cluster/td-p/428211" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/Fixed-effects-with-cluster/td-p/428211&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc mixed empirical;
  class firm;
  model y = x1 x2 x3 / solution;
  random int / subject=firm;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2024 09:24:31 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2024-01-18T09:24:31Z</dc:date>
    <item>
      <title>proc hpmixed with fixed effects and clustered standard error</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-hpmixed-with-fixed-effects-and-clustered-standard-error/m-p/911912#M45263</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;I run this code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc hpmixed data= mydata;&lt;BR /&gt;class fyear two_digit_SICnum FIRMid;&lt;BR /&gt;model ROA_NI = post__treatment&amp;nbsp; log_ta fyear two_digit_SICnum FIRMid /solution;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to add to this code clustered stanard error by FIRMid. how can I do it?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 06:58:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-hpmixed-with-fixed-effects-and-clustered-standard-error/m-p/911912#M45263</guid>
      <dc:creator>HEB1</dc:creator>
      <dc:date>2024-01-18T06:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: proc hpmixed with fixed effects and clustered standard error</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-hpmixed-with-fixed-effects-and-clustered-standard-error/m-p/911935#M45265</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe you have panel data (time series cross-sectional data) , right?&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;fyear being the time identifier and&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;FIRMid&amp;nbsp;defining the cross-sections&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I would use PROC PANEL or PROC CPANEL (CAS-equivalent) to analyze your data. You are in the econometrics space here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And here's how to do the&amp;nbsp;cluster correction of standard errors&lt;SPAN&gt;&amp;nbsp;:&lt;/SPAN&gt;&lt;/P&gt;
&lt;H2&gt;Usage Note&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;67322:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;Heteroscedasticity and cluster correction of standard errors using the PANEL procedure&lt;BR /&gt;&lt;FONT size="4"&gt;&lt;A href="https://support.sas.com/kb/67/322.html" target="_blank"&gt;https://support.sas.com/kb/67/322.html&lt;/A&gt;&lt;/FONT&gt;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Koen&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 09:17:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-hpmixed-with-fixed-effects-and-clustered-standard-error/m-p/911935#M45265</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2024-01-18T09:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: proc hpmixed with fixed effects and clustered standard error</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-hpmixed-with-fixed-effects-and-clustered-standard-error/m-p/911937#M45266</link>
      <description>&lt;P&gt;On top of my previous reply ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to stick to PROC MIXED or PROC HPMIXED, then look at the below topics.&lt;BR /&gt;They both contain the solution for what you want to achieve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;Home &amp;gt; Analytics &amp;gt; Statistical Procedures &amp;gt; &lt;BR /&gt;Cluster errors in Proc GLM&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Cluster-errors-in-Proc-GLM/td-p/861830" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/Cluster-errors-in-Proc-GLM/td-p/861830&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Home &amp;gt; Analytics &amp;gt; Statistical Procedures &amp;gt; &lt;BR /&gt;Fixed effects with cluster&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Fixed-effects-with-cluster/td-p/428211" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/Fixed-effects-with-cluster/td-p/428211&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc mixed empirical;
  class firm;
  model y = x1 x2 x3 / solution;
  random int / subject=firm;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 09:24:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-hpmixed-with-fixed-effects-and-clustered-standard-error/m-p/911937#M45266</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2024-01-18T09:24:31Z</dc:date>
    </item>
  </channel>
</rss>

