<?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: Interpretation on Parameter Estimates from Gamma log link in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Interpretation-on-Parameter-Estimates-from-Gamma-log-link/m-p/272662#M14355</link>
    <description>&lt;P&gt;1. When you use reference parameterization, parameter estimates of CLASS main effects estimate the difference in the effect of each nonreference level compared to the effect of the reference level.&lt;/P&gt;
&lt;P&gt;2. Since you do not have any continuous variables, your question is not exactly correct. You can ask "as a class variable changes from the reference value to a different value, how does the predicted value change?" &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The answer can be derived from the predicted model, which you were shown how to get&amp;nbsp;in &lt;A href="https://communities.sas.com/t5/SAS-Statistical-Procedures/Equation-from-Gamma-on-log-link/m-p/272366#U272366" target="_self"&gt;your last post:&lt;/A&gt;&amp;nbsp; To find the difference from the reference level, plug in the level of x and get the predicted value. Notice that because you are using a log link you also need to exponentiate:&amp;nbsp;exp(beta*x). &amp;nbsp;You can compare this value to the predicted value when ALL parameters are at their reference level: exp(beta*x_ref).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 May 2016 09:58:17 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2016-05-24T09:58:17Z</dc:date>
    <item>
      <title>Interpretation on Parameter Estimates from Gamma log link</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interpretation-on-Parameter-Estimates-from-Gamma-log-link/m-p/272639#M14353</link>
      <description>&lt;P&gt;&lt;FONT face="times new roman,times" size="4"&gt;Dear Sir or Madam,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times" size="4"&gt;Can I please ask your help on how to interpret the parameter estimates from Gamma log link?&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times" size="4"&gt;If a unit increase in x will increase y by Beta(x)?&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times" size="4"&gt;Thank you very much.&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc genmod data=temp plots=all;
	class raps(ref="0") help(ref="No") inv(ref="Zero") ob(ref="Zero") / param=ref;
	model occ=raps help inv ob / dist=gamma link=log type3;
	contrast 'linear' raps -2 -1  0  1  2;
	contrast 'quadratic' raps 2 -1 -2 -1  2 ;
	contrast 'cubic' raps -1  2  0 -2  1;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Analysis Of Maximum Likelihood Parameter Estimates&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Parameter&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;DF&lt;/TD&gt;&lt;TD&gt;Estimate&lt;/TD&gt;&lt;TD&gt;Standard Error&lt;/TD&gt;&lt;TD&gt;Wald 95% Confidence Limits&lt;/TD&gt;&lt;TD&gt;Wald Chi-Square&lt;/TD&gt;&lt;TD&gt;Pr &amp;gt; ChiSq&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Intercept&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&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TD&gt;2.3666&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 24 May 2016 06:43:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interpretation-on-Parameter-Estimates-from-Gamma-log-link/m-p/272639#M14353</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2016-05-24T06:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Interpretation on Parameter Estimates from Gamma log link</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interpretation-on-Parameter-Estimates-from-Gamma-log-link/m-p/272640#M14354</link>
      <description>&lt;P&gt;Sorry. I am not expert about it .Maybe some expert like&amp;nbsp;@Steve&amp;nbsp;@lvm should gave you right answer.&lt;/P&gt;
