<?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 How to interpret the marginal effect of a log transformed independent variable in proc qlim? in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-interpret-the-marginal-effect-of-a-log-transformed/m-p/575996#M3594</link>
    <description>&lt;P&gt;In a logistic regression using SAS PROC QLIM, I have an independent variable, the natural log of annual earnings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;The average marginal effect on the dependent variable&amp;nbsp;of this independent variable = -0.0204.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EXP(-.0204) = 0.9798 AND (1-0.9798) = 0.0202.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Does this mean that a 1.0 percent increase in log earnings reduces the probability of the event by 2.02 percent?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or&amp;nbsp;is the marginal effect interpreted differently?&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jul 2019 22:33:33 GMT</pubDate>
    <dc:creator>PJP</dc:creator>
    <dc:date>2019-07-23T22:33:33Z</dc:date>
    <item>
      <title>How to interpret the marginal effect of a log transformed independent variable in proc qlim?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-interpret-the-marginal-effect-of-a-log-transformed/m-p/575996#M3594</link>
      <description>&lt;P&gt;In a logistic regression using SAS PROC QLIM, I have an independent variable, the natural log of annual earnings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;The average marginal effect on the dependent variable&amp;nbsp;of this independent variable = -0.0204.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EXP(-.0204) = 0.9798 AND (1-0.9798) = 0.0202.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Does this mean that a 1.0 percent increase in log earnings reduces the probability of the event by 2.02 percent?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or&amp;nbsp;is the marginal effect interpreted differently?&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 22:33:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-interpret-the-marginal-effect-of-a-log-transformed/m-p/575996#M3594</guid>
      <dc:creator>PJP</dc:creator>
      <dc:date>2019-07-23T22:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to interpret the marginal effect of a log transformed independent variable in proc qlim?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-interpret-the-marginal-effect-of-a-log-transformed/m-p/576616#M3595</link>
      <description>&lt;P style="margin: 0px 0px 13.33px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Hello,&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0px 0px 13.33px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;For a logit model, the marginal effect of change in a regressor, say jth regressor for observation i, on the conditional probability that y_i=1 is &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0px 0px 13.33px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;G(x_i'b)[1 - G(x_i'b)]b_j&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0px 0px 13.33px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;where, G(x’b) = exp(x’b)/[1+exp(x’b)]. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0px 0px 13.33px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;You can request these marginal effects for each regressor from PROC QLIM by specifying the OUTPUT statement and its MARGINAL option. For example, &lt;/FONT&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0px 0px 13.33px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;OUTPUT OUT=myoutputdata MARGINAL;&lt;/FONT&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0px 0px 13.33px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;The average marginal effect is the sample average of these marginal effects. For a logit model, this is&lt;/FONT&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0px 0px 13.33px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;(1/N)*SUMOVER_i{ G(x_i'b)[1 - G(x_i'b)] }b_j&lt;/FONT&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0px 0px 13.33px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;You can obtain this by averaging the column for the marginal effect of the log of annual earnings over the observations in the data set you specify with the OUT option (myoutputdata in the example above).&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0px 0px 13.33px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;If you calculated the average marginal effect of the log of annual earnings as described above and obtained the value -0.0204, then the interpretation of this is that on average a 1 percent increase in log earnings reduces the probability of the event occurring by 2.04 percent.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0px 0px 13.33px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I hope this helps,&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0px 0px 13.33px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Gunce&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 14:43:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-interpret-the-marginal-effect-of-a-log-transformed/m-p/576616#M3595</guid>
      <dc:creator>gunce_sas</dc:creator>
      <dc:date>2019-07-25T14:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to interpret the marginal effect of a log transformed independent variable in proc qlim?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-interpret-the-marginal-effect-of-a-log-transformed/m-p/576618#M3596</link>
      <description>&lt;P&gt;Very clear answer. Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 14:47:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-interpret-the-marginal-effect-of-a-log-transformed/m-p/576618#M3596</guid>
      <dc:creator>PJP</dc:creator>
      <dc:date>2019-07-25T14:47:07Z</dc:date>
    </item>
  </channel>
</rss>

