<?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: Testing for Heteroscedasticity in Panel Data in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Testing-for-Heteroscedasticity-in-Panel-Data/m-p/227640#M1402</link>
    <description>&lt;P&gt;In 9.4 (SAS/ETS 14.1), the specification is now:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HAC(neweywest94)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NEWEYWEST (parameters inserted for gamma, rate and constant, if you want something other than the default)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2015 12:18:24 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2015-09-29T12:18:24Z</dc:date>
    <item>
      <title>Testing for Heteroscedasticity in Panel Data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Testing-for-Heteroscedasticity-in-Panel-Data/m-p/161803#M1023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Hi Again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Hope this is the last time I'm forced to bother you, as the sas help doc is for me&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I wanted to test for heteroscedasticity in my panel data sample and eventually correct it.&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;My model:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;FE=FELO FEUP FE_L FELOWER FEUPER;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;FELO - dummy (1 if below FE_L Q1)&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;FEUP - dummy (1 if above FE_L Q1)&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;FE_L - laged FE&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;FELOWER = FELO*FE_L&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;FEUPER =FEUP*FE_L&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;On SAS Help I can only find the example with "incomes" which is not as complicated as my...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I would really appreciate your time and concern.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 11:48:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Testing-for-Heteroscedasticity-in-Panel-Data/m-p/161803#M1023</guid>
      <dc:creator>MattvanPallen</dc:creator>
      <dc:date>2014-05-16T11:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Testing for Heteroscedasticity in Panel Data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Testing-for-Heteroscedasticity-in-Panel-Data/m-p/161804#M1024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello and thanks for the question.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two parts to your question.&amp;nbsp; If you want to conduct a Breusch-Pagan test which is requested as an option on the MODEL statement in PROC PANEL.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/etsug/66840/HTML/default/viewer.htm#etsug_panel_details40.htm" title="http://support.sas.com/documentation/cdl/en/etsug/66840/HTML/default/viewer.htm#etsug_panel_details40.htm"&gt;SAS/ETS(R) 13.1 User's Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second, and frankly what I would do, is to just assume you have heteroskedasticity and autocorrelation and correct for it using the HAC=NEWEYWEST option on the MODEL statement.&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/etsug/66840/HTML/default/viewer.htm#etsug_panel_syntax11.htm" title="http://support.sas.com/documentation/cdl/en/etsug/66840/HTML/default/viewer.htm#etsug_panel_syntax11.htm"&gt;SAS/ETS(R) 13.1 User's Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wanted to employ simply Heteroskedastic-corrected se's you can do that here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/etsug/66840/HTML/default/viewer.htm#etsug_panel_details37.htm" title="http://support.sas.com/documentation/cdl/en/etsug/66840/HTML/default/viewer.htm#etsug_panel_details37.htm"&gt;SAS/ETS(R) 13.1 User's Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck and let us know if you need anything else. -Ken &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 16:44:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Testing-for-Heteroscedasticity-in-Panel-Data/m-p/161804#M1024</guid>
      <dc:creator>ets_kps</dc:creator>
      <dc:date>2014-05-28T16:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Testing for Heteroscedasticity in Panel Data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Testing-for-Heteroscedasticity-in-Panel-Data/m-p/227441#M1401</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I was trying to follow your steps using SAS 9.4,&amp;nbsp;but it is not working: I need to test if there is any hetroscedasticity and also how I can correct it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc panel data=mydata;&lt;/P&gt;
&lt;P&gt;model y=x1 x2 x3 x4/RANTWO HAC=NEWEYWEST;&lt;/P&gt;
&lt;P&gt;id firm time;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help!&lt;/P&gt;
&lt;P&gt;..Rohit&lt;/P&gt;</description>
      <pubDate>Sun, 27 Sep 2015 20:13:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Testing-for-Heteroscedasticity-in-Panel-Data/m-p/227441#M1401</guid>
      <dc:creator>rohitg</dc:creator>
      <dc:date>2015-09-27T20:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Testing for Heteroscedasticity in Panel Data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Testing-for-Heteroscedasticity-in-Panel-Data/m-p/227640#M1402</link>
      <description>&lt;P&gt;In 9.4 (SAS/ETS 14.1), the specification is now:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HAC(neweywest94)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NEWEYWEST (parameters inserted for gamma, rate and constant, if you want something other than the default)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 12:18:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Testing-for-Heteroscedasticity-in-Panel-Data/m-p/227640#M1402</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-09-29T12:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Testing for Heteroscedasticity in Panel Data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Testing-for-Heteroscedasticity-in-Panel-Data/m-p/227758#M1403</link>
      <description>&lt;P&gt;Hey, Thanks for your reply! I have access to 9.4 (SAS/ETS 13.2).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To correct &amp;nbsp;&lt;SPAN&gt;heteroscedasticity, I&amp;nbsp;&lt;/SPAN&gt;have succesfully tried and used:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc panel data=mydata;&lt;/P&gt;
&lt;P&gt;model y=x1 x2 x3 x4/RANTWO HAC(BANDWIDTH=NEWEYWEST94);&lt;/P&gt;
&lt;P&gt;id firm time;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please suggest some way through which I can check for hetroscedsaticty in my panel data before looking for any correction ?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Rohit&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 20:16:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Testing-for-Heteroscedasticity-in-Panel-Data/m-p/227758#M1403</guid>
      <dc:creator>rohitg</dc:creator>
      <dc:date>2015-09-29T20:16:50Z</dc:date>
    </item>
  </channel>
</rss>