&lt;P&gt;My opinion is.&lt;/P&gt;
&lt;P&gt;Since all your independent variables are CLASS variables. Therefore the following could not be right .&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"If a unit increase in x will increase y by Beta(x)"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;maybe should say when the level change from the compared level(last level) into the current level , Beta(x) or Y will change 0.3116 .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;the estimate coefficient of&amp;nbsp; CLASS variables represent the association between the current level of CLASS variable and the expect value of dependent variable E(Y) .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And since all the&amp;nbsp;coefficient of&amp;nbsp;&lt;SPAN&gt; CLASS variables are constraint to 1 ,then you could know the last level's&amp;nbsp; estimate coefficient:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;E.X.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;INV&lt;/TD&gt;
&lt;TD&gt;At least once&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;0.3116&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;That means the another level of INV should have -0.3116 ,although it does not printed out.&lt;/P&gt;
&lt;P&gt;So INV(At least once) have the positive correlation with E(log(occ)) and&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;INV(another level) have the negative&amp;nbsp;correlation with E(log(occ)) .&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 07:29:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interpretation-on-Parameter-Estimates-from-Gamma-log-link/m-p/272640#M14354</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-05-24T07:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Interpretation on Parameter Estimates from Gamma log link</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interpretation-on-Parameter-Estimates-from-Gamma-log-link/m-p/272662#M14355</link>
      <description>&lt;P&gt;1. When you use reference parameterization, parameter estimates of CLASS main effects estimate the difference in the effect of each nonreference level compared to the effect of the reference level.&lt;/P&gt;
&lt;P&gt;2. Since you do not have any continuous variables, your question is not exactly correct. You can ask "as a class variable changes from the reference value to a different value, how does the predicted value change?" &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The answer can be derived from the predicted model, which you were shown how to get&amp;nbsp;in &lt;A href="https://communities.sas.com/t5/SAS-Statistical-Procedures/Equation-from-Gamma-on-log-link/m-p/272366#U272366" target="_self"&gt;your last post:&lt;/A&gt;&amp;nbsp; To find the difference from the reference level, plug in the level of x and get the predicted value. Notice that because you are using a log link you also need to exponentiate:&amp;nbsp;exp(beta*x). &amp;nbsp;You can compare this value to the predicted value when ALL parameters are at their reference level: exp(beta*x_ref).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 09:58:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interpretation-on-Parameter-Estimates-from-Gamma-log-link/m-p/272662#M14355</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-05-24T09:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Interpretation on Parameter Estimates from Gamma log link</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interpretation-on-Parameter-Estimates-from-Gamma-log-link/m-p/272716#M14363</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS﻿&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp﻿&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your explanation.&lt;/P&gt;&lt;P&gt;Can I please ask to check with you whether I have indeed understood?&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;y_pred=exp(3.7266+(raps=1)0.5465+(raps=2)0.6508+(raps=3)0.9799+(raps=4)0.8417+(help=Yes)0.3829+(INV=At least once)0.3116+(OB=At least once)0.1521)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If raps=1 vs raps=o,&lt;BR /&gt;exp(3.7266+0.5465)/exp(3.7266)=1.729(3d.p.), occ will increase by 1.729 when raps changes from 0 to 1 while holding other variables constant.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 13:15:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interpretation-on-Parameter-Estimates-from-Gamma-log-link/m-p/272716#M14363</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2016-05-24T13:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Interpretation on Parameter Estimates from Gamma log link</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interpretation-on-Parameter-Estimates-from-Gamma-log-link/m-p/272930#M14378</link>
      <description>&lt;P&gt;&lt;SPAN&gt;y_pred is depended on Design Matrix , you missed the reference level of CLASS variable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If I was right:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Log(occ1)(When raps=1) = ... &amp;nbsp;0.5465*(raps=1).....&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Log(occ0)(When&amp;nbsp;raps=0 --&amp;nbsp;average effect of&amp;nbsp;the four&amp;nbsp;levels of raps ) &amp;nbsp;=&amp;nbsp;... &amp;nbsp;&lt;SPAN&gt;0.5465*(raps=0).....&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;==&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Log(occ-1/occ-0)=&amp;nbsp;0.5465&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Which means E(log(occ)) will increase&amp;nbsp;0.5465&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; when raps turn from 0(average effect of&amp;nbsp;the four&amp;nbsp;levels of raps ) &amp;nbsp;into 1(current level) .&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 03:18:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interpretation-on-Parameter-Estimates-from-Gamma-log-link/m-p/272930#M14378</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-05-26T03:18:09Z</dc:date>
    </item>
  </channel>
</rss>

