<?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 get Newey West standard errors for large a dataset/regression? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-Newey-West-standard-errors-for-large-a-dataset/m-p/747599#M36379</link>
    <description>&lt;P&gt;The error can occur when the ODS system attempts to make graphs of huge data. Use PLOTS=NONE:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc model data=Sample_reg_iv &lt;STRONG&gt;PLOTS=NONE&lt;/STRONG&gt;;&lt;/P&gt;</description>
    <pubDate>Sun, 13 Jun 2021 10:16:23 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2021-06-13T10:16:23Z</dc:date>
    <item>
      <title>How to get Newey West standard errors for large a dataset/regression?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-Newey-West-standard-errors-for-large-a-dataset/m-p/747587#M36378</link>
      <description>&lt;P&gt;I want to get the Newey West standard errors using the instruction in this post&amp;nbsp;&lt;A href="https://support.sas.com/kb/40/098.html" target="_blank"&gt;https://support.sas.com/kb/40/098.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;However, my dataset is quite large so SAS returns a Out of memory error. Is there a way to achieve this task for a large regression with many independent variables?&lt;/P&gt;
&lt;P&gt;Here is a copy of the error:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: Java virtual machine exception. java.lang.OutOfMemoryError: GC overhead limit exceeded.
ERROR: Java virtual machine exception. java.lang.OutOfMemoryError: GC overhead limit exceeded.
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc model data=Sample_reg_iv;
   instruments x1 x2 x3;
   r=b0+b1*x1 + b2*x2 + b3*x3;
   fit r / gmm kernel=(bart,7,0);
   ods output ParameterEstimates=temp7 ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;here is my code :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jun 2021 04:10:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-Newey-West-standard-errors-for-large-a-dataset/m-p/747587#M36378</guid>
      <dc:creator>somebody</dc:creator>
      <dc:date>2021-06-13T04:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Newey West standard errors for large a dataset/regression?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-Newey-West-standard-errors-for-large-a-dataset/m-p/747599#M36379</link>
      <description>&lt;P&gt;The error can occur when the ODS system attempts to make graphs of huge data. Use PLOTS=NONE:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc model data=Sample_reg_iv &lt;STRONG&gt;PLOTS=NONE&lt;/STRONG&gt;;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jun 2021 10:16:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-Newey-West-standard-errors-for-large-a-dataset/m-p/747599#M36379</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-06-13T10:16:23Z</dc:date>
    </item>
  </channel>
</rss>

