<?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: About Interpreting Marginal effects in logistic model (dummy predictors and categorical logistic in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/About-Interpreting-Marginal-effects-in-logistic-model-dummy/m-p/318106#M16774</link>
    <description>&lt;P&gt;Yes, since proc surveylogistic uses maximum likelihood estimation, binary or nominal marginal effects should be&amp;nbsp; asconsistently estimated as linear effects are.&lt;/P&gt;</description>
    <pubDate>Sun, 11 Dec 2016 04:17:08 GMT</pubDate>
    <dc:creator>Damien_Mather</dc:creator>
    <dc:date>2016-12-11T04:17:08Z</dc:date>
    <item>
      <title>About Interpreting Marginal effects in logistic model (dummy predictors and categorical logistic)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/About-Interpreting-Marginal-effects-in-logistic-model-dummy/m-p/308088#M16304</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've trouble inpterpreting marginal effects in multinomial logistic model with dummy preditors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'v already read helpful tech supports in SAS (&lt;A href="http://support.sas.com/kb/22/604.html" target="_self"&gt;Usage Note 22604: Marginal effect estimation for predictors in logistic and probit models&lt;/A&gt; ) that explained how to calculate marginal effects in logistic model with SAS.&lt;/P&gt;&lt;P&gt;But this manual doesn't treat in case of dummy predictors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Though I derived marginal effects from 22604 manual, &lt;STRONG&gt;I'm not sure whether it's possible to interpret as continuos predictors case in manual's examples.&amp;nbsp;Is there no problem if I&amp;nbsp;compute and interpret marginal effects in case of dummy predictors and categorical dependent variable as above manul(continous predictors and categorical dependent variable)?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well,&amp;nbsp;It might be the good way to use odd ratios, but I'd like to use marginal effects if possible.&lt;/P&gt;&lt;P&gt;Thanks for reading.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Follwing code is about marginal effect of pie1 on c1.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* c1 is dependent variable consist of 0,1,2;&lt;BR /&gt;* status is binary dummy predictor : go(good), ba(bad);&lt;BR /&gt;* pie is also binay dummy predictor : up, do(down);&lt;BR /&gt;&lt;BR /&gt;data aa;
input c1 $ status $ pie1 $;
cards;
0	ba	up
1	ba	up
0	ba	up
1	ba	up
1	ba	up
0	ba	up
0	ba	do
1	ba	up
1	ba	up
0	ba	up
2	go	up
1	ba	up
0	ba	up
1	ba	up
1	ba	up
1	ba	up
1	ba	up
2	ba	up
0	ba	up
1	ba	do
;
run;

proc surveylogistic data  = aa;
class c1(ref='1') pie1(ref='do') status(ref='ba') / param = ref;
model c1 = pie1 status receive / link = glogit;
ods output ParameterEstimates=betas;
output out=preds predprobs=individual;
run;

proc transpose data=betas out=rowbetas;
var estimate;
run;

data margeff;
if _n_=1 then set rowbetas;
set preds;
SumBetaPred = col3*IP_0 + col4*IP_2 ;
MEc0 = IP_0 * (col3 - SumBetaPred);
MEc2 = IP_2 * (col4 - SumBetaPred);
MEc1 = IP_1 * (-SumBetaPred);
run;

proc sort data = margeff out = margeff2 nodupkey;
by pie1;
run;


data margeff3; set margeff2;
keep pie1 mec1 mec2 mec0 cty;
run;

proc print data = margeff2 ;
id pie1;
var me:;
run;


data margeff3; set margeff2;
keep pie1 mec1 mec2 mec0 cty;
run;

proc print data = margeff2 ;
id pie1;
var me:;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Oct 2016 15:03:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/About-Interpreting-Marginal-effects-in-logistic-model-dummy/m-p/308088#M16304</guid>
      <dc:creator>choe</dc:creator>
      <dc:date>2016-10-29T15:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: About Interpreting Marginal effects in logistic model (dummy predictors and categorical logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/About-Interpreting-Marginal-effects-in-logistic-model-dummy/m-p/318106#M16774</link>
      <description>&lt;P&gt;Yes, since proc surveylogistic uses maximum likelihood estimation, binary or nominal marginal effects should be&amp;nbsp; asconsistently estimated as linear effects are.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Dec 2016 04:17:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/About-Interpreting-Marginal-effects-in-logistic-model-dummy/m-p/318106#M16774</guid>
      <dc:creator>Damien_Mather</dc:creator>
      <dc:date>2016-12-11T04:17:08Z</dc:date>
    </item>
  </channel>
</rss>

