<?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 PROC CAUSALMED for mediation analysis in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-CAUSALMED-for-mediation-analysis/m-p/920143#M362405</link>
    <description>&lt;P&gt;Dear SAS users,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing a mediation analysis using cross-sectional data (n=7,173):&lt;/P&gt;&lt;P&gt;X= family tension (binary)&lt;BR /&gt;M= sleep disturbance (continuous)&lt;BR /&gt;Y= Depression (binary and rare outcome in my population)&lt;/P&gt;&lt;P&gt;There is no interaction between X (family tension) and M (sleep disturbance)&lt;/P&gt;&lt;P&gt;The equations are the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Logit {P(depression=1|a,m,c)}=θ0+ θ1family_tension+ θ2sleep_disturbance+θ3family_tension*sleep_distrubance+θ’4covariates&lt;/P&gt;&lt;P&gt;E[sleep_disturbance|family_tension,covariates]=β0+ β1dispute + β’2covariates&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When I run my mediation analysis using &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/168503"&gt;@PROC&lt;/a&gt;CAUSALMED, I obtain the following results:&lt;/P&gt;&lt;P&gt;Total effect (OR= 4.05, 95%CI, 3.06-5.05)&lt;BR /&gt;Natural direct effect (OR=2.39, 95%CI, 1.88-2.90)&lt;BR /&gt;Natural indirect effect (OR=1.70, 95%CI, 1.48-1.91).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I run a logistic regression between X and Y (without the mediator and including covariates), I would expect to get the OR=4.05 as in the CAUSALMED result of the total effect, however I get a OR= 3.06, 95%CI, 2.49-3.76).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know why I am not&amp;nbsp; getting the same OR? I would expect to also get OR=4.05 from a logistic regression&amp;nbsp;(x-&amp;gt;y without the mediator), because I had understood the total effect in the causal mediation would be equivalent to the reduced model using traditional mediation (x-&amp;gt;y without the mediator).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps I am mixing concepts, your help is very wellcome.&amp;nbsp;Thank you so much in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ana&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2024 15:43:48 GMT</pubDate>
    <dc:creator>Analu</dc:creator>
    <dc:date>2024-03-13T15:43:48Z</dc:date>
    <item>
      <title>PROC CAUSALMED for mediation analysis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-CAUSALMED-for-mediation-analysis/m-p/920143#M362405</link>
      <description>&lt;P&gt;Dear SAS users,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing a mediation analysis using cross-sectional data (n=7,173):&lt;/P&gt;&lt;P&gt;X= family tension (binary)&lt;BR /&gt;M= sleep disturbance (continuous)&lt;BR /&gt;Y= Depression (binary and rare outcome in my population)&lt;/P&gt;&lt;P&gt;There is no interaction between X (family tension) and M (sleep disturbance)&lt;/P&gt;&lt;P&gt;The equations are the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Logit {P(depression=1|a,m,c)}=θ0+ θ1family_tension+ θ2sleep_disturbance+θ3family_tension*sleep_distrubance+θ’4covariates&lt;/P&gt;&lt;P&gt;E[sleep_disturbance|family_tension,covariates]=β0+ β1dispute + β’2covariates&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When I run my mediation analysis using &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/168503"&gt;@PROC&lt;/a&gt;CAUSALMED, I obtain the following results:&lt;/P&gt;&lt;P&gt;Total effect (OR= 4.05, 95%CI, 3.06-5.05)&lt;BR /&gt;Natural direct effect (OR=2.39, 95%CI, 1.88-2.90)&lt;BR /&gt;Natural indirect effect (OR=1.70, 95%CI, 1.48-1.91).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I run a logistic regression between X and Y (without the mediator and including covariates), I would expect to get the OR=4.05 as in the CAUSALMED result of the total effect, however I get a OR= 3.06, 95%CI, 2.49-3.76).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know why I am not&amp;nbsp; getting the same OR? I would expect to also get OR=4.05 from a logistic regression&amp;nbsp;(x-&amp;gt;y without the mediator), because I had understood the total effect in the causal mediation would be equivalent to the reduced model using traditional mediation (x-&amp;gt;y without the mediator).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps I am mixing concepts, your help is very wellcome.&amp;nbsp;Thank you so much in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ana&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 15:43:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-CAUSALMED-for-mediation-analysis/m-p/920143#M362405</guid>
      <dc:creator>Analu</dc:creator>
      <dc:date>2024-03-13T15:43:48Z</dc:date>
    </item>
  </channel>
</rss>

