<?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 Using proc surveyreg with clustered standard errors and fixed effects in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Using-proc-surveyreg-with-clustered-standard-errors-and-fixed/m-p/253368#M56888</link>
    <description>&lt;P&gt;Hi, first time user of SAS here, I have a question regarding proc surveyreg and how I can implement clustered standard errors and fixed effects. More specifically, I want to have fixed effects for three variables: fe1, fe2, fe3 (note: I don't want to create dummy variables for each observation) and also have standard errors clustered by cse1 and cse2, is the following code correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc surveyreg data=my_data; 
	class fe1 fe2 fe3; 
	cluster cse1 cse2; 
	model dependent_var = independent_var fe1 fe2 fe3 /solution ADJRSQ;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Basically, I want to confirm whether 'class' provides the fixed effects and that I need to include the class variables in the model specification to see the coefficients on the fixed effect variables?&lt;/P&gt;</description>
    <pubDate>Tue, 01 Mar 2016 09:30:32 GMT</pubDate>
    <dc:creator>sittmo</dc:creator>
    <dc:date>2016-03-01T09:30:32Z</dc:date>
    <item>
      <title>Using proc surveyreg with clustered standard errors and fixed effects</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-proc-surveyreg-with-clustered-standard-errors-and-fixed/m-p/253368#M56888</link>
      <description>&lt;P&gt;Hi, first time user of SAS here, I have a question regarding proc surveyreg and how I can implement clustered standard errors and fixed effects. More specifically, I want to have fixed effects for three variables: fe1, fe2, fe3 (note: I don't want to create dummy variables for each observation) and also have standard errors clustered by cse1 and cse2, is the following code correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc surveyreg data=my_data; 
	class fe1 fe2 fe3; 
	cluster cse1 cse2; 
	model dependent_var = independent_var fe1 fe2 fe3 /solution ADJRSQ;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Basically, I want to confirm whether 'class' provides the fixed effects and that I need to include the class variables in the model specification to see the coefficients on the fixed effect variables?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 09:30:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-proc-surveyreg-with-clustered-standard-errors-and-fixed/m-p/253368#M56888</guid>
      <dc:creator>sittmo</dc:creator>
      <dc:date>2016-03-01T09:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using proc surveyreg with clustered standard errors and fixed effects</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-proc-surveyreg-with-clustered-standard-errors-and-fixed/m-p/506884#M72834</link>
      <description>&lt;P&gt;Yes. If you bring a variable in "Class" and then as an independent variable sas&amp;nbsp;would treat it as a fixed effect.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 15:52:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-proc-surveyreg-with-clustered-standard-errors-and-fixed/m-p/506884#M72834</guid>
      <dc:creator>hyous0001</dc:creator>
      <dc:date>2018-10-23T15:52:56Z</dc:date>
    </item>
  </channel>
</rss>

