• Aucun résultat trouvé

Parametric Regression-Based Causal Mediation Analysis of Binary Outcomes and Binary Mediators: Moving Beyond the Rareness or Commonness of the Outcome

N/A
N/A
Protected

Academic year: 2021

Partager "Parametric Regression-Based Causal Mediation Analysis of Binary Outcomes and Binary Mediators: Moving Beyond the Rareness or Commonness of the Outcome"

Copied!
12
0
0

Texte intégral

(1)

Parametric Regression-Based Causal Mediation Analysis of Binary Outcomes and Binary Mediators: Moving Beyond the Rareness or Commonness of the Outcome

Mariia Samoilenko and Geneviève Lefebvre

Table of contents

Web Appendix 1 page 1

Web Appendix 2 page 15

Web Appendix 3 page 19

Web Table 1 page 39

Web Table 2 page 40

Web Table 3 page 42

Web Table 4 page 44

Web Table 5 page 46

Web Table 6 page 47

Web References page 48

(2)

WEB APPENDIX 1

General formulas used in the delta method for the exact regression-based mediation effects The formulas for calculating the confidence intervals of the natural effects on the odd ratio, risk ratio, and risk difference scales depend upon the nested counterfactual outcome probability

P

(

Y(a , M(a¿))=1

|

C=c

)

and its gradient with respect to the coefficients of the mediator and outcome models (β , θ) . The following equations will be used to derive the expression for the aforementioned gradient as well as those for the standard errors of estimates.

For any scalar function φ(α) differentiable in Rn, where α=(α1, α2, … , αn)' , the partial derivatives of expit(φ)) and 1−expit(φ(α)) are:

∂ αi

(

1exp+exp(φ(α(φ())α))

)

=(1+expexp(φ(α(α)))))2

∂ φ(α)

∂ αi ,

∂ αi

(

1+exp1(φ))

)

=(1+exp−exp((φφ(α)))))2

∂ φ(α)

∂ αi ,

(A1)

where i=1, 2,… , n .

For any scalar functions f(α) and g(α) , differentiable in Rn and taking values in (0, 1) :

∂ αi

(

ln

(

1−f(fα) )

) )

=∂ αi(ln(f))−ln(1−f(α)))

¿ 1 f(α)

∂ f)

∂ αi + 1 1−f(α)

∂ f(α)

∂ αi = 1

f(α)(1−f(α))

∂ f(α)

∂ αi ,

(3)

∂ αi

(

ln

( (

1−f(fα) )

)

/

(

1−gg(α) )

) ) )

=∂ αi

(

ln

(

1−ff(α()α)

)

−ln

(

1−gg()α)

) )

=f)(1−1 f(α)) ∂ f∂α(αi)(A2)g(α)(1−1 g)) ∂ g∂ αi ),

∂ αi

(

ln

(

fg((αα))

) )

=∂ αi

(lnf (α)−lng(α))= 1

f(α)

∂ f (α)

∂ αi 1 g(α)

∂ g(α)

∂ αi , (A3)

where α=(α1, α2, … , αn)'Rn , i=1, 2,… , n .

Nested probability formulas based on the mediator and outcome logistic models Let C denote the set of adjustment variables. Under identifying and modeling

assumptions (1-2) from the main text, the nested probability P

(

Y(a , M(a¿))=1

|

C=c

)

for

exposure levels a and a¿ is expressed as follows:

P

(

Y(a , M(a¿))=1

|

C=c

)

¿P(Y=1|A=a , M=1,C=c)P(M=1|A=a¿, C=c)

+P(Y=1|A=a , M=0,C=c)P(M=0|A=a¿, C=c)

