<?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 GAM Error message in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-GAM-Error-message/m-p/371340#M19463</link>
    <description>&lt;P&gt;Thank you for your response. It appears that the examples of proc gampl are mainly for binary outcomes. Can this procedure be used for count data?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2017 15:12:16 GMT</pubDate>
    <dc:creator>meghan24</dc:creator>
    <dc:date>2017-06-28T15:12:16Z</dc:date>
    <item>
      <title>Proc GAM Error message</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-GAM-Error-message/m-p/370966#M19447</link>
      <description>&lt;P&gt;,&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to run a time series model using the proc GAM procedure. My data is about 1GB. When i run the model, i get an error message:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: The SAS System stopped processing this step because of insufficient memory.
NOTE: PROCEDURE GAM used (Total process time):
      real time           11.63 seconds
      cpu time            8.79 seconds&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error message is generated within few seconds. I have provided example of my program below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc gam data=testdata plots=all ; 
class X2 (ref= '1') Y2-Y7 &amp;nbsp;Z1-Z10&amp;nbsp;;
model outcome= spline(month) spline(temp) 
param(X1 X2&amp;nbsp;Y2-Y7&amp;nbsp; Z1-Z10 ) / dist=Poisson method=gcv;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;X1 = continuous variable&lt;/P&gt;&lt;P&gt;X2 has three &amp;nbsp;age categories&lt;/P&gt;&lt;P&gt;Y2-Y7 are dummy variables with 1 or 0&lt;/P&gt;&lt;P&gt;Z1-Z10 are dummy variable for year (10 year period)&lt;/P&gt;&lt;P&gt;month = month of teh year&lt;/P&gt;&lt;P&gt;Temp = daily average temperature&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wondering why i keep getting the error message within a short period of time ? I am not sure if something may be wrong with teh way the data is set up. However, the model runs and converges when i run with data subsetted for each year.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 15:13:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-GAM-Error-message/m-p/370966#M19447</guid>
      <dc:creator>meghan24</dc:creator>
      <dc:date>2017-06-27T15:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GAM Error message</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-GAM-Error-message/m-p/370967#M19448</link>
      <description>&lt;P&gt;the original GAM algorithm that was implemented in PROC GAM does not scale to large data.&lt;/P&gt;
&lt;P&gt;Try the new GAMPL&amp;nbsp;procedure, which can fit generalized additive models using more efficient algorithms. The GAMPL&amp;nbsp;procedure was introduced in&amp;nbsp;&lt;SPAN&gt;SAS/STAT 14.1 (SAS 9.4m3).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For an example and links to the GAMPL&amp;nbsp;procedure, see the blog post &lt;A href="http://blogs.sas.com/content/iml/2016/03/23/nonparametric-regression-binary-response-sas.html" target="_self"&gt;"Nonparametric regression for binary response data in SAS"&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 15:21:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-GAM-Error-message/m-p/370967#M19448</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-06-27T15:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GAM Error message</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-GAM-Error-message/m-p/371340#M19463</link>
      <description>&lt;P&gt;Thank you for your response. It appears that the examples of proc gampl are mainly for binary outcomes. Can this procedure be used for count data?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 15:12:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-GAM-Error-message/m-p/371340#M19463</guid>
      <dc:creator>meghan24</dc:creator>
      <dc:date>2017-06-28T15:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GAM Error message</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-GAM-Error-message/m-p/372273#M19494</link>
      <description>&lt;P&gt;Yes. &amp;nbsp;GAMPL has the same DIST= option as GAM. &amp;nbsp;See the&amp;nbsp;GAMPL documentation for your release of SAS (&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/statug_hpgam_toc.htm" target="_self"&gt;9.4 TS1M3&lt;/A&gt; | &lt;A href="http://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=14.2&amp;amp;docsetTarget=statug_hpgam_syntax.htm&amp;amp;LOCALE+EN" target="_self"&gt;9.4 TS1M4&lt;/A&gt;). &lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 18:08:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-GAM-Error-message/m-p/372273#M19494</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2017-06-30T18:08:49Z</dc:date>
    </item>
  </channel>
</rss>

