<?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 for y=s1(x1)+s2(x2) in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GAM-for-y-s1-x1-s2-x2/m-p/937868#M46792</link>
    <description>&lt;P&gt;Thank you so much for your advice.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will work on it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2024 05:21:36 GMT</pubDate>
    <dc:creator>howchinh2</dc:creator>
    <dc:date>2024-08-01T05:21:36Z</dc:date>
    <item>
      <title>PROC GAM for y=s1(x1)+s2(x2)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GAM-for-y-s1-x1-s2-x2/m-p/936738#M46743</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;How can I write the code using PROC GAM for y=s1(x1)+s2(x2), where the intercept and linear terms are suppressed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried using model option noint but it gave error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc gam data=mydata;&lt;/P&gt;&lt;P&gt;model y = spline(x1) spline(x2) / noint;&lt;/P&gt;&lt;P&gt;output out=pred predicted=f;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error message shows model statement didn't recognise noint option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 09:34:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GAM-for-y-s1-x1-s2-x2/m-p/936738#M46743</guid>
      <dc:creator>howchinh2</dc:creator>
      <dc:date>2024-07-23T09:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GAM for y=s1(x1)+s2(x2)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GAM-for-y-s1-x1-s2-x2/m-p/936794#M46750</link>
      <description>&lt;P&gt;You might be able to get essentially what you want by using the EFFECT statement in a suitable modeling procedure rather than by using PROC GAM (or the newer and recommended PROC GAMPL). For example, the following fits a model like you describe to the diabetes data in the Getting Started example in the PROC GAM documentation using the EFFECT statement in PROC ORTHOREG. See the description of spline effects using the EFFECT statement in the Shared Concepts and Topics chapter of the SAS/STAT User's Guide.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc orthoreg data=diabetes;
effect s1=spline(age/ basis=tpf(nopowers));
model logcp=s1/noint;
effectplot;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Jul 2024 15:16:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GAM-for-y-s1-x1-s2-x2/m-p/936794#M46750</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2024-07-23T15:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GAM for y=s1(x1)+s2(x2)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GAM-for-y-s1-x1-s2-x2/m-p/937868#M46792</link>
      <description>&lt;P&gt;Thank you so much for your advice.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will work on it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 05:21:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GAM-for-y-s1-x1-s2-x2/m-p/937868#M46792</guid>
      <dc:creator>howchinh2</dc:creator>
      <dc:date>2024-08-01T05:21:36Z</dc:date>
    </item>
  </channel>
</rss>

