<?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 GAMPL - what is default distribution and link function? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789470#M81422</link>
    <description>&lt;P&gt;I don't see it either, but you can easily test what I think it is.&amp;nbsp; I assume the distribution is normal and the link is the identity link.&amp;nbsp; Try running these two versions (based on the first example in the PROC GAMPL documentation - the lidar dataset is in C:\Program Files\SASHome94\SASFoundation\9.4\hpstat\sample\hpgamex1.sas if you are working from a Windows install):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="xis-refProc"&gt;
&lt;DIV id="statug.hpgam.hpgamex1" class="aa-section"&gt;
&lt;DIV&gt;
&lt;PRE class="xis-codeBlock"&gt;proc gampl data=Lidar seed=12345;
   model LogRatio = spline(Range/details);
   output out=LidarOut pred=p;
run;&lt;BR /&gt;proc gampl data=Lidar seed=12345;&lt;BR /&gt;   model LogRatio = spline(Range/details)/dist=normal link=identity;&lt;BR /&gt;   output out=LidarOut2 pred=p;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc compare base=lidarout comp=lidarout2;&lt;BR /&gt;run;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;If PROC COMPARE doesn't detect any differences in the two output datasets, it seems likely that the default is normal/identity.&amp;nbsp; If there are trivial differences, that is still likely the case.&amp;nbsp; If there are major differences, then try some logical choices for the link= option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jan 2022 14:10:05 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2022-01-11T14:10:05Z</dc:date>
    <item>
      <title>Proc GAMPL - what is default distribution and link function?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789455#M81421</link>
      <description>&lt;P&gt;Hello SAS community,&lt;BR /&gt;I am starting to use Proc GAMPL (SAS version 9) for some time series analyses.&lt;/P&gt;&lt;P&gt;The response I am using is a continuous variable (e. g., sizes or abundances of an animal caught in the field).&lt;BR /&gt;What is the default distribution and link used if neither of these are specified on the Model statement line? I cannot find this information in the Proc GAMPL description.&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 13:31:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789455#M81421</guid>
      <dc:creator>bmac1</dc:creator>
      <dc:date>2022-01-11T13:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GAMPL - what is default distribution and link function?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789470#M81422</link>
      <description>&lt;P&gt;I don't see it either, but you can easily test what I think it is.&amp;nbsp; I assume the distribution is normal and the link is the identity link.&amp;nbsp; Try running these two versions (based on the first example in the PROC GAMPL documentation - the lidar dataset is in C:\Program Files\SASHome94\SASFoundation\9.4\hpstat\sample\hpgamex1.sas if you are working from a Windows install):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="xis-refProc"&gt;
&lt;DIV id="statug.hpgam.hpgamex1" class="aa-section"&gt;
&lt;DIV&gt;
&lt;PRE class="xis-codeBlock"&gt;proc gampl data=Lidar seed=12345;
   model LogRatio = spline(Range/details);
   output out=LidarOut pred=p;
