<?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 Clustering around one dimension in two-way FE model in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Clustering-around-one-dimension-in-two-way-FE-model/m-p/671769#M32113</link>
    <description>&lt;P&gt;Is there a clustering option available in a two-way fixed effect proc panel procedure?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I realize that there is the "cluster" option. However, one can not specify the clusters. As far as I understand, SAS simply clusters around the ID variables. In my case, I have two ID variables (two fixed effects). But I would like to cluster around only one of them. Is this possible?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc panel data = input;
id firm time;
model y = x1 x2 x3 /twoway hcce=1 cluster;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;How can I specify the cluster option?&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jul 2020 14:34:18 GMT</pubDate>
    <dc:creator>shenflow</dc:creator>
    <dc:date>2020-07-23T14:34:18Z</dc:date>
    <item>
      <title>Clustering around one dimension in two-way FE model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Clustering-around-one-dimension-in-two-way-FE-model/m-p/671769#M32113</link>
      <description>&lt;P&gt;Is there a clustering option available in a two-way fixed effect proc panel procedure?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I realize that there is the "cluster" option. However, one can not specify the clusters. As far as I understand, SAS simply clusters around the ID variables. In my case, I have two ID variables (two fixed effects). But I would like to cluster around only one of them. Is this possible?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc panel data = input;
id firm time;
model y = x1 x2 x3 /twoway hcce=1 cluster;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;How can I specify the cluster option?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 14:34:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Clustering-around-one-dimension-in-two-way-FE-model/m-p/671769#M32113</guid>
      <dc:creator>shenflow</dc:creator>
      <dc:date>2020-07-23T14:34:18Z</dc:date>
    </item>
  </channel>
</rss>