¿ exp(θ0+θ1a+θ23a+θ4' c)

1+exp(θ0+θ1a23a+θ4' c2)

exp(β0+β1a¿+β2' c)

1+exp(β0+β1a¿+β2'c)

+exp(θ0+θ1a+θ4' c)

1+exp(θ01a+θ4' c)

1

1+exp(β0+β1a¿+β2' c).

Let g(a , a¿, c) denote this last expression:

g(a , a¿, c)= exp01a+θ2+θ3a4'

c)

1+exp01a+θ2+θ3a+θ4' c) exp(β0+β1a¿+β2'

c) 1+exp(β0+β1a¿+β2'c)

(A4)

(4)

+exp01a+θ4'c)

1+exp0+θ1a+θ4' c) 1

1+exp(β0+β1a¿+β2'c).

Then, using general formulas (A1), the partial derivatives of g(a , a¿, c) with respect to each of the coefficients are:

∂ g(a , a¿, c)

∂ β0

¿ exp01a+θ23a+θ4' c)

1+exp0+θ1a+θ23a+θ'4c) exp(β0+β1a¿+β2' c)

(1+exp(β0+β1a¿+β2' c))2

−exp01a+θ4' c)

1+exp0+θ1a+θ4' c) exp(β0+β1a¿+β2' c)

(1+exp(β0+β1a¿+β2'c))2

¿ exp(β0+β1a¿+β2' c)

(

1+exp(β0+β1a¿+β2'c)

)

2

×

(

1+expexp00+1θa+θ1a+θ223a+3a+θ4'θc4')c) exp0+θ1a+θ4' c) 1+exp(θ01a+θ'4c)

)

,

∂ g(a , a¿, c)

∂ β1 =a¿∂ g(a , a¿, c)

∂ β0 ,

∂ g(a , a¿, c)

∂ β2i =ci∂ g(a , a¿, c)

∂ β0 ,i=1, … , k ,

∂ g(a , a¿, c)

∂θ0

¿ exp(θ0+θ1a23a+θ4' c)

(1+exp0+θ1a23a+θ4' c))2

exp(β0+β1a¿+β2' c) 1+exp(β0+β1a¿+β2'c)

(5)

+exp01a+θ'4c)

(1+exp01a+θ'4c))2

1

1+exp(β0+β1a¿+β2'c),

∂ g(a , a¿, c)

∂θ1 =a ∙∂ g(a , a¿, c)

∂ θ0 ,

∂ g(a , a¿, c)

∂θ2

¿ exp(θ0+θ1a+θ23a+θ4' c)

(1+exp0+θ1a23a+θ4' c))2

exp(β0+β1a¿+β2'c)

1+exp(β0+β1a¿+β2' c),

∂ g(a , a¿, c)

∂θ3 =a ∙∂ g(a , a¿, c)

∂ θ2 ,

∂ g(a , a¿, c)

∂ θ4i =ci∂ g(a , a¿, c)

∂ θ0 ,i=1, … , k ,

where k is the cardinal number of C .

Thus, the gradient of the scalar function g(a , a¿, c) with respect to the vector (β , θ)=(β0, β1, β21,… , β2k0, θ1, θ23, θ41, …,θ4k)'

is

(g(a , a¿, c))=

(

∂ g(a , a∂ β¿, c),∂ g(a , a¿, c)

∂ θ

)

' (A5)

where

∂ g(a , a¿, c)

∂ β =

(

∂ g(∂ βa , a0¿, c)

,∂ g(a ,a¿, c)

β1 ,∂ g(a , a¿, c)

∂ β21 , …,∂ g(a , a¿, c)

∂ β2k

)

,

∂ g(a , a¿, c)

∂ θ =

(

∂ g(a , a∂ θ0¿, c)

,∂ g(a ,a¿, c)

∂θ1 ,∂ g(a , a¿, c)

∂θ2 ,∂ g(a , a¿, c)

∂ θ3 ,∂ g(a , a¿, c)

∂θ41 , … ,∂ g(a , a¿, c)

∂ θ4k

)

.

(6)

Delta method for mediation exact regression-based odds ratios We define the following notation:

^g(a , a¿, c)=g(a ,a¿, c)

|

(β , θ)=(^β ,θ^),

(g^(a , a¿, c))=∇(g(a , a¿, c))

|

(β , θ)=(^β ,θ^),

where (g(a , a¿, c)) is defined in (A5).

We can express the regression-based exact ¿a , aNDE¿|c and ¿a , aNIE¿|c in terms of g(a , a¿, c) defined in (A4) as follows:

¿a , aNDE¿|c=

g(a , a¿, c) 1−g(a , a¿, c)

g(a¿, a¿, c) 1−g(a¿, a¿, c)

,¿a , aNIE¿c=

g(a , a , c) 1−g(a , a , c)

g(a , a¿, c) 1−g(a , a¿, c)

.

To construct the 95% confidence intervals (CIs) for the exact natural effect OR by first-order multivariate delta method (1), we have applied the same approach as in (2), that is we have expressed standard errors (se) for ln

(

¿^a ,a¿|c

NDE

)

and ln

(

¿^a ,a¿|c

NIE

)

according to the following approximate formulas:

se

(

ln

(

¿^a ,a¿|c

NDE

) )

(

ln

(

¿^a ,aNDE¿|c

) )

'∙ ∑∙

(

ln

(

¿^a ,aNDE¿|c

) )

,

se

(

ln

(

¿^a ,a¿|c

NIE

) )

(

ln

(

¿^a ,aNIE¿|c

) )

'∙ ∑∙

(

ln

(

¿^a ,aNIE¿|c

) )

,

where ∑=diag

{

^β,∑θ^

}

is a block matrix, ^β and θ^ are the covariance matrices for the vectors ^β and θ^ , respectively. The gradients of ln

(

¿^a ,a¿|c

NDE

)

and ln

(

¿^a ,a¿c NIE

)

are

expressed using (g^(a , a¿, c)) as follows:

(7)

(

ln

(

¿^a , aNDE¿|c

) )

¿ (g^(a ,a¿, c))

g^(a , a¿, c)(1−^g(a , a¿, c))

(g^(a¿, a¿, c))

^g(a¿, a¿,)(1−^g(a¿, a¿, c)),

(

ln

(

¿^a , a¿|c NIE

) )

¿ (^g(a , a , c))

g^(a , a , c)(1− ^g(a , a , c))

(^g(a , a¿, c))

g^(a , a¿, c)(1−^g(a , a¿, c)).

Thus, ln

(

¿^a ,a¿|c

NDE

)

± Φ−1(0.975)∙ se

(

ln

(

¿^a , aNDE¿|c

) )

,

ln

(

¿^a ,a¿|c

NIE

)

± Φ−1(0.975)∙ se

(

ln

(

¿^a , aNIE¿|c

) )

are the 95% CIs for ln

(

¿a ,a¿|c

NDE

)

and ln

(

¿a ,a¿|c

NIE

)

, respectively. Therefore, 95% CIs for ¿a , aNDE¿|c and ¿a , aNIE¿|c are given by

¿^a , aNDE¿|cexp

(

±Φ−1(0.975)∙ se

(

ln

(

¿^a ,aNDE¿|c

) ) )

,

¿^a , aNIE¿|cexp

(

±Φ−1(0.975)∙ se

(

ln

(

¿^a ,aNIE¿|c

) ) )

.

Finally, we have for the total effect odds ratio ¿a , aTE¿|c that ln

(

¿^a ,a¿|c

TE

)

=ln

(

¿^a , a¿|c

NDE

)

+ln

(

¿^a ,a¿|c NIE

)

,

(

ln

(

¿^a , a¿|c

TE

) )

=∇

(

ln

(

¿^a , a¿|c

NDE

) )

+

(

ln

(

¿^a ,a¿|c NIE

) )

and

(8)

se

(

ln

(

¿^a ,a¿|c

TE

) )

(

ln

(

¿^TEa ,a¿|c

) )

' ∙∑∙

(

ln

(

¿^a , aTE¿|c

) )

.

Thus, a 95% CI for ln

(

¿a ,a¿|c

TE

)

is

ln

(

¿^a ,a¿|c

TE

)

± Φ−1(0.975)∙ se

(

ln

(

¿^a , aTE¿|c

) )

,

and, consequently, approximate 95% CI for ¿a , aTE¿|c is given by

¿^a , aTE¿|cexp

(

±Φ−1(0.975)∙ se

(

ln

(

¿^a ,aTE¿|c

) ) )

.

Delta method for exact mediation regression-based risk ratios We have for the RR scale that

RRa ,aNDE¿|c= g(a , a¿, c)

g(a¿, a¿, c), RRa ,a¿|c

NIE = g(a , a , c) g(a , a¿,c),

and, correspondingly, ln

(

RR^a , a¿|c

NDE

)

=ln(^g(a , a¿, c))−ln(^g(a¿, a¿, c)),

ln

(

RR^a , a¿|c

NIE

)

=ln(^g(a , a , c))ln(g^(a ,a¿, c)).

The equation (A3) implies that

(

ln

(

RR^a ,a¿|c

NDE

) )

=(^g(a , a

¿, c))

^g(a , a¿,c)

(g^(a¿, a¿, c))

^g(a¿, a¿, c) ,

(

ln

(

RR^a ,a¿|c

NIE

) )

=^g(g^(a , a , c(a , a , c)))(^g(a , a

¿, c))

^g(a , a¿, c) . Thus,

(9)

se

(

ln

(

^RRa , a¿|c

NDE

) )

(

ln

(

RR^a ,aNDE¿|c

) )

' ∙∑∙

(

ln

(

^RRa ,aNDE¿|c

) )

,

se

(

ln

(

^RRa , a¿|c

NIE

) )

(

ln

(

RR^a ,aNIE¿|c

) )

' ∙∑∙

(

ln

(

^RRa ,aNIE¿|c

) )

,

and 95% CIs for RRa ,aNDE¿|c and RRa ,aNIE¿|c can be approximated by

^RRa ,aNDE¿|c∙exp

(

± Φ−1(0.975)∙ se

(

ln

(

^RRa ,aNDE¿|c

) ) )

,

^RRa ,aNIE¿|cexp

(

± Φ−1(0.975)∙ se

(

ln

(

^RRa ,aNIE¿|c

) ) )

.

Finally, we have for the total effect RRa ,aTE¿|c=RRa ,aNDE¿|c∙ RRa , aNIE¿|c : ln

(

RR^a , a¿|c

TE

)

=ln

(

^RRa , a¿|c

NDE

)

+ln

(

RR^a ,a¿|c NIE

)

.

(

ln

(

RR^a ,a¿|c

TE

) )

=

(

ln

(

^RRa , a¿|c

NDE

) )

+

(

ln

(

RR^a ,a¿|c NIE

) )

,

se

(

ln

(

^RRa , a¿|c

TE

) )

(

ln

(

RR^a ,aTE¿|c

) )

' ∙∑∙

(

ln

(

^RRa ,aTE¿|c

) )

.

The 95% CI for RRa ,aTE¿|c can be approximated by

^RRa ,aTE¿∨c∙exp

(

± Φ−1(0.975)∙ se

(

ln

(

RR^TEa ,a¿|c

) ) )

.

Delta method for exact mediation regression-based risk differences We have for the RD scale:

RDa ,aNDE¿|c=g(a , a¿, c)g(a¿, a¿, c), RDa ,aNIE¿|c=g(a , a , c)−g(a , a¿, c), RDTEa ,a¿|c=RDa , aNDE¿|c+RDa , aNIE¿|c,

(

^RDa ,a¿|c

NDE

)

=∇(g^(a , a¿, c))(^g(a¿, a¿, c)),

Références

Documents relatifs

In comparison to other dispute resolution practices, mediation is distinguished by the specificity of its argumentative dynamics which are mirrored in no other dispute

Although standard models assume that the crucial threshold for the system might only decrease over time, because of weakening shocks and obsolescence, we assume that, especially at

(clenbuterol) could enhance the contribution It is unclear whether the reduced content of internal organs to N-flux in sheep given of blood obtained at slaughter is the adequate

On the other hand, looking at the artifact, the graphing calculator, as a instrument of semiotic mediation, we intend to analyze how the transition from personal meanings

The formal specifications of binary file formats, especially for the custom ones, are very important, because the natural language specifications are am- biguous, and it may be hard

Une image se concrétise peu à peu dans son esprit : sa famille n’était pas un cocon protecteur, mais en réalité une gigantesque toile d’araignée, tissée soigneusement par

MCO offers initial support towards knowledge acquisition and reasoning and, in later steps, will serve as a general basis for the development of different mediation domain

We now present the results of our qualitative approach, highlighting the influence of the use of interactive mediation tools on each component (cognitive, emotional and