run;&lt;BR /&gt;proc gampl data=Lidar seed=12345;&lt;BR /&gt;   model LogRatio = spline(Range/details)/dist=normal link=identity;&lt;BR /&gt;   output out=LidarOut2 pred=p;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc compare base=lidarout comp=lidarout2;&lt;BR /&gt;run;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;If PROC COMPARE doesn't detect any differences in the two output datasets, it seems likely that the default is normal/identity.&amp;nbsp; If there are trivial differences, that is still likely the case.&amp;nbsp; If there are major differences, then try some logical choices for the link= option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 14:10:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789470#M81422</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2022-01-11T14:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GAMPL - what is default distribution and link function?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789472#M81423</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/300851"&gt;@bmac1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I agree with &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt;&amp;nbsp;(who has replied faster): It appears that DIST=NORMAL (and LINK=IDENTITY) is the default. At least that is what I get for each of the four &lt;A href="https://documentation.sas.com/doc/en/statug/15.2/statug_hpgam_examples01.htm" target="_blank" rel="noopener"&gt;examples&lt;/A&gt; in the documentation (omitting the DIST= option) and it also seems plausible.&amp;nbsp;The section "Model Information" of the procedure output contains this information when you have run a PROC GAMPL step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think it's an unusual omission in the &lt;A href="https://documentation.sas.com/doc/en/statug/15.2/statug_hpgam_syntax06.htm" target="_blank" rel="noopener"&gt;MODEL statement&lt;/A&gt; documentation (also for &lt;A href="https://documentation.sas.com/doc/en/statug/15.2/statug_gam_syntax07.htm#statug.gam.gamdist" target="_blank" rel="noopener"&gt;PROC GAM&lt;/A&gt;). The default &lt;EM&gt;link function&lt;/EM&gt; for each distribution can be found in &lt;A href="https://documentation.sas.com/doc/en/statug/15.2/statug_hpgam_syntax06.htm#statug.hpgam.tab_distlinks" target="_blank" rel="noopener"&gt;Table 8&lt;/A&gt; on that documentation page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 14:23:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789472#M81423</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2022-01-11T14:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GAMPL - what is default distribution and link function?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789475#M81424</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had a look at the SAS documentation&lt;/P&gt;
&lt;P&gt;for the CAS procedure GAMMOD and&lt;/P&gt;
&lt;P&gt;for its corresponding MVA counterparts&amp;nbsp;GAM &amp;amp; GAMPL.&lt;/P&gt;
&lt;DIV class="MainNav_titleElem__2sPH3"&gt;
&lt;DIV class="MainNav_title__3NWOu nav-item"&gt;SAS® 9.4 and SAS® Viya® 3.5 Programming Documentation&lt;A id="content-version-picker" class="dropdown-toggle nav-link" role="button" href="https://go.documentation.sas.com/#" aria-haspopup="true" aria-expanded="false" target="_blank"&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV class="MainNav_title__3NWOu nav-item"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;PROC GAM (The GAM Procedure) has this in its Details drop-down :&lt;BR /&gt;&lt;STRONG&gt;Distribution Family and Canonical Link&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;... and there it is written :&lt;BR /&gt;The Gaussian Model&lt;BR /&gt;For a Gaussian model, the link function is the identity function, and the generalized additive model is the same as the additive model. &lt;U&gt;&lt;STRONG&gt;The Gaussian model is selected by default&lt;/STRONG&gt;&lt;/U&gt; or when you specify the DIST=GAUSSIAN option in the MODEL statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I see no similar details section for the GAMPL procedure, neither for GAMMOD.&lt;BR /&gt;If you find a shortcoming in the documentation, please use the feedback button in the top-right corner and mention this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 14:40:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789475#M81424</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-01-11T14:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GAMPL - what is default distribution and link function?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789479#M81425</link>
      <description>&lt;P&gt;In general, the normal distribution with identity link is the default for all generalized linear model regression procedures that support a variety of distributions and links. This is true for most statistical software, not only SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, that does not excuse the doc from omitting that information. I am glad Koen found an instance in the doc that confirms everyone's assumptions.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 15:12:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789479#M81425</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2022-01-11T15:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GAMPL - what is default distribution and link function?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789726#M81427</link>
      <description>&lt;P&gt;Hello SteveDenham,&lt;/P&gt;
&lt;P&gt;Thank you and the other community members for very helpful replies and suggestions.&amp;nbsp; This is a good idea to try the analysis as you suggest and compare results.&lt;/P&gt;
&lt;P&gt;I did notice when runnning the GAMPL Procedure that part of the output includes a table called “Model Information”.&amp;nbsp; The table states what the distribution and link function are, along with listing some other information.&amp;nbsp; And indeed, the defaults are “normal” and “identity”. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 14:12:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789726#M81427</guid>
      <dc:creator>bmac1</dc:creator>
      <dc:date>2022-01-12T14:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GAMPL - what is default distribution and link function?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789727#M81428</link>
      <description>&lt;P&gt;Hi Rick_SAS,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you! Yes, it is normal and identity.&amp;nbsp; I found it also in the Model Information table of the Proc's output, as well.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 14:15:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789727#M81428</guid>
      <dc:creator>bmac1</dc:creator>
      <dc:date>2022-01-12T14:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GAMPL - what is default distribution and link function?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789728#M81429</link>
      <description>&lt;P&gt;Thank you !&lt;/P&gt;
&lt;P&gt;Yes, I also saw it in the Model Information table of the Proc output.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 14:17:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789728#M81429</guid>
      <dc:creator>bmac1</dc:creator>
      <dc:date>2022-01-12T14:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GAMPL - what is default distribution and link function?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789729#M81430</link>
      <description>&lt;P&gt;Hi Koen,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, thank you for the helpful reply!&amp;nbsp; I also noticed the default distribution and link information is in fact presented in the Model Information table of the GAMPL output too.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 14:19:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-GAMPL-what-is-default-distribution-and-link-function/m-p/789729#M81430</guid>
      <dc:creator>bmac1</dc:creator>
      <dc:date>2022-01-12T14:19:55Z</dc:date>
    </item>
  </channel>
</rss>

