<?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: Pregibon link test for generalized linear models in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648601#M31126</link>
    <description>&lt;P&gt;It isn't really necessary to interpret the graph. By adding the RESAMPLE option, a p-value for the test of link adequacy is provided.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;assess link / resample;&lt;/P&gt;</description>
    <pubDate>Mon, 18 May 2020 15:34:30 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2020-05-18T15:34:30Z</dc:date>
    <item>
      <title>Pregibon link test for generalized linear models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/647866#M31089</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am conducting an analysis of cost data using proc genmod. Before I reduce the model, I want to make sure that I specify the correct distribution and link-function. I have assumed the response distribution to be gamma (after modified park method and graphical assessment). However, I am having trouble assessing the link-function using the Pregibon link test.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do any of you have any experience with the Pregibon link test for GLMs analysed with proc genmod? I would be very grateful for any kind of help!&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Susanne&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 16:20:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/647866#M31089</guid>
      <dc:creator>susannemd</dc:creator>
      <dc:date>2020-05-14T16:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Pregibon link test for generalized linear models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/647888#M31091</link>
      <description>&lt;P&gt;I guess Google is my friend. A search on "Pregibon link test" leads to this site&amp;nbsp;&lt;A href="https://statcompute.wordpress.com/2016/12/04/pregibon-test-for-goodness-of-link-in-sas/" target="_self"&gt;https://statcompute.wordpress.com/2016/12/04/pregibon-test-for-goodness-of-link-in-sas/&lt;/A&gt;&amp;nbsp;, where there is macro code for implementing the test for PROC LOGISTIC.&amp;nbsp; A global replace on that to GENMOD and correctly specifying your model should make it possible to test which link is optimum. What link functions are you considering? The log is the canonical link. but I see some sites that include identity and inverse links as possible link functions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 17:47:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/647888#M31091</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-05-14T17:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pregibon link test for generalized linear models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/647974#M31098</link>
      <description>&lt;P&gt;Dear Steve,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have tested the macro-language, unfortunately, without succes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%macro&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM&gt;pregibon&lt;/EM&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;options mprint mlogic nocenter;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let links = log identity;&lt;/P&gt;&lt;P&gt;%let loop = 1;&lt;/P&gt;&lt;P&gt;%let data = test;&lt;/P&gt;&lt;P&gt;%let y = total;&lt;/P&gt;&lt;P&gt;%let x = sex age location;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql noprint;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select n(&amp;amp;data) - &lt;STRONG&gt;3&lt;/STRONG&gt; into :df from &amp;amp;data;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%do %while (%scan(&amp;amp;links, &amp;amp;loop) ne %str());&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %let link = %scan(&amp;amp;links, &amp;amp;loop);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc genmod data= &amp;amp;data ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model &amp;amp;y= &amp;amp;x / dist=gamma link = &amp;amp;link;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output out = _out1 p=p_1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data _out2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set _out1(rename = (p_1 = p1));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p2 = p1*p1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods listing close;&lt;/P&gt;&lt;P&gt;ods output ParameterEstimates = _parm;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc genmod data= _out2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model &amp;amp;y = p1 p2 / dist=gamma link = &amp;amp;link;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%if &amp;amp;loop = &lt;STRONG&gt;1&lt;/STRONG&gt; then %do;&lt;/P&gt;&lt;P&gt;data _parm1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format link $10.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set _parm(where = (variable = "p2"));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; link= upcase("&amp;amp;link");&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%else %do;&lt;/P&gt;&lt;P&gt;data _parm1;&lt;/P&gt;&lt;P&gt;set _parm1 _parm(where = (variable = "p2") in = new);&lt;/P&gt;&lt;P&gt;if new then link = upcase("&amp;amp;link");&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data _parm2(drop=variable);&lt;/P&gt;&lt;P&gt;set _parm1;&lt;/P&gt;&lt;P&gt;_t= estimate / stderr;&lt;/P&gt;&lt;P&gt;_df= &amp;amp;df;&lt;/P&gt;&lt;P&gt;_p = (&lt;STRONG&gt;1&lt;/STRONG&gt; - probt(abs(_t), _df)) * &lt;STRONG&gt;2&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let loop = %eval(&amp;amp;loop + 1);&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;title;&lt;/P&gt;&lt;P&gt;proc report data= _last_ spacing = &lt;STRONG&gt;1&lt;/STRONG&gt; headline nowindows split = "*";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; column("&amp;nbsp;&amp;nbsp; * PREGIBON TEST FOR GOODNESS OF LIN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * H0: THE LINK FUNCTION IS SPECIFIED CORRECTLY * "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; link _t _df _p);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; define link / "Link function" width = &lt;STRONG&gt;15&lt;/STRONG&gt; order order =data;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; define _t / "T-value" width = &lt;STRONG&gt;15&lt;/STRONG&gt; format=&lt;STRONG&gt;12.4&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; define _df / "DF" width = &lt;STRONG&gt;10&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; define _p/ "P-value" width = &lt;STRONG&gt;15&lt;/STRONG&gt; format=&lt;STRONG&gt;12.4&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%mend&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;%&lt;STRONG&gt;&lt;EM&gt;filasign&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Kind regards,&lt;BR /&gt;Susanne&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 08:02:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/647974#M31098</guid>
      <dc:creator>susannemd</dc:creator>
      <dc:date>2020-05-15T08:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pregibon link test for generalized linear models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648006#M31099</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/189863"&gt;@susannemd&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you say "without success," everyone wonders what might have happened.&amp;nbsp; Please rerun the macro, with the options line:&lt;/P&gt;
