Header
Research Article
A Note on the Logistic Regression Model with a Random Coefficient to Predict Propensity Scores
Yasutaka Chiba*
Division of Biostatistics, Clinical Research Center, Kinki University School of Medicine, Osaka, Japan

ABSTRACT
In observational studies, marginal structural models are often used to adjust for confounding. When predicting propensity scores, some investigators may want to apply a logistic regression model with a random coefficient to take account of residual confounding. Here, we show that the random coefficient can be interpreted as the logarithm of the confounding risk ratio; i.e., the ratio of crude risk ratio to causal risk ratio. Three target populations (the exposed, unexposed, and total groups) are discussed.
KEYWORDS
Confounding risk ratio; Inverse-probability-weighting; Marginal structural model; Potential outcome

INTRODUCTION
Confounding is widely recognized as one of the principal problems faced by investigators conducting observational studies. In an analysis, some investigators may want to take account of residual confounding. In the situations, a random coefficient regression model (mixed effect model with random intercept) may be applied. The use of such a model has been discussed in the context of ordinal regression analysis [1-3]. However, this discussion has not been conducted in the context of marginal structural models (MSMs) [4,5], in which a logistic regression model is often used to predict propensity scores [6,7].
Here, we give an interpretation of a random coefficient when a logistic regression model with a random coefficient is used for predicting propensity scores. We discuss MSMs under the three target populations: the total, exposed, and unexposed groups.
MATERIALS AND METHODS
We use X as an exposure indicator and assume the now-standard deterministic potential outcome model [8], in which YX=1 and YX=0 are the potential outcome indicators under X = 1 and X = 0, respectively. The potential risks Pr(YX=1 = 1) and Pr(YX=0 = 1) are then the expectation of Y if everyone in the study population had been exposed and that if everyone had been not exposed, respectively. Causal effects with the total group as the target population are contrasts between these two risks. Those with X = x as the target population are contrasts between Pr(YX=1 = 1 | X = x) and Pr(YX=0 = 1 | X = x).
Let i = 1, …, n denote a subject and zi denote a vector of measured confounders. The propensity score Pr(X = 1 | Z = zi) is then predicted using a logistic regression model:
Pr(X=1/Z= z i )= exp( θ z i ) 1+exp( θ z i ) ,                   (1) MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaaciGGqbGaaiOCaiaacIcacaWGybGaeyypa0JaaGymaiaac+cacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcacqGH9aqpdaWcaaqaaiGacwgacaGG4bGaaiiCaiaacIcacuaH4oqCgaqbaiaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaabaGaaGymaiabgUcaRiGacwgacaGG4bGaaiiCaiaacIcacuaH4oqCgaqbaiaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaaaiaacYcacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeikaiaabgdacaqGPaaaaa@6705@
where θ is a vector of the regression coefficient. When residual confounding exists, however, Equation (1) derives the biased propensity scores. As a result, the MSM will derive biased estimates of causal effects. In the next section, we give an interpretation of a random coefficient when it is included in Equation (1).
RESULTS AND DISCUSSION
Unexposed group as the target population
To take account of residual confounding, we assume that the propensity score p0i is explained by the following logistic regression model with a random coefficient:
p 0i = exp{log( α i )+ θ z i } 1+exp{log( α i )+ θ z i } , MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaacaWGWbWaaSbaaSqaaiaaicdacaWGPbaabeaakiabg2da9maalaaabaGaciyzaiaacIhacaGGWbGaai4EaiGacYgacaGGVbGaai4zaiaacIcacqaHXoqydaWgaaWcbaGaamyAaaqabaGccaGGPaGaey4kaSIafqiUdeNbauaacaWG6bWaaSbaaSqaaiaadMgaaeqaaOGaaiyFaaqaaiaaigdacqGHRaWkciGGLbGaaiiEaiaacchacaGG7bGaciiBaiaac+gacaGGNbGaaiikaiabeg7aHnaaBaaaleaacaWGPbaabeaakiaacMcacqGHRaWkcuaH4oqCgaqbaiaadQhadaWgaaWcbaGaamyAaaqabaGccaGG9baaaiaacYcaaaa@6220@
where log (αi) is a random coefficient. Using Equation (1), p0i can be expressed as:
p 0i = exp( θ z i ) 1/ α i +exp( θ z i ) = Pr(X=1|Z= z i ) Pr(X=0|Z= z i ) / α i +Pr(X=1|Z= z i )            (2) MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaacaWGWbWaaSbaaSqaaiaaicdacaWGPbaabeaakiabg2da9maalaaabaGaciyzaiaacIhacaGGWbGaaiikaiqbeI7aXzaafaGaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaeaadaWcgaqaaiaaigdaaeaacqaHXoqydaWgaaWcbaGaamyAaaqabaaaaOGaey4kaSIaciyzaiaacIhacaGGWbGaaiikaiqbeI7aXzaafaGaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaaGaeyypa0ZaaSaaaeaaciGGqbGaaiOCaiaacIcacaWGybGaeyypa0JaaGymaiaacYhacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaeaadaWcgaqaaiGaccfacaGGYbGaaiikaiaadIfacqGH9aqpcaaIWaGaaiiFaiaadQfacqGH9aqpcaWG6bWaaSbaaSqaaiaadMgaaeqaaOGaaiykaaqaaiabeg7aHnaaBaaaleaacaWGPbaabeaaaaGccqGHRaWkciGGqbGaaiOCaiaacIcacaWGybGaeyypa0JaaGymaiaacYhacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGOaGaaeOmaiaabMcaaaa@819D@
Using the inverse-probability-weighting (IPW) method, Pr(YX=x = 1|X = 0) is estimated as follows:
Pr( Y X=1 =1|X=0)= 1 n 0 i=1 n 1 p 0i p 0i y i x i ,        (3) MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIXaaabeaakiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaicdacaGGPaGaeyypa0ZaaSaaaeaacaaIXaaabaGaamOBamaaBaaaleaacaaIWaaabeaaaaGcdaaeWbqaamaalaaabaGaaGymaiabgkHiTiaadchadaWgaaWcbaGaaGimaiaadMgaaeqaaaGcbaGaamiCamaaBaaaleaacaaIWaGaamyAaaqabaaaaOGaamyEamaaBaaaleaacaWGPbaabeaakiaadIhadaWgaaWcbaGaamyAaaqabaaabaGaamyAaiabg2da9iaaigdaaeaacaWGUbaaniabggHiLdGccaGGSaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGOaGaae4maiaabMcaaaa@6406@
Pr( Y X=0 =1|X=0)= 1 n 0 i=1 n y i (1 x i ) , MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIWaaabeaakiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaicdacaGGPaGaeyypa0ZaaSaaaeaacaaIXaaabaGaamOBamaaBaaaleaacaaIWaaabeaaaaGcdaaeWbqaaiaadMhadaWgaaWcbaGaamyAaaqabaGccaGGOaGaaGymaiabgkHiTiaadIhadaWgaaWcbaGaamyAaaqabaGccaGGPaaaleaacaWGPbGaeyypa0JaaGymaaqaaiaad6gaa0GaeyyeIuoakiaacYcaaaa@5898@
where n0 = nPr(X = 0) [9,10]. In the framework of MSMs, the causal risk difference (RD) is estimated using a weighted linear regression analysis of X on Y with the weights (1 – p0i) / p0i for exposed subjects and 1 for unexposed subjects. The causal risk ratio (RR) is estimated using the weighted Poisson regression analysis of X on Y with the same weights.
By substituting Equation (2) into Equation (3) and replacing yixi / n with Pr(Y = 1, X = 1, Z = zi) in the summation, the following equation is derived:
Pr( Y X=1 =1|X=0)= n n 0 i=1 n Pr(X=0|Z= z i ) / α i Pr(X=1|Z= z i ) y i x i n MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIXaaabeaakiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaicdacaGGPaGaeyypa0ZaaSaaaeaacaWGUbaabaGaamOBamaaBaaaleaacaaIWaaabeaaaaGcdaaeWbqaamaalaaabaWaaSGbaeaaciGGqbGaaiOCaiaacIcacaWGybGaeyypa0JaaGimaiaacYhacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaeaacqaHXoqydaWgaaWcbaGaamyAaaqabaaaaaGcbaGaciiuaiaackhacaGGOaGaamiwaiabg2da9iaaigdacaGG8bGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaaamaalaaabaGaamyEamaaBaaaleaacaWGPbaabeaakiaadIhadaWgaaWcbaGaamyAaaqabaaakeaacaWGUbaaaaWcbaGaamyAaiabg2da9iaaigdaaeaacaWGUbaaniabggHiLdaaaa@6E97@
= 1 Pr(X=0) i=1 n Pr(X=0|Z= z i ) α i Pr(X=1|Z= z i ) MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaacqGH9aqpdaWcaaqaaiaaigdaaeaaciGGqbGaaiOCaiaacIcacaWGybGaeyypa0JaaGimaiaacMcaaaWaaabCaeaadaWcaaqaaiGaccfacaGGYbGaaiikaiaadIfacqGH9aqpcaaIWaGaaiiFaiaadQfacqGH9aqpcaWG6bWaaSbaaSqaaiaadMgaaeqaaOGaaiykaaqaaiabeg7aHnaaBaaaleaacaWGPbaabeaakiGaccfacaGGYbGaaiikaiaadIfacqGH9aqpcaaIXaGaaiiFaiaadQfacqGH9aqpcaWG6bWaaSbaaSqaaiaadMgaaeqaaOGaaiykaaaaaSqaaiaadMgacqGH9aqpcaaIXaaabaGaamOBaaqdcqGHris5aaaa@60AD@
= i=1 n Pr(Y=1|X=1,Z= z i ) α i Pr(Z= z i |X=0) MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaacqGH9aqpdaaeWbqaamaalaaabaGaciiuaiaackhacaGGOaGaamywaiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaigdacaGGSaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaabaGaeqySde2aaSbaaSqaaiaadMgaaeqaaaaakiGaccfacaGGYbGaaiikaiaadQfacqGH9aqpcaWG6bWaaSbaaSqaaiaadMgaaeqaaOGaaiiFaiaadIfacqGH9aqpcaaIWaGaaiykaaWcbaGaamyAaiabg2da9iaaigdaaeaacaWGUbaaniabggHiLdaaaa@5D6F@
The left- and right-hand sides of this equation are equal when:
Pr(Y=1|X=1,Z= z i ) / α i =Pr( Y X=1 =1|X=0,Z= z i ), MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaadaWcgaqaaiGaccfacaGGYbGaaiikaiaadMfacqGH9aqpcaaIXaGaaiiFaiaadIfacqGH9aqpcaaIXaGaaiilaiaadQfacqGH9aqpcaWG6bWaaSbaaSqaaiaadMgaaeqaaOGaaiykaaqaaiabeg7aHnaaBaaaleaacaWGPbaabeaaaaGccqGH9aqpciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIXaaabeaakiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaicdacaGGSaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaGaaiilaaaa@5E64@
because Pr( Y X=1 =1|X=0)= i=1 n Pr( Y X=1 =1 |X=0,Z= z i )Pr(Z= z i |X=0).  Therefore: MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaacaqGIbGaaeyzaiaabogacaqGHbGaaeyDaiaabohacaqGLbGaaeiiaiGaccfacaGGYbGaaiikaiaadMfadaWgaaWcbaGaamiwaiabg2da9iaaigdaaeqaaOGaeyypa0JaaGymaiaacYhacaWGybGaeyypa0JaaGimaiaacMcacqGH9aqpdaaeWaqaaiGaccfacaGGYbGaaiikaiaadMfadaWgaaWcbaGaamiwaiabg2da9iaaigdaaeqaaOGaeyypa0JaaGymaaWcbaGaamyAaiabg2da9iaaigdaaeaacaWGUbaaniabggHiLdGccaGG8bGaamiwaiabg2da9iaaicdacaGGSaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaGaciiuaiaackhacaGGOaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGG8bGaamiwaiabg2da9iaaicdacaGGPaGaaiOlaiaabccacaGGGcGaaeivaiaabIgacaqGLbGaaeOCaiaabwgacaqGMbGaae4BaiaabkhacaqGLbGaaiOoaaaa@7BF4@
α i = Pr( Y X=1 =1|X=1,Z= z i ) Pr( Y X=1 =1|X=0,Z= z i ) = Pr(Y=1|X=1,Z= z i ) Pr(Y=1|X=0,Z= z i ) / Pr( Y X=1 =1|X=0,Z= z i ) Pr( Y X=0 =1|X=0,Z= z i ) . MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaacqaHXoqydaWgaaWcbaGaamyAaaqabaGccqGH9aqpdaWcaaqaaiGaccfacaGGYbGaaiikaiaadMfadaWgaaWcbaGaamiwaiabg2da9iaaigdaaeqaaOGaeyypa0JaaGymaiaacYhacaWGybGaeyypa0JaaGymaiaacYcacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIXaaabeaakiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaicdacaGGSaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaaaiabg2da9maalyaabaWaaSaaaeaaciGGqbGaaiOCaiaacIcacaWGzbGaeyypa0JaaGymaiaacYhacaWGybGaeyypa0JaaGymaiaacYcacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaeaaciGGqbGaaiOCaiaacIcacaWGzbGaeyypa0JaaGymaiaacYhacaWGybGaeyypa0JaaGimaiaacYcacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaaaabaWaaSaaaeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIXaaabeaakiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaicdacaGGSaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaabaGaciiuaiaackhacaGGOaGaamywamaaBaaaleaacaWGybGaeyypa0JaaGimaaqabaGccqGH9aqpcaaIXaGaaiiFaiaadIfacqGH9aqpcaaIWaGaaiilaiaadQfacqGH9aqpcaWG6bWaaSbaaSqaaiaadMgaaeqaaOGaaiykaaaaaaGaaiOlaaaa@A07C@
This αi is the confounding risk ratio (CRR) with the unexposed group as the target population [11], which is the ratio of crude RR to causal RR, for an individual with Z = zi.
Exposed group as the target population
In the case of the exposed group as the target population, we can make an argument similar to the above subsection. We assume that the propensity score p1i is explained by the following logistic regression model with a random coefficient:
p 1i = exp{log( β i )+ θ z i } 1+exp{log( β i )+ θ z i } MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaacaWGWbWaaSbaaSqaaiaaigdacaWGPbaabeaakiabg2da9maalaaabaGaciyzaiaacIhacaGGWbGaai4EaiGacYgacaGGVbGaai4zaiaacIcacqaHYoGydaWgaaWcbaGaamyAaaqabaGccaGGPaGaey4kaSIafqiUdeNbauaacaWG6bWaaSbaaSqaaiaadMgaaeqaaOGaaiyFaaqaaiaaigdacqGHRaWkciGGLbGaaiiEaiaacchacaGG7bGaciiBaiaac+gacaGGNbGaaiikaiabek7aInaaBaaaleaacaWGPbaabeaakiaacMcacqGHRaWkcuaH4oqCgaqbaiaadQhadaWgaaWcbaGaamyAaaqabaGccaGG9baaaaaa@6175@
where log(βi) is a random coefficient. Then, by the IPW method, Pr(YX=x = 1|X = 1) is estimated as:
Pr( Y X=1 =1|X=1)= 1 n 1 i=1 n y i x i ,Pr( Y X=0 =1|X=1)= 1 n 1 i=1 n p 1i 1 p 1i y i (1 x i ) , MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIXaaabeaakiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaigdacaGGPaGaeyypa0ZaaSaaaeaacaaIXaaabaGaamOBamaaBaaaleaacaaIXaaabeaaaaGcdaaeWbqaaiaadMhadaWgaaWcbaGaamyAaaqabaGccaWG4bWaaSbaaSqaaiaadMgaaeqaaaqaaiaadMgacqGH9aqpcaaIXaaabaGaamOBaaqdcqGHris5aOGaaiilaiGaccfacaGGYbGaaiikaiaadMfadaWgaaWcbaGaamiwaiabg2da9iaaicdaaeqaaOGaeyypa0JaaGymaiaacYhacaWGybGaeyypa0JaaGymaiaacMcacqGH9aqpdaWcaaqaaiaaigdaaeaacaWGUbWaaSbaaSqaaiaaigdaaeqaaaaakmaaqahabaWaaSaaaeaacaWGWbWaaSbaaSqaaiaaigdacaWGPbaabeaaaOqaaiaaigdacqGHsislcaWGWbWaaSbaaSqaaiaaigdacaWGPbaabeaaaaGccaWG5bWaaSbaaSqaaiaadMgaaeqaaOGaaiikaiaaigdacqGHsislcaWG4bWaaSbaaSqaaiaadMgaaeqaaOGaaiykaaWcbaGaamyAaiabg2da9iaaigdaaeaacaWGUbaaniabggHiLdGccaGGSaaaaa@7AB1@
where n1 = nPr(X = 1) [9,10]. In the framework of MSMs, the causal effects are estimated using the weighted regression analyses of X on Y with the weights 1 for exposed subjects and p1i / (1 – p1i) for unexposed subjects.

Algebra similar to the above subsection yields:
Pr( Y X=0 =1|X=1)= i=1 n β i Pr(Y=1|X=0,Z= z i )Pr(Z= z i |X=1) . MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIWaaabeaakiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaigdacaGGPaGaeyypa0ZaaabCaeaacqaHYoGydaWgaaWcbaGaamyAaaqabaGcciGGqbGaaiOCaiaacIcacaWGzbGaeyypa0JaaGymaiaacYhacaWGybGaeyypa0JaaGimaiaacYcacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaciGGqbGaaiOCaiaacIcacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacYhacaWGybGaeyypa0JaaGymaiaacMcaaSqaaiaadMgacqGH9aqpcaaIXaaabaGaamOBaaqdcqGHris5aOGaaiOlaaaa@6A52@
Because Pr( Y X=0 =1|X=1)= i=1 n Pr( Y X=0 =1 |X=1,Z= z i )Pr(Z= z i |X=1) MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIWaaabeaakiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaigdacaGGPaGaeyypa0ZaaabmaeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIWaaabeaakiabg2da9iaaigdaaSqaaiaadMgacqGH9aqpcaaIXaaabaGaamOBaaqdcqGHris5aOGaaiiFaiaadIfacqGH9aqpcaaIXaGaaiilaiaadQfacqGH9aqpcaWG6bWaaSbaaSqaaiaadMgaaeqaaOGaaiykaiGaccfacaGGYbGaaiikaiaadQfacqGH9aqpcaWG6bWaaSbaaSqaaiaadMgaaeqaaOGaaiiFaiaadIfacqGH9aqpcaaIXaGaaiykaaaa@696F@ βi can be expressed as:
β i = Pr( Y X=0 =1|X=1,Z= z i ) Pr( Y X=0 =1|X=0,Z= z i ) = Pr(Y=1|X=1,Z= z i ) Pr(Y=1|X=0,Z= z i ) / Pr( Y X=1 =1|X=1,Z= z i ) Pr( Y X=0 =1|X=1,Z= z i ) . MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaacqaHYoGydaWgaaWcbaGaamyAaaqabaGccqGH9aqpdaWcaaqaaiGaccfacaGGYbGaaiikaiaadMfadaWgaaWcbaGaamiwaiabg2da9iaaicdaaeqaaOGaeyypa0JaaGymaiaacYhacaWGybGaeyypa0JaaGymaiaacYcacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIWaaabeaakiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaicdacaGGSaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaaaiabg2da9maalyaabaWaaSaaaeaaciGGqbGaaiOCaiaacIcacaWGzbGaeyypa0JaaGymaiaacYhacaWGybGaeyypa0JaaGymaiaacYcacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaeaaciGGqbGaaiOCaiaacIcacaWGzbGaeyypa0JaaGymaiaacYhacaWGybGaeyypa0JaaGimaiaacYcacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaaaabaWaaSaaaeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIXaaabeaakiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaigdacaGGSaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaabaGaciiuaiaackhacaGGOaGaamywamaaBaaaleaacaWGybGaeyypa0JaaGimaaqabaGccqGH9aqpcaaIXaGaaiiFaiaadIfacqGH9aqpcaaIXaGaaiilaiaadQfacqGH9aqpcaWG6bWaaSbaaSqaaiaadMgaaeqaaOGaaiykaaaaaaGaaiOlaaaa@A07E@
This βi is the CRR with the exposed group as the target population [11], for an individual with Z = zi.
Total group as the target population
We assume that the propensity score pi is explained by the following logistic regression model with a random coefficient:
p i = exp{log( γ i )+ θ z i } 1+exp{log( γ i )+ θ z i } MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaacaWGWbWaaSbaaSqaaiaadMgaaeqaaOGaeyypa0ZaaSaaaeaaciGGLbGaaiiEaiaacchacaGG7bGaciiBaiaac+gacaGGNbGaaiikaiabeo7aNnaaBaaaleaacaWGPbaabeaakiaacMcacqGHRaWkcuaH4oqCgaqbaiaadQhadaWgaaWcbaGaamyAaaqabaGccaGG9baabaGaaGymaiabgUcaRiGacwgacaGG4bGaaiiCaiaacUhaciGGSbGaai4BaiaacEgacaGGOaGaeq4SdC2aaSbaaSqaaiaadMgaaeqaaOGaaiykaiabgUcaRiqbeI7aXzaafaGaamOEamaaBaaaleaacaWGPbaabeaakiaac2haaaaaaa@60C6@
where log(γi) is a random coefficient. Then, by the IPW method, Pr(YX=x = 1) is estimated as:
Pr( Y X=1 =1)= 1 n i=1 n y i x i p i ,          (4) MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIXaaabeaakiabg2da9iaaigdacaGGPaGaeyypa0ZaaSaaaeaacaaIXaaabaGaamOBaaaadaaeWbqaamaalaaabaGaamyEamaaBaaaleaacaWGPbaabeaakiaadIhadaWgaaWcbaGaamyAaaqabaaakeaacaWGWbWaaSbaaSqaaiaadMgaaeqaaaaaaeaacaWGPbGaeyypa0JaaGymaaqaaiaad6gaa0GaeyyeIuoakiaacYcacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeikaiaabsdacaqGPaaaaa@5B8B@
Pr( Y X=0 =1)= 1 n i=1 n y i (1 x i ) 1 p i .          (5) MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIWaaabeaakiabg2da9iaaigdacaGGPaGaeyypa0ZaaSaaaeaacaaIXaaabaGaamOBaaaadaaeWbqaamaalaaabaGaamyEamaaBaaaleaacaWGPbaabeaakiaacIcacaaIXaGaeyOeI0IaamiEamaaBaaaleaacaWGPbaabeaakiaacMcaaeaacaaIXaGaeyOeI0IaamiCamaaBaaaleaacaWGPbaabeaaaaaabaGaamyAaiabg2da9iaaigdaaeaacaWGUbaaniabggHiLdGccaGGUaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabIcacaqG1aGaaeykaaaa@6036@
In the framework of MSMs, the causal effects are estimated using the weighted regression models of X on Y with the weights 1 / pi for the exposed subjects and 1 / (1 – pi) for the unexposed subjects.
By a calculation similar to those in the above subsections, Equation (4) can be expressed as:
Pr( Y X=1 =1)= i=1 n { Pr(X=0|Z= z i ) γ i +Pr(X=1|Z= z i ) }Pr(Y=1|X=1,Z= z i )Pr(Z= z i ) MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakqaabeqaaiGaccfacaGGYbGaaiikaiaadMfadaWgaaWcbaGaamiwaiabg2da9iaaigdaaeqaaOGaeyypa0JaaGymaiaacMcacqGH9aqpaeaadaaeWbqaamaacmaabaWaaSaaaeaaciGGqbGaaiOCaiaacIcacaWGybGaeyypa0JaaGimaiaacYhacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaeaacqaHZoWzdaWgaaWcbaGaamyAaaqabaaaaOGaey4kaSIaciiuaiaackhacaGGOaGaamiwaiabg2da9iaaigdacaGG8bGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaacaGL7bGaayzFaaGaciiuaiaackhacaGGOaGaamywaiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaigdacaGGSaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaGaciiuaiaackhacaGGOaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaaleaacaWGPbGaeyypa0JaaGymaaqaaiaad6gaa0GaeyyeIuoaaaaa@7B21@
Because   Pr( Y X=1 =1)= i=1 n Pr( Y X=1 =1|Z= z i )Pr(Z= z i ) , MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIXaaabeaakiabg2da9iaaigdacaGGPaGaeyypa0ZaaabmaeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIXaaabeaakiabg2da9iaaigdacaGG8bGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaGaciiuaiaackhacaGGOaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaaleaacaWGPbGaeyypa0JaaGymaaqaaiaad6gaa0GaeyyeIuoakiaacYcaaaa@5F97@ the left- and right-hand sides of this equation are equal when:
Pr( Y X=1 =1|Z= z i )={ Pr(X=0|Z= z i ) γ i +Pr(X=1|Z= z i ) }Pr(Y=1|X=1,Z= z i ), MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIXaaabeaakiabg2da9iaaigdacaGG8bGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaGaeyypa0ZaaiWaaeaadaWcaaqaaiGaccfacaGGYbGaaiikaiaadIfacqGH9aqpcaaIWaGaaiiFaiaadQfacqGH9aqpcaWG6bWaaSbaaSqaaiaadMgaaeqaaOGaaiykaaqaaiabeo7aNnaaBaaaleaacaWGPbaabeaaaaGccqGHRaWkciGGqbGaaiOCaiaacIcacaWGybGaeyypa0JaaGymaiaacYhacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaiaawUhacaGL9baaciGGqbGaaiOCaiaacIcacaWGzbGaeyypa0JaaGymaiaacYhacaWGybGaeyypa0JaaGymaiaacYcacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcacaGGSaaaaa@73C1@
which derives: γ i = α i = Pr( Y X=1 =1|X=1,Z= z i ) Pr( Y X=1 =1|X=0,Z= z i ) . MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaacqaHZoWzdaWgaaWcbaGaamyAaaqabaGccqGH9aqpcqaHXoqydaWgaaWcbaGaamyAaaqabaGccqGH9aqpdaWcaaqaaiGaccfacaGGYbGaaiikaiaadMfadaWgaaWcbaGaamiwaiabg2da9iaaigdaaeqaaOGaeyypa0JaaGymaiaacYhacaWGybGaeyypa0JaaGymaiaacYcacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIXaaabeaakiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaicdacaGGSaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaaaiaac6caaaa@6505@
Likewise, Equation (5) derives: γ i = β i = Pr( Y X=0 =1|X=1,Z= z i ) Pr( Y X=0 =1|X=0,Z= z i ) , MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaacqaHZoWzdaWgaaWcbaGaamyAaaqabaGccqGH9aqpcqaHYoGydaWgaaWcbaGaamyAaaqabaGccqGH9aqpdaWcaaqaaiGaccfacaGGYbGaaiikaiaadMfadaWgaaWcbaGaamiwaiabg2da9iaaicdaaeqaaOGaeyypa0JaaGymaiaacYhacaWGybGaeyypa0JaaGymaiaacYcacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIWaaabeaakiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaicdacaGGSaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaaaiaacYcaaaa@6503@
because Equation (5) can be expressed as:
Pr( Y X=0 =1)= i=1 n {Pr(X=0|Z= z i )+ γ i Pr(X=1|Z= z i )} Pr(Y=1|X=0,Z= z i )Pr(Z= z i ) . MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIWaaabeaakiabg2da9iaaigdacaGGPaGaeyypa0ZaaabCaqaabeqaaiaabUhaciGGqbGaaiOCaiaacIcacaWGybGaeyypa0JaaGimaiaacYhacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcacqGHRaWkcqaHZoWzdaWgaaWcbaGaamyAaaqabaGcciGGqbGaaiOCaiaacIcacaWGybGaeyypa0JaaGymaiaacYhacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcacaqG9baabaGaaeiuaiaabkhacaGGOaGaamywaiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaicdacaGGSaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaGaciiuaiaackhacaGGOaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaaaSqaaiaadMgacqGH9aqpcaaIXaaabaGaamOBaaqdcqGHris5aOGaaiOlaaaa@7B94@
This observation shows that γi cannot be interpreted until αi= βi holds (i.e., the two CRRs with the exposed and unexposed groups as the target population are equal). When αi = βi holds, γi can be interpreted as the CRR with the total group as the target population, because this CRR is expressed as:
Pr(Y=1|X=1,Z= z i ) Pr(Y=1|X=0,Z= z i ) Pr( Y X=1 =1|Z= z i ) Pr( Y X=0 =1|Z= z i ) = Pr(X=0|Z= z i )+ β i Pr(X=1|Z= z i ) Pr(X=0|Z= z i ) α i +Pr(X=1|Z= z i )     (6) MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaadaWcaaqaamaalaaabaGaciiuaiaackhacaGGOaGaamywaiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaigdacaGGSaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaabaGaciiuaiaackhacaGGOaGaamywaiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaicdacaGGSaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaaaaqaamaalaaabaGaciiuaiaackhacaGGOaGaamywamaaBaaaleaacaWGybGaeyypa0JaaGymaaqabaGccqGH9aqpcaaIXaGaaiiFaiaadQfacqGH9aqpcaWG6bWaaSbaaSqaaiaadMgaaeqaaOGaaiykaaqaaiGaccfacaGGYbGaaiikaiaadMfadaWgaaWcbaGaamiwaiabg2da9iaaicdaaeqaaOGaeyypa0JaaGymaiaacYhacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaaaaaiabg2da9maalaaabaGaciiuaiaackhacaGGOaGaamiwaiabg2da9iaaicdacaGG8bGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaGaey4kaSIaeqOSdi2aaSbaaSqaaiaadMgaaeqaaOGaciiuaiaackhacaGGOaGaamiwaiabg2da9iaaigdacaGG8bGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaabaWaaSaaaeaaciGGqbGaaiOCaiaacIcacaWGybGaeyypa0JaaGimaiaacYhacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaeaacqaHXoqydaWgaaWcbaGaamyAaaqabaaaaOGaey4kaSIaciiuaiaackhacaGGOaGaamiwaiabg2da9iaaigdacaGG8bGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaaaiaabccacaqGGaGaaeiiaiaabccacaqGOaGaaeOnaiaabMcaaaa@AAA8@
and then γi is equal to the CRR when αi = βi (= γi). The derivation of Equation (6) is given in the Appendix.
Conclusion
Based on the formulas of the random coefficient model and the IPW approach, we have given an interpretation of a random coefficient when logistic regression with a random coefficient is used for predicting propensity scores. In conclusion, when the exposed or unexposed group is the target population, the random coefficient can be interpreted as the logarithm of CRR with its group as the target population. When the total group is the target population, however, the random coefficient cannot be interpreted in a straightforward manner. The random coefficient can be interpreted as the CRR only when the two CRRs with the exposed and unexposed groups as the target population are equal.
Although we have given an interpretation of a random coefficient in a logistic regression model, we have not discussed the predicted values of propensity scores or the estimates of causal effects themselves. We will need to research their characteristics through, for example, simulation studies.
Appendix: Derivation of Equation (6)
In the stratum with Z = zi, we let RRCi = Pr(Y = 1 | X = 1, Z = zi) / Pr(Y = 1 | X = 0, Z = zi) denote the crude RR, RREi = Pr(YX=1 = 1 | X = 1, Z = zi) / Pr(YX=0 = 1 | X = 1, Z = zi) denote the causal RR with the exposed group as the target population, and RRUi = Pr(YX=1 = 1 | X = 0, Z = zi) / Pr(YX=0 = 1 | X = 0, Z = zi) denote the causal RR with the unexposed group as the target population. Then, the CRR with the total group as the target population can be expressed as:
Pr(Y=1|X=1,Z= z i ) Pr(Y=1|X=0,Z= z i ) / Pr( Y X=1 =1|Z= z i ) Pr( Y X=0 =1|Z= z i ) = x=0 1 Pr( Y X=0 =1|X=x,Z= z i )Pr(X=x|Z= z i ) x=0 1 Pr( Y X=1 =1|X=x,Z= z i )Pr(X=x|Z= z i ) RR Ci MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaadaWcgaqaamaalaaabaGaciiuaiaackhacaGGOaGaamywaiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaigdacaGGSaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaabaGaciiuaiaackhacaGGOaGaamywaiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaaicdacaGGSaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaaaaqaamaalaaabaGaciiuaiaackhacaGGOaGaamywamaaBaaaleaacaWGybGaeyypa0JaaGymaaqabaGccqGH9aqpcaaIXaGaaiiFaiaadQfacqGH9aqpcaWG6bWaaSbaaSqaaiaadMgaaeqaaOGaaiykaaqaaiGaccfacaGGYbGaaiikaiaadMfadaWgaaWcbaGaamiwaiabg2da9iaaicdaaeqaaOGaeyypa0JaaGymaiaacYhacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaaaaaiabg2da9maalaaabaWaaabCaeaaciGGqbGaaiOCaiaacIcacaWGzbWaaSbaaSqaaiaadIfacqGH9aqpcaaIWaaabeaakiabg2da9iaaigdacaGG8bGaamiwaiabg2da9iaadIhacaGGSaGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaGaciiuaiaackhacaGGOaGaamiwaiabg2da9iaadIhacaGG8bGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaaleaacaWG4bGaeyypa0JaaGimaaqaaiaaigdaa0GaeyyeIuoaaOqaamaaqahabaGaciiuaiaackhacaGGOaGaamywamaaBaaaleaacaWGybGaeyypa0JaaGymaaqabaGccqGH9aqpcaaIXaGaaiiFaiaadIfacqGH9aqpcaWG4bGaaiilaiaadQfacqGH9aqpcaWG6bWaaSbaaSqaaiaadMgaaeqaaOGaaiykaiGaccfacaGGYbGaaiikaiaadIfacqGH9aqpcaWG4bGaaiiFaiaadQfacqGH9aqpcaWG6bWaaSbaaSqaaiaadMgaaeqaaOGaaiykaaWcbaGaamiEaiabg2da9iaaicdaaeaacaaIXaaaniabggHiLdaaaOGaaeOuaiaabkfadaWgaaWcbaGaae4qaiaadMgaaeqaaaaa@BB17@
= Pr( Y X=1 =1|X=1,Z= z i ) x=0 1 Pr( Y X=0 =1|X=x,Z= z i ) Pr( Y X=1 =1|X=1,Z= z i ) Pr(X=x|Z= z i ) Pr( Y X=0 =1|X=0,Z= z i ) x=0 1 Pr( Y X=1 =1|X=x,Z= z i ) Pr( Y X=0 =1|X=0,Z= z i ) Pr(X=x|Z= z i ) RR Ci MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaacqGH9aqpdaWcaaqaaiGaccfacaGGYbGaaiikaiaadMfadaWgaaWcbaGaamiwaiabg2da9iaaigdaaeqaaOGaeyypa0JaaGymaiaacYhacaWGybGaeyypa0JaaGymaiaacYcacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcadaaeWbqaamaalaaabaGaciiuaiaackhacaGGOaGaamywamaaBaaaleaacaWGybGaeyypa0JaaGimaaqabaGccqGH9aqpcaaIXaGaaiiFaiaadIfacqGH9aqpcaWG4bGaaiilaiaadQfacqGH9aqpcaWG6bWaaSbaaSqaaiaadMgaaeqaaOGaaiykaaqaaiGaccfacaGGYbGaaiikaiaadMfadaWgaaWcbaGaamiwaiabg2da9iaaigdaaeqaaOGaeyypa0JaaGymaiaacYhacaWGybGaeyypa0JaaGymaiaacYcacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaaGaciiuaiaackhacaGGOaGaamiwaiabg2da9iaadIhacaGG8bGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaaleaacaWG4bGaeyypa0JaaGimaaqaaiaaigdaa0GaeyyeIuoaaOqaaiGaccfacaGGYbGaaiikaiaadMfadaWgaaWcbaGaamiwaiabg2da9iaaicdaaeqaaOGaeyypa0JaaGymaiaacYhacaWGybGaeyypa0JaaGimaiaacYcacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcadaaeWbqaamaalaaabaGaciiuaiaackhacaGGOaGaamywamaaBaaaleaacaWGybGaeyypa0JaaGymaaqabaGccqGH9aqpcaaIXaGaaiiFaiaadIfacqGH9aqpcaWG4bGaaiilaiaadQfacqGH9aqpcaWG6bWaaSbaaSqaaiaadMgaaeqaaOGaaiykaaqaaiGaccfacaGGYbGaaiikaiaadMfadaWgaaWcbaGaamiwaiabg2da9iaaicdaaeqaaOGaeyypa0JaaGymaiaacYhacaWGybGaeyypa0JaaGimaiaacYcacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaaGaciiuaiaackhacaGGOaGaamiwaiabg2da9iaadIhacaGG8bGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaaleaacaWG4bGaeyypa0JaaGimaaqaaiaaigdaa0GaeyyeIuoaaaGccaqGsbGaaeOuamaaBaaaleaacaqGdbGaamyAaaqabaaaaa@C743@
= { Pr(X=0|Z= z i ) RR Ci + Pr(X=1|Z= z i ) RR Ei } RR Ci Pr(X=0|Z= z i ) RR Ui +Pr(X=1|Z= z i ) RR Ci RR Ci = Pr(X=0|Z= z i )+ β i Pr(X=1|Z= z i ) Pr(X=0|Z= z i ) α i +Pr(X=1|Z= z i ) . MathType@MTEF@5@5@+=feaaguart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbdfwBIjxAHbqedmvETj2BSbqefm0B1jxALjhiov2DaerbuLwBLnhiov2DGi1BTfMBaebbnrfifHhDYfgasaacPqpw0le9v8qqaqFD0xXdHaVhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=Jbba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGacaGaaeqabaWaaqaafaaakeaacqGH9aqpdaWcaaqaamaacmaabaWaaSaaaeaaciGGqbGaaiOCaiaacIcacaWGybGaeyypa0JaaGimaiaacYhacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaeaacaqGsbGaaeOuamaaBaaaleaacaqGdbGaamyAaaqabaaaaOGaey4kaSYaaSaaaeaaciGGqbGaaiOCaiaacIcacaWGybGaeyypa0JaaGymaiaacYhacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaeaacaqGsbGaaeOuamaaBaaaleaacaqGfbGaamyAaaqabaaaaaGccaGL7bGaayzFaaGaaeOuaiaabkfadaWgaaWcbaGaae4qaiaadMgaaeqaaaGcbaWaaSaaaeaaciGGqbGaaiOCaiaacIcacaWGybGaeyypa0JaaGimaiaacYhacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcacaqGsbGaaeOuamaaBaaaleaacaqGvbGaamyAaaqabaGccqGHRaWkciGGqbGaaiOCaiaacIcacaWGybGaeyypa0JaaGymaiaacYhacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcacaqGsbGaaeOuamaaBaaaleaacaqGdbGaamyAaaqabaaakeaacaqGsbGaaeOuamaaBaaaleaacaqGdbGaamyAaaqabaaaaaaakiabg2da9maalaaabaGaciiuaiaackhacaGGOaGaamiwaiabg2da9iaaicdacaGG8bGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaGaey4kaSIaeqOSdi2aaSbaaSqaaiaadMgaaeqaaOGaciiuaiaackhacaGGOaGaamiwaiabg2da9iaaigdacaGG8bGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaabaWaaSaaaeaaciGGqbGaaiOCaiaacIcacaWGybGaeyypa0JaaGimaiaacYhacaWGAbGaeyypa0JaamOEamaaBaaaleaacaWGPbaabeaakiaacMcaaeaacqaHXoqydaWgaaWcbaGaamyAaaqabaaaaOGaey4kaSIaciiuaiaackhacaGGOaGaamiwaiabg2da9iaaigdacaGG8bGaamOwaiabg2da9iaadQhadaWgaaWcbaGaamyAaaqabaGccaGGPaaaaiaac6caaaa@B50D@
Acknowledgements
This work was supported partially by Grant-in-Aid for Scientific Research (No. 23700344) from the Ministry of Education, Culture, Sports, Science, and Technology of Japan.

Cite this article: Chiba Y (2013) A Note on the Logistic Regression Model with a Random Coefficient to Predict Propensity Scores. Ann Biom Biostat 1: 1001.
Right Table
Current Issue Vol.1.1
Footer
Content:   Home  |  Aims & Scope  |  Early Online  |  Current Issue  | 
Journal Info:   Editorial Board  |  Article Processing Charges  |  FAQs
Contact Us
2952 Market Street, Suite 140
San Diego, California 92102, USA
Tel: 1-619-373-8030
Fax: 1-619-793-4845
Toll free number: 1-800-762-9856
Copyright © 2013 JSciMed Central. All rights reserved.