&lt;P&gt;options mlogic mprint symbolgen;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and provide the log.&amp;nbsp; Maybe we can get this to work (I hope).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Oh, I just saw something. Your x variable includes categorical variables sex and location.&amp;nbsp; You should include a CLASS statement in the PROC GENMOD call declaring them as class variables.&amp;nbsp; If that solves the problem, then the above stuff probably doesn't apply.&amp;nbsp; If it doesn't solve it, then we need to look at the log to find out what might be happening.&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 12:31:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648006#M31099</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-05-15T12:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Pregibon link test for generalized linear models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648039#M31100</link>
      <description>Dear Steve,&lt;BR /&gt;&lt;BR /&gt;Thank you! That was what was missing.&lt;BR /&gt;&lt;BR /&gt;The code is now up and running.</description>
      <pubDate>Fri, 15 May 2020 14:11:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648039#M31100</guid>
      <dc:creator>susannemd</dc:creator>
      <dc:date>2020-05-15T14:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pregibon link test for generalized linear models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648040#M31101</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;I managed to make the wrong post the "Solution", and I don't know how to fix it. I am sorry!</description>
      <pubDate>Fri, 15 May 2020 14:12:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648040#M31101</guid>
      <dc:creator>susannemd</dc:creator>
      <dc:date>2020-05-15T14:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pregibon link test for generalized linear models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648056#M31102</link>
      <description>No problem Susan.  I have plenty of solutions marked to my credit.  You deserve this one because of how much I learned that really applies to a lot of what I do right now.&lt;BR /&gt;&lt;BR /&gt;SteveDenham</description>
      <pubDate>Fri, 15 May 2020 14:47:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648056#M31102</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-05-15T14:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pregibon link test for generalized linear models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648260#M31117</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/189863"&gt;@susannemd&lt;/a&gt;,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/189863"&gt;@susannemd&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I managed to make the wrong post the "Solution", and I don't know how to fix it.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Here's how:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Select a different post&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;as the solution after clicking&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Not the Solution" in the option menu (see icon below) of the current solution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="show_option_menu.png" style="width: 133px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/39506i95B7D2BDE8AA227D/image-size/large?v=v2&amp;amp;px=999" role="button" title="show_option_menu.png" alt="show_option_menu.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2020 10:36:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648260#M31117</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2020-05-16T10:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Pregibon link test for generalized linear models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648280#M31118</link>
      <description>&lt;P&gt;It should be noted that there is a test for the link function, as well as for the specified form of any predictor, in the ASSESS statement in PROC GENMOD. You can find examples of its use in the GENMOD documentation.&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2020 14:12:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648280#M31118</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-05-16T14:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Pregibon link test for generalized linear models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648594#M31125</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ASSESS option looks quite good for model determination by looking at residuals.&amp;nbsp; I am curious as to what output looks like for using the link= option.&amp;nbsp; I also get the feeling that it is going to take a fair amount of experience with this to interpret the graphical results, while the Pregibon test essentially just looks to see if the candidate link functions are linear.&amp;nbsp; Is that a fair evaluation of the two methods?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 15:22:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648594#M31125</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-05-18T15:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Pregibon link test for generalized linear models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648601#M31126</link>
      <description>&lt;P&gt;It isn't really necessary to interpret the graph. By adding the RESAMPLE option, a p-value for the test of link adequacy is provided.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;assess link / resample;&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 15:34:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648601#M31126</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-05-18T15:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pregibon link test for generalized linear models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648656#M31131</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Details on the ASSESS functionality says this with regards to the link option:&lt;/P&gt;
&lt;DIV class="xis-refProc"&gt;
&lt;DIV id="statug.genmod.genmodassessdetail" class="AAsection"&gt;
&lt;P&gt;You can check the link function instead of the &lt;SPAN class=" AAmathtext"&gt;j&lt;/SPAN&gt;th covariate by using values of the linear predictor (X'beta)&lt;/P&gt;
&lt;P&gt;in place of values of the &lt;SPAN class=" AAmathtext"&gt;j&lt;/SPAN&gt;th covariate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So does the statement accept a vector input for this?&amp;nbsp; Would you have to run the model under a given link to generate the predicted values, save that output, and then copy it into the statement?&amp;nbsp; What if you have a long (say 10K entries) predicted vector?&amp;nbsp; I don't see a way to provide this input.&amp;nbsp; Is it as simple as your code:&lt;/P&gt;
&lt;P&gt;assess link/resample ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditorSteveDenham_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 May 2020 18:47:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648656#M31131</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-05-18T18:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Pregibon link test for generalized linear models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648682#M31132</link>
      <description>&lt;P&gt;I think that sentence was intended to describe what the LINK option in the ASSESS statement does internally for you. So, yes, the statement I showed is all you need.&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 19:57:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648682#M31132</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-05-18T19:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pregibon link test for generalized linear models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648809#M31133</link>
      <description>that is great news.  Thank you.</description>
      <pubDate>Tue, 19 May 2020 11:57:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Pregibon-link-test-for-generalized-linear-models/m-p/648809#M31133</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-05-19T11:57:31Z</dc:date>
    </item>
  </channel>
</rss>

