Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.
Rendered from LaTeX for readability, not typeset faithfully. Citation keys are highlighted; maths is left as source; figures, tables and equation environments are summarised rather than reproduced; unrecognised commands are greyed out so nothing is silently dropped. Email addresses are removed.
Federated Causal Inference in Heterogeneous Observational Data
titlepage\thispagestyle{empty}
\begin{abstract}
We are interested in estimating the effect of a treatment applied to individuals at multiple sites, where data is stored locally for each site. Due to privacy constraints, individual-level data cannot be shared across sites; the sites may also have heterogeneous populations and treatment assignment mechanisms. Motivated by these considerations, we develop federated methods to draw inference on the average treatment effects of combined data across sites. Our methods first compute summary statistics locally using propensity scores and then aggregate these statistics across sites to obtain point and variance estimators of average treatment effects. We show that these estimators are consistent and asymptotically normal. To achieve these asymptotic properties, we find that the aggregation schemes need to account for the heterogeneity in treatment assignments and in outcomes across sites. We demonstrate the validity of our federated methods through a comparative study of two large medical claims databases.
\noindentKeywords: Causal Inference, Propensity Scores, Federated Learning, Multiple Data Sets
\end{abstract}
onehalfspacing\section{Introduction}
In many settings, the same treatment is applied to populations in different environments, but data is stored separately for each environment. When the sample size in any one data set is too small to obtain precise estimates of treatment effects, it would often be beneficial, if possible, to use data across environments. However, the combination of individual-level data may be restricted by legal constraints, privacy concerns, proprietary interests, or competitive barriers. Therefore, it is useful to develop analytical tools that can reap the benefits of data combination without pooling individual-level data. Methods that accomplish this while sharing only aggregate data are referred to as “federated” learning methods. In this paper, we develop federated learning methods tailored to the problem of causal inference. The methods allow for heterogeneous treatment effects and heterogeneous outcome models across data sets, and adjust for the imbalance in covariate distributions between treated and control samples. These methods provide treatment effect estimation and inference, that are shown to perform as well asymptotically as if the data sets were combined.
A motivating example for these methods is from koenecke2020alpha who study two separate medical claims data sets, MarketScan and Optum. The two data sets are noticeably different: the data from Optum has more elderly patients and covers more years than the data from MarketScan. They found evidence from both data sets that exposure to alpha blockers, a class of commonly prescribed drugs, reduced the risk of adverse outcomes for patients with acute respiratory distress. However, existing federated methods are insufficient to draw inference on the drug effect, while accounting for the heterogeneity in populations between treated and control groups\footnote{Treated group that is exposed to alpha blockers has more elderly patients than control groups. This is because alpha blockers are commonly prescribed for chronic prostatitis, and the prostate generally worsens with age.} and across two separate data sets.
In this paper, we propose two main categories of federated inference methods to address this problem. One category is based on the Inverse Propensity-Weighted Maximum Likelihood
Estimator (IPW-MLE).\footnote{IPW-MLE includes linear models, logit models, Poisson models, and Cox models weighted by inverse propensity scores as special cases.} The other one is based on the Augmented Inverse Propensity Weighted (AIPW) Estimator.
Our federated methods only use summary statistics of each data set and aim to estimate the parameters, such as average treatment effects, on the combined, individual-level data. Our methods provide point estimates and confidence intervals of these parameters that are asymptotically the same as if individual-level data were combined. We focus on IPW-MLE and AIPW for two main reasons. First, both estimators use propensity scores to balance covariate distributions between treated and control groups.
Second, both estimators enjoy the double robustness property bang2005doubly,wooldridge2007inverse, that are robust to the misspecification of one of the propensity and outcome models. As a building block, we propose a supplementary category of federated methods based on MLE for the estimation of either propensity or outcome model, and used as the inputs for the two main categories.
We make four contributions in developing federated inference methods. First, we identify the conditions that need to be considered in federation for valid inference, such as the stability of propensity and outcome models across data sets. Our federated inference methods are then designed to vary with these conditions. Second, to support the validity of inference, we develop inferential theory for all of our federated methods. Our federated methods achieve the optimal convergence rate in the estimation of average treatment effects and other parameters of interest. Third, our federated methods are communication-efficient. We show one-way and one-time sharing of carefully constructed summary statistics is sufficient to obtain consistent federated estimators. Fourth, for IPW-MLE, the estimation error in the propensity model carries over to the estimation of the outcome model wooldridge2002inverse,wooldridge2007inverse, which is often overlooked in practice, such as the standard svyglm package in R.\footnote{Overlooking this effect leads to an overestimate of variance and a loss of efficiency.} Our federated IPW-MLE explicitly accounts for this estimation error.
Our federated methods are particularly relevant when separate data sets have heterogeneous populations with heterogeneous treatment assignment and outcome models. This is the setting where conventional pooling methods, such as inverse variance weighting (IVW), can fail.\footnote{IVW is asymptotically the same as our federated IPW-MLE when data sets are homogeneous in the sense that covariate distributions, as well as propensity and outcome models, are stable across data sets.} Let us revisit the example in koenecke2020alpha.
We first estimate the effect of alpha blockers by IPW logistic regression\footnote{IPW logistic regression is a special case of IPW-MLE.} on each data set. We then combine the estimated effects by IVW and by our federated IPW-MLE across data sets. As shown in Figure (ref), the federated coefficient of alpha blockers from IVW lies outside of the interval defined by coefficients estimated on two separate data sets. This observation is counterintuitive as we expect the federated coefficient to measure the average effect of alpha blockers for patients in two data sets.\footnote{The main reason for the federated coefficient from IVW to lie outside this interval is that we have heterogeneous coefficients and variance-covariance matrices across datasets.
See Appendix (ref) for a numerical example for more intuition. } In contrast, the federated coefficient from our proposed method lies between the coefficients estimated separately on two data sets, which makes more sense than IVW.
\begin{figure}[ht!]
\captionsetup{position=top, font=normalsize, labelfont=bf, textfont=normalfont, justification=centering, margin=0mm, aboveskip=2mm, belowskip=0mm, labelsep=colon, singlelinecheck=false}\caption{Coefficient of the Exposure to Alpha Blockers}
\captionsetup{position=bottom, font=footnotesize, textfont=normalfont, margin=1mm, skip=2mm, justification=justified, singlelinecheck=false}\caption*{This figure shows the estimated coefficient and its 95% confidence interval of the exposure to alpha blockers in a logit outcome model, where the outcome indicates whether the patient with acute respiratory distress (ARD) received mechanical ventilation and then had in-hospital death. We use IVW and our federated IPW-MLE to estimate the coefficient of alpha blockers on the combined data of MarketScan and Optum. The estimated coefficient from our federated IPW-MLE is more credible than that from IVW, because our federated coefficient lies between the interval defined by estimated coefficients on MarketScan and Optum, while coefficient from IVW does not. See Section (ref) for more details.
}
\end{figure}
Our work is related to multiple streams of literature which aim to learn and analyze data from multiple sources, including streams from biostatistics, data mining, and federated learning. Most studies in data mining and federated learning focus on estimating a centralized model, mostly through an iterative approach while preserving privacy, without considering inference.\footnote{Early developments in data mining provide methods to combine point estimates of model parameters in linear models du2004privacy,karr2005secure, logit models fienberg2006secure,slavkovic2007secure, and maximum likelihood estimators blatt2004distributed,karr2007secure,zhao2007information,lin2010privacy across distributed information systems, with most methods being iterative.
Recent advances, mainly in federated learning, aim to develop communication-efficient methods to optimize parameters across a large number of distributed heterogeneous agents, while preserving privacy konevcny2016federated,mcmahan2017communication,li2020federated. Importantly, statistical inference is not a primary consideration in the aforementioned literature.} In contrast, our federated methods are non-iterative and are supported by asymptotic theory.\footnote{An iterative approach can provide estimators that are closer to those from the pooled individual-level data. However, we show that the difference between iterative and non-iterative approaches can be neglected asymptotically.}
Studies that provide inference are mostly concentrated in biostatistics.
Specifically, early studies in meta-analysis and meta-regression analysis provide inference, but largely center around combining randomized controlled trials, and a typically used pooling approach is IVW
(dersimonian1986meta,whitehead1991general
among others). \cmtfinal{Recently, a growing number of studies} develop privacy-preserving methods to provide inference by pooling aggregate data across multiple studies\cmtfinal{: most of them are} tailored to specific parametric models, including linear models toh2018combining,toh2020privacy, logit models duan2020learning, Poisson models shu2019privacy, Cox models shu2020inverse,shu2020variance, {\color{Black} and generalized linear models wolfson2010datashield}\cmtfinal{, while jordan2018communication,duan2022heterogeneity consider the efficient pooling of the more general MLE}. Among these studies, only toh2018combining and shu2020inverse account for nonrandom treatment assignments by using propensity scores, though the asymptotic theory is lacking. In contrast, we provide federated methods for a general class of parametric models that adjust for nonrandom treatment assignments and are supported by asymptotic theory.
Our work is most closely related to the recent studies of privacy-preserving methods for causal inference by vo2021federated, han2021federated, and han2022privacy.\footnote{There has been a growing literature surrounding the development of causal inference methods, when individual-level data can be shared across multiple data sets, but data sets are collected under heterogeneous conditions
peters2016causal,bareinboim2016causal,rosenman2018propensity,rosenman2020combining,athey2020combining,rothenhausler2021anchor.}
vo2021federated estimate treatment effects by modeling potential outcomes by Gaussian processes. {\color{Black} han2021federated,han2022privacy propose to estimate treatment effects for target populations by adaptively and optimally weighing source populations, accounting for the risk of negative transfer when source and target populations are heterogeneous. In contrast, our federated inference methods focus on treatment effects and other parameters of interest defined on the combined data, as opposed to on specific target data as in han2021federated,han2022privacy. }
\section{Model, Assumptions, and Preliminaries}
In this section, we begin by stating the model setup and estimands for individual data sets in Section (ref). {\color{Black} Next, we define the target parameters in our federated estimators in Section (ref). We then review three widely used estimators (MLE, IPW-MLE, AIPW) on which our federated estimators are built in Section (ref).}
Next, we list the covariate and model conditions that need to be considered in federation in Section (ref). Finally, in Section (ref), we state the three weighting methods to aggregate information in our federated estimators. All the matrices in the asymptotic variance of MLE and IPW-MLE are summarized in Table (ref).
\subsection{Model Setup}
Suppose we have $D$ data sets, where $D$ is finite. Suppose data set $k \in \{1, \cdots, D\}$ has $n_k$ observations $(\*X^{(k)}_i, Y^{(k)}_i, W^{(k)}_i) \in \mathcal{X}_k \times \+R \times \{0,1\}$ that are drawn i.i.d. from some distribution $\mathbb{P}^{(k)}$. Here, $i \in \{1, \cdots, n_k\}$ indexes the subjects (e.g., patients), $\*X^{(k)}_i$ is a vector of $d_k$ observed covariates, $Y^{(k)}_i$ is the outcome of interest, $W^{(k)}_i$ is the treatment assignment, and $\mathcal{X}_k \subseteq \+R^{d_k}$. Both the types and the number of covariates can vary with data sets. Let $n_\mathrm{pool} = \sum_{i=1}^D n_k$ be the total number of observations. \cmtfinal{ Here we study the setting where each data set has many observations, i.e., $n_k$ is large for all $k$. We assume the population fraction of observations in data set $k$, i.e., $p_k = \lim n_k/n_\mathrm{pool}$, exists, and is bounded away from $0$ and $1$. }
Under the Neyman-Rubin potential outcome model and the stable unit treatment value assumption imbens2015causal, let $Y^{(k)}_i(1)$ be the outcome of subject $i$ if it is assigned treatment, and let $Y^{(k)}_i(0)$ be the outcome for the opposite case. For each data set $k$, suppose the following standard unconfoundedness assumption rosenbaum1983central holds
\[\{Y^{(k)}_i(0), Y^{(k)}_i(1) \} \perp W^{(k)}_i \mid \*X^{(k)}_i \]
and the following overlap assumption rosenbaum1983central for the propensity score $e^{(k)}(\*x) = \mathrm{pr}(W^{(k)}_i = 1 \mid \*X^{(k)}_i = \*x )$ holds
\[\eta < e^{(k)}(\*x) < 1 - \eta \quad\quad \forall \*x \in \mathcal{X}_k \]
for some $\eta > 0$. For each data set $k$, we define the average treatment effect (ATE), denoted as $\tau^{(k)}_\mathrm{ate}$, and average treatment effect on the treated (ATT), denoted as $\tau^{(k)}_\mathrm{att}$, as follows
\begin{align}
\tau^{(k)}_\mathrm{ate} \coloneqq \+E[Y^{(k)}_i(1) - Y^{(k)}_i(0)], \quad \tau^{(k)}_\mathrm{att} \coloneqq \+E[Y^{(k)}_i(1) - Y^{(k)}_i(0) \mid W^{(k)}_i = 1].
\end{align}
\subsubsection{Parametric Models}
In this paper, we focus on parametric outcome and propensity models stated in Conditions (ref) and (ref) below. This is motivated by the common use of parametric outcome models in medical applications, for example, the use of logistic regression for estimating the odds ratio in epidemiological studies sperandei2014understanding, Cox regression for survival analysis in clinical trials singh2011survival, and generalized linear models (GLM) for assessing medical costs blough1999modeling,blough2000using.
In addition, parametric models, such as logit models, are also commonly used to estimate propensity scores (e.g., imbens2015causal, Ch. 13). The estimated parametric outcome and/or propensity model can also be used as the input in the estimation of the ATE and ATT.
\begin{condition}[Parametric Outcome Model]
For any data set $k$, the conditional density function of outcome $y$ on $\*x$ and $w$ follows a parametric model, denoted as $f^{(k)}_0(y \mid \*x, w, \bm\beta)$ with the true parameter values to be $\bm\beta_0^{(k)}$.
\end{condition}
\begin{condition}[Parametric Propensity Model]
For any data set $k$, the conditional treatment probability $\mathrm{pr}(w=1 \mid \*x)$ follows a parametric model, denoted as $ e^{(k)}_0(\*x, \bm\gamma)$, with the true parameter values to be $\bm\gamma_0^{(k)}$.
\end{condition}
Given Conditions (ref) and (ref), we can estimate the outcome and propensity models by maximizing the (weighted) likelihood function.
Since the parametric models $f^{(k)}_0(y \mid \*x, w, \bm\beta)$ and $ e^{(k)}_0(\*x, \bm\gamma)$ are unknown a priori, the family of distributions chosen in the estimation of outcome and propensity models, denoted as $f^{(k)}(y \mid \*x, w, \bm\beta)$ and $e^{(k)}(\*x,\bm\gamma)$, may or may not contain the true structure, $f^{(k)}_0(y \mid \*x, w, \bm\beta)$ and $ e^{(k)}_0(\*x, \bm\gamma)$. Our federated estimators account for the possibility of model misspecification. We further discuss when the particular parameters of interest, e.g., ATE or ATT, on the combined data can still be consistently estimated by federated estimators in the presence of misspecification.
{\color{Black}
\subsection{Target Parameters}
In this subsection, we define the target parameters that our federated methods aim to estimate. Throughout this paper, the superscript “${(k)}$” in a notation denotes an object estimated using data set $k$; the superscript “$\mathrm{cb}$" denotes an object on the combined, individual-level data; and the superscript “$\mathrm{fed}$" denotes a federated estimator.
The target parameters are defined on the combined data that concatenate individual data across $D$ data sets together. \cmtfinal{The first set of target parameters are the parameters in the true conditional outcome density $f_0^\mathrm{cb}(\cdot)$ on the combined data, denoted as $\bm{\beta}_0^\mathrm{cb}$, where $f_0^\mathrm{cb}(\cdot)$ is defined as
\[f^\mathrm{cb}_0(Y^{(k)}_i \mid \*X^{(k)}_i, W^{(k)}_i, \bm{\beta}_0^\mathrm{cb}) \coloneqq \prod_{j = 1}^K\left[f^{(j)}_0(Y^{(j)}_i \mid \*X^{(j)}_i, W^{(j)}_i, \bm{\beta}_0^{(j)})\right]^{\bm{1}(j = k)}, \qquad\qquad \forall k, \]
that equals the true conditional outcome density of data set $k$ when the observation is from data set $k$. $\bm{\beta}_0^\mathrm{cb}$ is defined as the union of $\bm{\beta}_0^{(1)}, \cdots, \bm{\beta}_0^{(K)}$. For example, if $\bm{\beta}_0^{(1)} = \cdots = \bm{\beta}_0^{(K)}$, then $\bm{\beta}_0^\mathrm{cb} = \bm{\beta}_0^{(k)}$ for any $k$; if $\bm{\beta}_0^{(1)}, \cdots, \bm{\beta}_0^{(K)}$ is completely different from one another, then $\bm{\beta}_0^\mathrm{cb} = (\bm{\beta}_0^{(1)}, \cdots, \bm{\beta}_0^{(K)})$.}
\cmtfinal{The second set of target parameters are the parameters in the true propensity $e_0^\mathrm{cb}(\cdot)$ on the combined data, denoted as $\bm{\gamma}_0^\mathrm{cb}$,
where $e^\mathrm{cb}_0(\cdot)$ is defined as
\[e^\mathrm{cb}_0(W^{(k)}_i\mid \*X^{(k)}_i, \bm{\gamma}_0^\mathrm{cb}) \coloneqq \prod_{j = 1}^K \left[e^{(j)}_0(W^{(j)}_i\mid \*X^{(j)}_i, \bm{\gamma}_0^{(j)})\right]^{\bm{1}(j = k)}, \qquad\qquad \forall k , \]
that equals the true propensity of data set $k$ when the observation is from data set $k$. Similar to $\bm{\beta}_0^\mathrm{cb}$, $\bm{\gamma}_0^\mathrm{cb}$ is defined as the union of $ \bm{\gamma}_0^{(1)}, \cdots, \bm{\gamma}_0^{(K)}$.}
The third set of target parameters are the ATE and ATT on the combined data, denoted as $\tau^\mathrm{cb}_\mathrm{ate}$ and $\tau^\mathrm{cb}_\mathrm{att}$, and are defined as
\[\tau^\mathrm{cb}_\mathrm{ate} \coloneqq \sum_{k = 1}^D p_k \tau^{(k)}_\mathrm{ate}, \qquad \tau^\mathrm{cb}_\mathrm{att} \coloneqq \sum_{k = 1}^D p_k \tau^{(k)}_\mathrm{att}, \]
\cmtfinal{where $\tau^\mathrm{cb}_\mathrm{ate}$ and $\tau^\mathrm{cb}_\mathrm{att}$ are the averages of $\tau^{(k)}_\mathrm{ate}$ and $\tau^{(k)}_\mathrm{att}$ weighted by $p_k$, and $p_k$ is the population fraction of observations in data set $k$. Both $\tau^\mathrm{cb}_\mathrm{ate}$ and $\tau^\mathrm{cb}_\mathrm{att}$ do not depend on the sample size. }
If data sets can be combined at the individual level, then the standard approaches for a single data set (as reviewed in Section (ref) below) are applicable to estimate and draw inference on these target parameters. However, when data sets cannot be combined at the individual level, standard approaches are not applicable.
We develop federated inference methods for these target parameters that only use aggregate information from each data set. The federated inference methods consist of both point and variance estimators of target parameters, thus allowing for the construction of confidence intervals of target parameters. These confidence intervals can be narrower than those obtained from a single data set. When treatment assignments are randomized, our federated methods include classical approaches such as IVW in meta-analysis, whereas when they are nonrandom, our federated estimators adjust for selection bias.
Note that in some settings, such as those in transfer learning, the target parameters of interest are defined on a specific target data set. Other data sets are used to improve the estimation efficiency on target data. In these settings, if propensity and outcome models are stable (defined in Conditions (ref) and (ref) below), then our federated estimators continue to be valid; otherwise, we need to account for the discrepancy between supplementary and target data sets to avoid the negative transfer. See han2021federated for more discussion.
\subsection{Estimation Methods for Combined Individual-Level Data}
This subsection reviews MLE, IPW-MLE, and AIPW that could be used to estimate the target parameters in Section (ref) when individual-level data could have been combined. \cmtfinal{As the individual data cannot be combined in practice, the estimators in this subsection are not feasible. In Section (ref), we introduce our federated estimators that are designed to approximate the estimators in this section using only the summary statistics of each data set.}
\subsubsection{MLE for Model Parameters}
Under the parametric outcome model,
we define the log-likelihood function of outcome conditional on covariates and treatment assignment on the combined data as
\begin{equation}
\bm\ell_{n_\mathrm{pool}}(\bm\beta) = \sum_{k = 1}^D \underbrace{\sum_{i = 1 }^{n_k} \log f(Y^{(k)}_i \mid \*X^{(k)}_i, W^{(k)}_i, \bm\beta)}_{\bm\ell_{n_k}(\bm\beta)},
\end{equation}
where $\bm\ell_{n_k}(\bm\beta)$ is the log-likelihood function on data set $k$. \cmtfinal{Let $\hat{\bm\beta}^\mathrm{cb}_\mathrm{mle}$ be the solution that maximizes the log-likelihood function $\bm\ell_{n_\mathrm{pool}}(\bm\beta)$ and $\hat{\bm\beta}^\mathrm{cb}_\mathrm{mle}$ is an estimator of $\bm\beta^\mathrm{cb}$.} We can analogously use MLE to estimate the parameters in the parametric propensity model on the combined data.
\subsubsection{IPW-MLE for Model Parameters and Average Treatment Effects}
An alternative approach to estimating parameters in the outcome model is to use IPW-MLE, which adjusts the log-likelihood function by inverse propensity scores to estimate the population mean when data is nonrandomly missing}
\begin{align}
\bm\ell_{n_\mathrm{pool}}(\bm\beta, \hat{e}) = \sum_{k = 1}^D \underbrace{\sum_{i = 1 }^{n_k} \varpi^{(k)}_{i, \hat{e}} \log f(Y^{(k)}_i \mid \*X^{(k)}_i, W^{(k)}_i, \bm\beta)}_{\bm\ell_{n_k}(\bm\beta, \hat{e})},
\end{align}
where the subscript “$\hat{e}$” is the abbreviation of the estimated propensity on the combined data, $\bm\ell_{n_k}(\bm\beta, \hat{e})$ is the weighted log-likelihood function on data set $k$, and $\varpi^{(k)}_{i, \hat{e}} $ is the weight for unit $i$ that can be
\begin{align*}
\varpi^{(k)}_{i, \hat{e}} = \begin{cases}
W^{(k)}_i/\hat{e}(\*X^{(k)}_i) + \big(1 - W^{(k)}_i\big)/\big(1 - \hat{e}(\*X^{(k)}_i)\big) & ATE weighting \\
W^{(k)}_i + \hat{e}(\*X^{(k)}_i) \big(1 - W^{(k)}_i\big)/\big(1 - \hat{e}(\*X^{(k)}_i)\big) & ATT weighting.
\end{cases}
\end{align*}
Let $\hat{\bm\beta}^\mathrm{cb}_\mathrm{ipw{\text -}mle}$ be the estimator than maximizes the weighted log-likelihood $\bm\ell_{n_\mathrm{pool}}(\bm\beta, \hat{e})$. This estimator can be used to estimate treated and control outcomes, and form a doubly robust estimator for ATE and ATT wooldridge2007inverse. See Appendix (ref) for more details.
\subsubsection{AIPW for Average Treatment Effects}
We can estimate ATE on the combined data using the AIPW estimator
\begin{align}
\hat{\tau}^\mathrm{cb}_\mathrm{ate} =& \sum_{k = 1}^D \frac{n_k}{n_\mathrm{pool}} \cdot \underbrace{\frac{1}{n_k} \sum_{i = 1 }^{n_k} \hat{\phi}(\*X^{(k)}_i, W^{(k)}_i, Y^{(k)}_i )}_{\hat{\tau}^{(k)}_\mathrm{ate}} ,
\end{align}
that can be written as a weighted average of ATE across data sets by sample size, where \cmtfinal{$\hat{\phi}(\cdot)$ is the estimated score on the combined data and is defined as }
\begin{equation}
\hat{\phi}(\*x, w, y) = \hat{\mu}_{(1)}(\*x) - \hat{\mu}_{(0)}(\*x) + \frac{w}{\hat{e}(\*x)} \big( y -\hat{\mu}_{(1)}(\*x) \big)- \frac{(1 - w )}{1 - \hat{e}(\*x)} \big(y - \hat{\mu}_{(0)}(\*x) \big)\, ,
\end{equation}
and where $\hat{\mu}_{(1)}(\*x) $ and $\hat{\mu}_{(0)}(\*x) $ are estimated conditional treated and control outcome models \cmtfinal{on the combined data}.\footnote{\cmtfinal{The parameters in $\hat{\mu}_{(w)}(\*x) $ and $\hat{e}(\*x)$ are omitted to account for the case where $\hat{\mu}_{(w)}(\*x) $ and $\hat{e}(\*x)$ are estimated by nonparametric methods when the individual-level data could have been combined.} }
If the estimand is ATT, then we can also use (ref), but the estimated score $\hat{\phi}(\cdot)$ is defined as
\begin{align}
\hat{\phi}(\*x, w, y ) =& w \big(y - \hat{\mu}_{(1)}(\*x) \big)- \frac{\hat{e}(\*x)(1 - w )}{1 - \hat{e}(\*x)} \big(y - \hat{\mu}_{(0)}(\*x) \big).
\end{align}
AIPW has two prominent properties: doubly robustness robins1994estimation and semiparametric efficiency.
\subsection{Covariate and Model Considerations in Federated Estimators}
In this subsection, we introduce the conditions that need to be considered in the federation to obtain valid point and variance estimators of target parameters.
\begin{condition}[Known Propensity Score]
For all data sets, the true propensity scores are known and used.
\end{condition}
When true propensity scores are known and used, then we do not need to federate propensity models in federated IPW-MLE.
\begin{condition}[Stable Propensity Model]
The set of covariates and the parameters in the propensity model are the same for all data sets, that is, $\bm\gamma_0^{(j)} = \bm\gamma_0^{(k)}$ for any $j$ and $k$.
\end{condition}
\begin{condition}[Stable Outcome Model]
The set of covariates and the parameters in the outcome model are the same for all data sets, that is, $\bm\beta_0^{(j)} =\bm\beta_0^{(k)}$ for any $j$ and $k$.
\end{condition}
\begin{condition}[Stable Covariate Distribution] The set of covariates and their joint distribution are the same across all data sets. That is, $d_j = d_k$ and $\mathbb{P}^{(j)}(\*x) = \mathbb{P}^{(k)}(\*x) $ for any two data sets $j$ and $k$.
\end{condition}
{\color{Black} We refer to data sets as being “heterogeneous” in settings where either Condition (ref), (ref), or (ref) is violated. If Condition (ref) holds (similarly for Condition (ref)), then the parameters on the combined data $\bm{\beta}^\mathrm{cb}_0$ equals $\bm{\beta}^{(k)}_0$ for any $k$; otherwise, we partition the parameters $\bm\beta^{(k)} = \big(\bm\beta_{\mathrm{s}}, \bm\beta^{(k)}_{\mathrm{uns}} \big)$ into shared parameters $\bm\beta_{\mathrm{s}}$ and dataset-specific parameters $\bm\beta^{(k)}_{\mathrm{uns}}$ for any $k$, and define the parameters on the combined data as $\bm\beta^\mathrm{cb} = (\bm\beta_{\mathrm{s}}, \bm\beta_{\mathrm{uns}}^{(1)}, \bm\beta_{\mathrm{uns}}^{(2)}, \cdots, \bm\beta_{\mathrm{uns}}^{(D)})$.\footnote{For ease of presentation, we assume there are no shared parameters across only a subset of data sets, but our estimator can be easily generalized to the opposite case. If there are some shared parameters across several but not all data sets, we just need to combine these parameters in $\bm\beta^\mathrm{cb}$. For example, if $\bm\beta_{\mathrm{uns}}^{(j)}$ and $\bm\beta_{\mathrm{uns}}^{(k)}$ are the same for $j$ and $k$, then we merge $\bm\beta_{\mathrm{uns}}^{(j)}$ and $\bm\beta_{\mathrm{uns}}^{(k)}$ in $\bm\beta^\mathrm{cb}$.} For example, $\bm\beta_{\mathrm{s}}$ could include the parameters of interest, such as the treatment coefficient that we want to precisely estimate; $\bm\beta^{(k)}_{\mathrm{uns}}$ could include nuisance parameters, such as the age coefficient in our empirical study.\footnote{Age coefficient has opposite signs in the two data sets in our empirical study, as shown in Figure (ref). } Note that choosing the partition generally encompasses a tradeoff between efficiency and robustness to model misspecification. See Section (ref) for more discussion, and Section (ref) for practical guidance on choosing the partition.
}
\begin{table}
\captionsetup{position=top, font=normalsize, labelfont=bf, textfont=normalfont, justification=centering, margin=0mm, aboveskip=1mm, belowskip=0mm, labelsep=colon, singlelinecheck=false}\caption{A Summary of Matrices in the Asymptotic Variance of MLE and IPW-MLE}
{\scriptsize
\begin{tabular}{c|c|c|c}
\toprule
Matrix & Expression & Matrix & Expression \\
\midrule
$\*A_{\bm\beta}$ & $ \+E \Big[ - \frac{\partial^2 \log f(y \mid \*x, w, \bm\beta)}{\partial \bm\beta \partial \bm\beta^\top} \Big] $ & $\*A_{\bm\gamma}$ & $ \+E \Big[ - \frac{\partial^2 \log e(\*x, \bm\gamma)}{\partial \bm\gamma \partial \bm\gamma^\top} \Big] $ \\
\midrule
$\*B_{\bm\beta}$ & $ \+E\Big[ \frac{\partial \log f(y \mid \*x, w, \bm\beta) }{\partial \bm\beta} \big(\frac{\partial \log f(y \mid \*x, w, \bm\beta) }{ \partial \bm\beta} \big)^\top \Big] $ & $\*B_{\bm\gamma}$ & $ \+E\Big[ \frac{\partial \log e(\*x, \bm\gamma) }{\partial \bm\gamma} \big(\frac{\partial \log e(\*x, \bm\gamma) }{\partial \bm\gamma} \big)^\top \Big] $ \\
\midrule
\midrule
\multicolumn{2}{c|}{ATE weighting $\varpi_{i, {e}_{\bm\gamma}} = \frac{w_i}{{e}_{\bm\gamma}(\*x_i)} + \frac{1 - w_i}{1 - {e}_{\bm\gamma}(\*x_i)}$} & \multicolumn{2}{c}{ATT weighting $\varpi_{i, {e}_{\bm\gamma}} = w_i + \frac{{e}_{\bm\gamma}(\*x_i)}{1 - {e}_{\bm\gamma}(\*x_i)} (1 - w_i)$} \\
\midrule
$\*A_{\bm\beta,\varpi}$ & $ \+E \Big[ \Big( \frac{w}{e_{\bm\gamma}} + \frac{1 - w}{1 - e_{\bm\gamma}}\Big) \frac{\partial^2 \log f(y \mid \*x, w, {\bm\beta}) }{\partial \bm\beta \partial \bm\beta^\top} \Big] $ & $\*A_{\bm\beta,\varpi}$ & $ \+E \Big[ \Big( w + \frac{e_{\bm\gamma}(1 - w)}{1 - e_{\bm\gamma}}\Big) \frac{\partial^2 \log f(y \mid \*x, w, {\bm\beta}) }{\partial \bm\beta \partial \bm\beta^\top}\Big] $ \\
\midrule
$\*D_{\bm\beta,\varpi}$ & $ \+E\Big[ \Big( \frac{w}{e_{\bm\gamma}} + \frac{1 - w}{1 - e_{\bm\gamma}}\Big)^2 \frac{\partial \log f(y \mid \*x, w, \bm\beta) }{\partial \bm\beta} \cdot \big(\frac{\partial \log f(y \mid \*x, w, \bm\beta) }{ \partial \bm\beta} \big)^\top \Big] $ & $\*D_{\bm\beta,\varpi}$ & $ \+E\Big[ \Big( w + \frac{e_{\bm\gamma}(1 - w)}{1 - e_{\bm\gamma}}\Big)^2 \frac{\partial \log f(y \mid \*x, w, \bm\beta) }{\partial \bm\beta} \cdot \big(\frac{\partial \log f(y \mid \*x, w, \bm\beta) }{ \partial \bm\beta} \big)^\top \Big] $ \\
\midrule
$\*C_{\bm\beta,\varpi}$ & $ \+E\Big[ \Big( \frac{w}{e^2_{\bm\gamma}} - \frac{1 - w}{(1 - e_{\bm\gamma})^2}\Big) \frac{\partial \log f(y \mid \*x, w, \bm\beta) }{\partial \bm\beta} \cdot \big(\frac{\partial \log e(\*x, \bm\gamma) }{ \partial \bm\gamma} \big)^\top \Big] $ & $\*C_{\bm\beta,\varpi,1}$ & $ \+E\Big[ - \frac{(1 - w)}{(1 - e_{\bm\gamma})^2} \frac{\partial \log f(y \mid \*x, w, \bm\beta) }{\partial \bm\beta} \cdot \big(\frac{\partial \log e(\*x, \bm\gamma) }{ \partial \bm\gamma} \big)^\top \Big] $ \\
& & $\*C_{\bm\beta,\varpi,2}$ & $ \+E\Big[ \Big( \frac{w}{e_{\bm\gamma}} - \frac{e_{\bm\gamma}(1 - w)}{(1 - e_{\bm\gamma})^2}\Big) \frac{\partial \log f(y \mid \*x, w, \bm\beta) }{\partial \bm\beta} \cdot \big(\frac{\partial \log e(\*x, \bm\gamma) }{ \partial \bm\gamma} \big)^\top \Big] $ \\
\bottomrule
\end{tabular}
\captionsetup{position=bottom, font=footnotesize, textfont=normalfont, margin=1mm, skip=2mm, justification=justified, singlelinecheck=false}\caption*{In the definitions of these matrices, $e_{\bm\gamma}$ denotes $e_{\bm\gamma}(\*x_i) = e(\*x_i, \bm\gamma)$ by a slight abuse of notation. }
}
\end{table}
\subsection{Three Weighting Methods}
{\color{Black} We list the three weighting methods used in our federated estimators. The choice of weighting methods in each federated estimator
is based on the functional form of the corresponding estimator for a single data set, as shown in Section (ref), and ensures that the federated estimators can be consistent, as shown in Section (ref).}
\subsubsection{Hessian Weighting}
{\color{Black} Hessian weighting is used to estimate target parameters $\bm{\beta}^\mathrm{cb}_0$ and $\bm{\gamma}^\mathrm{cb}_0$ in the outcome and propensity models,} and is defined as
\begin{align}
\hat{\bm\beta}^\mathrm{fed} = \bigg( \sum_{k = 1}^{D} \hat{\*H}_{\bm\beta}^{(k)} \bigg)^{-1} \bigg( \sum_{k = 1}^{D} \hat{\*H}_{\bm\beta}^{(k)} \hat{\bm\beta}^{(k)} \bigg)\, ,\quad where \hat{\*H}_{\bm\beta}^{(k)} = \frac{\partial^2 \bm\ell_{n_k}(\hat{\bm\beta}^{(k)})}{\partial \bm\beta^{(k)} (\partial \bm\beta^{(k)})^\top }\, .
\end{align}
for parameters in the outcome model.
For the propensity model, we just replace $\hat{\bm\beta}^{(k)}$ by $\hat{\bm\gamma}^{(k)}$ and $\hat{\*H}_{\bm\beta}^{(k)}$ by $\hat{\*H}_{\bm\gamma}^{(k)}$ in (ref).
\subsubsection{Sample Size Weighting}
{\color{Black} Sample size weighting is used to obtain variance estimators (see more details in Tables (ref), (ref), and (ref)), and is used to estimate ATE and ATT under unstable propensity or outcome models.}
For some generic scalar or matrix $\*M$, we refer to sample size weighting as
\begin{align}
\*M^\mathrm{fed} = \sum_{k = 1}^D \frac{n_k}{n_\mathrm{pool}} \*M^{(k)}\, ,\quad where n_\mathrm{pool} = \sum_{k = 1}^D n_k\, .
\end{align}
\subsubsection{Inverse Variance Weighting}
{\color{Black} Inverse variance weighting (IVW) is used to estimate ATE and ATT and their variance under stable propensity and outcome models.}
For some generic point estimator $\hat{\bm{\nu}}$, we refer to inverse variance weighting as
\begin{align}
\hat{\bm{\nu}}^\mathrm{fed} =& \Bigg( \sum_{k = 1}^{D} \left(\mathrm{Var}(\hat{\bm{\nu}}^{(k)} )\right)^{-1} \Bigg)^{-1} \Bigg( \sum_{k = 1}^{D} \left(\mathrm{Var}(\hat{\bm{\nu}}^{(k)} )\right)^{-1} \bm{\nu}^{(k)} \Bigg)\, , \\
\widetilde{\mathrm{Var}}(\hat{\bm{\nu}}^\mathrm{fed}) =& n_\mathrm{pool} \left( \sum_{k = 1}^{D} \left(\mathrm{Var}(\hat{\bm{\nu}}^{(k)} )\right)^{-1} \right)^{-1},
\end{align}
where $\mathrm{Var}(\hat{\bm{\nu}})$ is the variance of $\hat{\bm{\nu}}$, and $\widetilde{\mathrm{Var}}(\hat{\bm{\nu}})$ is $\mathrm{Var}(\hat{\bm{\nu}})$ multipled by the sample size.
\section{Federated Estimators}
In this section, we introduce three categories of federated inference methods that consist of both point and variance estimators of target parameters in Section (ref). These three categories are based on MLE, IPW-MLE and AIPW, respectively. For each category, we start with the simple case in which the propensity and outcome models are stable.
We refer to the federated estimators in this case as \textbf{restricted} federated estimators.
Next we consider the more challenging case in which at least one of propensity and outcome models is unstable.
The federated estimators for this case are referred to as \textbf{unrestricted} federated estimators, which are built on the corresponding restricted federated estimators.
Figures (ref), (ref) and (ref) show the flowcharts of our federated inference methods under different conditions. Tables (ref), (ref) and (ref) provide the details of our federated methods.
\subsection{Federated MLE}
We introduce our federated MLE using the outcome model, where the target parameter is $\bm{\beta}^\mathrm{cb}$. However, our federated MLE is also applicable to the propensity model.
\subsubsection{Restricted Federated MLE for Stable Models (Condition (ref)/ (ref) Holds)}
{\color{Black}
When outcome models are stable (i.e., $\bm\beta^\mathrm{cb} = \bm\beta^{(k)}$ for all $k$), we can use the restricted federated MLE for $\bm{\beta}^\mathrm{cb}$. Let $\hat{\bm\beta}^\mathrm{fed}_\mathrm{mle}$ be the federated point estimator that is obtained by first applying MLE on each data set $k$ to estimate
parameter $\bm\beta^{(k)}$, and then using Hessian weighting in (ref) to combine estimated parameters across all data sets.
We propose this federated estimator based on the objective of satisfying the first-order condition of MLE. When we use Hessian weighting, this objective can be satisfied with the key steps outlined below:
\begin{align*}
\frac{\partial \sum_{k=1}^D \bm\ell_{n_k}(\hat{\bm\beta}^\mathrm{fed}_\mathrm{mle}) }{\partial \bm\beta} =& \sum_{k=1}^D \frac{\partial \bm\ell_{n_k}(\bm\beta_0) }{\partial \bm\beta } + \sum_{k=1}^D \*H_{\bm{\beta}}^{(k)} \left( \hat{\bm\beta}^\mathrm{fed}_\mathrm{mle} - \bm\beta_0 \right) \\
=& \sum_{k=1}^D \frac{\partial \bm\ell_{n_k}(\bm\beta_0) }{\partial \bm\beta } + \sum_{k=1}^D \*H_{\bm{\beta}}^{(k)} \left( \hat{\bm\beta}^{(k)}_\mathrm{mle} - \bm\beta_0 \right) \tag{Hessian weighting of $\hat{\bm\beta}^\mathrm{fed}_\mathrm{mle}$} \\
=& \sum_{k=1}^D \frac{\partial \bm\ell_{n_k}(\hat{\bm\beta}^{(k)}_\mathrm{mle}) }{\partial \bm\beta} = 0 \tag{gradient at $\hat{\bm\beta}^{(k)}_\mathrm{mle}$ is zero for all $k$}
\end{align*}
}
Our federated variance estimator is obtained via a two-step procedure. First, we estimate the terms in the robust variance formula, $\*A_{\bm\beta}$ and $\*B_{\bm\beta}$ (see Table (ref) for the definition), on each data set. Let $\hat{\*A}_{\bm\beta}^{(k)}$ and $\hat{\*B}_{\bm\beta}^{(k)}$ be the estimators on data set $k$. Second, we obtain the federated variance using sample size weighting\footnote{If the outcome model is correctly specified, the information matrix equivalence holds, implying that $ \*A_{\bm\beta} = \*B_{\bm\beta}$ and $\*V_{\bm\beta} = \*A_{\bm\beta}^{-1}$. Then we only need to estimate and combine $\*A_{\bm\beta}^{(k)}$.}
\begin{align*}
\hat{\*V}^\mathrm{fed}_{\bm\beta} =& (\hat{\*A}_{\bm\beta}^\mathrm{fed})^{-1} \cdot \hat{\*B}_{\bm\beta}^\mathrm{fed} \cdot (\hat{\*A}_{\bm\beta}^\mathrm{fed})^{-1}
\end{align*}
where
\begin{align}
\hat{\*A}_{\bm\beta}^\mathrm{fed} = \sum_{k = 1}^D \frac{n_k}{n_\mathrm{pool}} \hat{\*A}_{\bm\beta}^{(k)}\text{ and } \hat{\*B}_{\bm\beta}^\mathrm{fed} = \sum_{k = 1}^D \frac{n_k}{n_\mathrm{pool}} \*B_{\bm\beta}^{(k)}.
\end{align}
This federated variance uses the robust variance formula and is, therefore, robust to outcome model misspecification white1982maximum. We use sample size weighting here based on the property that $\*A_{\bm\beta}$ and $\*B_{\bm\beta}$ on the combined data equals the weighted average of the corresponding matrices on individual data sets by sample size.
\begin{figure}[t!]
\captionsetup{position=top, font=normalsize, labelfont=bf, textfont=normalfont, justification=centering, margin=0mm, aboveskip=2mm, belowskip=0mm, labelsep=colon, singlelinecheck=false}\caption{Flowchart for Federated MLE}
\captionsetup{position=bottom, font=footnotesize, textfont=normalfont, margin=1mm, skip=2mm, justification=justified, singlelinecheck=false}\caption*{See Section (ref) for practical guidance on determining whether the outcome model is stable.}
\end{figure}
\subsubsection{Unrestricted Federated MLE for Unstable Models (Condition (ref)/ (ref) is Violated)}
{\color{Black}
Our unrestricted federated MLE is conceptually similar to our restricted federated MLE, but additionally handles the instability of parameters across datasets. Specifically, our unrestricted estimator only combines the shared parameters across data sets and leaves the dataset-specific parameters as they are in federation. The key to treating shared and dataset-specific parameters differently is to use a zero-padding technique.\footnote{Zero-padding is a commonly used technique in signal processing madan2016optimal and deep learning o2015introduction to pre-process inputs to the same length.}
Specifically, for each data set $k$, we pad $\bm\beta^{(k)}$ with zeros so that the padded $\bm\beta^{(k)}$, denoted as $\bm\beta^{\mathrm{pad},{(k)}}$, is aligned with $\bm\beta^\mathrm{cb} = (\bm\beta_{\mathrm{s}}, \bm\beta_{\mathrm{uns}}^{(1)}, \bm\beta_{\mathrm{uns}}^{(2)}, \cdots, \bm\beta_{\mathrm{uns}}^{(D)})$. We similarly pad each matrix on data set $k$ so that it is aligned with the corresonding matrix on the combined data.
Below we provide an example of zero-padding $\bm\beta^{(1)}$ and $\*H^{(1)}_{\bm{\beta}}$ for data set $k = 1$:
}
{
\begin{align}
\bm\beta^{\mathrm{pad},(1)} = \begin{pmatrix}
\bm\beta_{\mathrm{s}} \\ {\bm\beta}^{(k)}_{\mathrm{uns}} \\ \mathbf{0}
\end{pmatrix}, \quad
{\*H}_{\bm\beta}^{\mathrm{pad},(1)}= \begin{pmatrix}
\begin{tabular}{ccccc}
${\*H}_{\bm\beta,\mathrm{s},\mathrm{s}}$ & ${\*H}_{\bm\beta,\mathrm{s}, \mathrm{uns}}^{(1)}$ & $\mathbf{0}$ \\
${\*H}_{\bm\beta,\mathrm{uns},\mathrm{s}}^{(1)}$ & ${\*H}_{\bm\beta,\mathrm{uns}, \mathrm{uns}}^{(1)}$ & $\mathbf{0}$ \\
$\mathbf{0}$ & $\mathbf{0}$ & $\mathbf{0}$
\end{tabular}
\end{pmatrix}.
\end{align}}
The zero-padding of other vectors and matrices for other $k$ is conceptually the same. The unrestricted point and variance estimator essentially applies the restricted point and variance estimator to the padded parameters and matrices. In this way, the unrestricted estimator only federates the shared parameters.
Note that it is possible to treat some parameters as dataset-specific parameters even though they are stable. This approach does not affect the consistency of the federated estimator; however, as the number of parameters on the combined data increases, the federated estimator is weakly less efficient than that using the most parsimonious specification, as stated in the following proposition. See Table (ref) Appendix (ref) for a numerical example.
\begin{table}[t!]
\captionsetup{position=top, font=normalsize, labelfont=bf, textfont=normalfont, justification=centering, margin=0mm, aboveskip=1mm, belowskip=0mm, labelsep=colon, singlelinecheck=false}\caption{Federated Maximum Likelihood Estimator}
{
\begin{tabular}{l|l|l} \toprule
\multicolumn{1}{p{2.5cm}|}{ Description} & \multicolumn{1}{p{5.2cm}|}{ Assume Stable Outcome Model (MLE \#1)} & \multicolumn{1}{p{6.2cm}}{ Assume Unstable Outcome Model (MLE \#2)} \\ \midrule
\multicolumn{1}{p{3.cm}|}{ Stable outcome model} & \multicolumn{1}{p{3.cm}|}{ yes} & \multicolumn{1}{p{3.cm}}{ no} \\ \midrule
\multicolumn{1}{p{3.cm}|}{ Parameter $\bm\beta$ federation} & \multicolumn{1}{p{5.2cm}|}{ $ \Big( \sum_{k = 1}^{D} \hat{\*H}_{\bm\beta}^{(k)}\Big)^{-1} \Big( \sum_{k = 1}^{D} \hat{\*H}_{\bm\beta}^{(k)} \hat{\bm\beta}^{(k)} \Big)$} & \multicolumn{1}{p{6.6cm}}{ $ \Big( \sum_{k = 1}^{D} \hat{\*H}_{\bm\beta}^{\mathrm{pad},{(k)}}\Big)^{-1} \Big( \sum_{k = 1}^{D} \hat{\*H}_{\bm\beta}^{\mathrm{pad},{(k)}} \hat{\bm\beta}^{\mathrm{pad},{(k)}} \Big)$ } \\ \midrule
\multicolumn{1}{p{3.cm}|}{ Variance $\*V_{\bm\beta}$ federation}
& \multicolumn{1}{p{5.5cm}|}{ Sample size weighting $\hat{\*A}^{(k)}_{\bm\beta}$ and $\hat{\*B}^{(k)}_{\bm\beta}$ in $\*V_{\bm\beta} = \*A_{\bm\beta}^{-1} \*B_{\bm\beta} \*A_{\bm\beta}^{-1}$} & \multicolumn{1}{p{5.5cm}}{ Sample size weighting $\hat{\*A}^{\mathrm{pad},(k)}_{\bm\beta}$ and $\hat{\*B}^{\mathrm{pad},(k)}_{\bm\beta}$ in $\*V_{\bm\beta} = \*A_{\bm\beta}^{-1} \*B_{\bm\beta} \*A_{\bm\beta}^{-1}$ } \\
\midrule
\multicolumn{1}{p{3.cm}|}{ Asymptotic results} & \multicolumn{2}{m{7.5cm}}{ Theorem (ref)} \\
\bottomrule
\end{tabular}}
\captionsetup{position=bottom, font=footnotesize, textfont=normalfont, margin=1mm, skip=2mm, justification=justified, singlelinecheck=false}\caption*{
This table also holds for the propensity model.
The second row correspond to Condition (ref). $\hat{\*H}_{\bm\beta}^{(k)} $ denotes the estimated Hessian. $\*A_{\bm\beta}$ and $\*B_{\bm\beta}$ are defined in Table (ref). $\hat{\*H}_{\bm\beta}^{(k)}$ increases with sample size $n_k$, while $\*A_{\bm\beta}$ and $\*B_{\bm\beta}$ do not. For a generic vector or matrix $\*x$, $\*x^{\mathrm{pad}}$ denotes $\*x$ padded with zeros.
}
\end{table}
\begin{proposition}
Suppose $Y_i$ follows a generalized linear model that is stable across data sets (Condition (ref) holds). If we use unrestricted federated MLE with a flexible outcome model specification on the combined data (i.e., $\bm\beta^\mathrm{cb}$ has a higher dimension than the most parsimonious specification), then we get a weakly less efficient estimate of $\bm\beta_{\mathrm{s}}$ than that from restricted federated MLE.
\end{proposition}
\subsection{Federated IPW-MLE}
The target parameter of our federated IPW-MLE is $\bm{\beta}^\mathrm{cb}$ in the outcome model on the combined data. As IPW-MLE uses the propensity scores, we need to account for whether the propensity scores are known or estimated. If they are estimated, then our federated IPW-MLE also estimates and federates the propensity models.
\subsubsection{Restricted Federated IPW-MLE for Stable Models (Conditions (ref) and (ref) Hold)}
{\color{Black}
Let $\hat{\bm{\beta}}^\mathrm{fed}_\mathrm{ipw{\text -}mle}$ be our restricted federated point estimator for $\bm\beta^\mathrm{cb}$ obtained via a three-step procedure. First, if the propensity scores are unknown, we use restricted MLE to estimate the parameters in the propensity model on the combined data and obtain the federated propensity scores; otherwise, skip this step. Second, we use IPW-MLE with federated propensity scores to estimate $\bm\beta^{(k)}$ on each data set $k$. Third, we combine estimated $\bm\beta^{(k)}$ by Hessian weighting to obtain $\hat{\bm{\beta}}^\mathrm{fed}_\mathrm{ipw{\text -}mle}$.
Similar to federated MLE, this federated point estimator is designed to satisfy the first-order condition of IPW-MLE.
The federated variance estimator of IPW-MLE is designed based on the variance formula of IPW-MLE in Lemma (ref) in Section (ref) for a single data set. For every term in the variance formula, we estimate it on each data set. We combine the estimated terms across data sets by sample size weighting, and plug the sample size weighted terms into the variance formula to obtain the federated variance. The procedure is conceptually similar to that for MLE, but operates on a different variance formula. See Table (ref) for more details.
}
\subsubsection{Unrestricted Federated IPW-MLE for Unstable Models (Condition (ref) or (ref) is Violated)}
Similar to unrestricted federated MLE, our unrestricted federated IPW-MLE only federates shared parameters in the propensity and outcome models, and leaves the dataset-specific parameters as they are in federation. We first pad the parameters and matrices on each data set with zeros to match the dimensionality of the corresponding parameters and matrices on the combined data. Then we apply restricted federated IPW-MLE to the zero-padded parameters and matrices to obtain point and variance estimates of the target parameter.
\begin{figure}[t]
\captionsetup{position=top, font=normalsize, labelfont=bf, textfont=normalfont, justification=centering, margin=0mm, aboveskip=2mm, belowskip=0mm, labelsep=colon, singlelinecheck=false}\caption{Flowchart for Federated IPW-MLE}
\captionsetup{position=bottom, font=footnotesize, textfont=normalfont, margin=1mm, skip=2mm, justification=justified, singlelinecheck=false}\caption*{See Section (ref) for practical guidance on determining whether the propensity/outcome model is stable.}
\end{figure}
\subsection{Federated AIPW Estimator}
{\color{Black}
Our federated AIPW estimates ATE or ATT on the combined data.
The illustration of federated AIPW uses ATE as an example. The federation of ATT is conceptually the same.
\begin{landscape}
\begin{table}
\captionsetup{position=top, font=normalsize, labelfont=bf, textfont=normalfont, justification=centering, margin=0mm, aboveskip=1mm, belowskip=0mm, labelsep=colon, singlelinecheck=false}\caption{Federated Inverse Propensity-Weighted Maximum Likelihood Estimator}
{
\begin{tabular}{l|l|l|l|l}\toprule
\multicolumn{1}{p{3.cm}|}{ Description} & \multicolumn{1}{p{5.cm}|}{ Assume Stable Known Propensity and Stable Outcome Model (IPW-MLE \#1)} & \multicolumn{1}{p{7.cm}|}{ Assume Stable Misspecified Propensity and Stable Outcome Model (IPW-MLE \#2)} & \multicolumn{1}{p{5.cm}}{ Assume Unstable Propensity or Unstable Outcome Model (IPW-MLE \#3)} \\ \midrule
\multicolumn{1}{p{3.cm}|}{ Stable propensity model} & \multicolumn{1}{p{3.cm}|}{ yes} & \multicolumn{1}{p{3.cm}|}{ yes} & \multicolumn{1}{p{3.cm}}{ yes or no} \\ \midrule
\multicolumn{1}{p{3.cm}|}{ Stable outcome model} & \multicolumn{1}{p{3.cm}|}{ yes} & \multicolumn{1}{p{3.cm}|}{ yes} & \multicolumn{1}{p{3.cm}}{ yes or no} \\ \midrule
\multicolumn{1}{p{3.cm}|}{ Parameter $\bm\beta$ federation} & \multicolumn{1}{p{5.cm}|}{ (1) Estimate ${\bm\beta}^{(k)}$ using ${\bm\gamma}_0$; (2) Federate $\hat{\bm\beta}^{(k)}$ by Hessian weighting} & \multicolumn{1}{p{7.cm}|}{ (1) Federate $\hat{\bm\gamma}^{(k)} $ by Hessian weighting; (2) Estimate ${\bm\beta}^{(k)}$ using $\hat{\bm\gamma}^\mathrm{fed}$; (3) Federate $\hat{\bm\beta}^{(k)}$ by Hessian weighting} & \multicolumn{1}{p{5.cm}}{ Same federation procedure, but with $\hat{\bm\gamma}^{\mathrm{pad},{(k)}}$ and $\hat{\*H}_{\bm\gamma}^{\mathrm{pad},{(k)}}$ if propensity models are unstable and estimated, and with $\hat{\bm\beta}^{\mathrm{pad},{(k)}}$ and $\hat{\*H}_{\bm\beta}^{\mathrm{pad},{(k)}}$ if outcomes models are unstable} \\ \midrule
\multicolumn{1}{p{3.cm}|}{ Variance $\*V_{\bm\beta}$ federation} & \multicolumn{1}{p{5.cm}|}{ $\*V_{\bm\beta} = \*A_{\bm\beta,\varpi}^{-1} \*D_{\bm\beta,\varpi} \*A_{\bm\beta,\varpi}^{-1}$ \\ (1) Estimate $\*A_{\bm\beta,\varpi}^{(k)}$, $\*D_{\bm\beta,\varpi}^{(k)}$ using $\hat{\bm\beta}^\mathrm{fed}$; (2) Federate $\hat{\*A}_{\bm\beta,\varpi}^{(k)}$ and $\hat{\*D}_{\bm\beta,\varpi}^{(k)}$ by sample size weighting} & \multicolumn{1}{p{7.cm}|}{ $\*V_{\bm\beta} = \*A_{\bm\beta,\varpi}^{-1} (\*D_{\bm\beta,\varpi} - \*M_{\bm\beta, \varpi,\bm\gamma}) \*A_{\bm\beta,\varpi}^{-1}$, $\*M_{\bm\beta, \varpi,\bm\gamma} = \*C_{\bm\beta,\varpi} \*V_{\bm\gamma} \*C_{\bm\beta,\varpi}^\top$ for ATE weighting; $\*M_{\bm\beta, \varpi,\bm\gamma} =\*C_{\bm\beta, \varpi,1} \*V_{\bm\gamma} \*C_{\bm\beta, \varpi,2}^\top + \*C_{\bm\beta, \varpi,2} \*V_{\bm\gamma} \*C_{\bm\beta, \varpi,1}^\top - \*C_{\bm\beta, \varpi,2} \*V_{\bm\gamma} \*C_{\bm\beta, \varpi,2}^\top $ for ATT weighting; $\*V_{\bm\gamma} = \*A_{\bm\gamma}^{-1} \*B_{\bm\gamma} \*A_{\bm\gamma}^{-1}$. \\ (1) Estimate $\*A_{\bm\beta,\varpi}^{(k)}$, $\*C_{\bm\beta,\varpi}^{(k)}$, $\*D_{\bm\beta,\varpi}^{(k)}$, $\*A^{(k)}_{\bm\gamma}$, and $ \*B^{(k)}_{\bm\gamma}$ using $\hat{\bm\gamma}^\mathrm{fed}$ and $\hat{\bm\beta}^\mathrm{fed}$; (2) Federate $\hat{\*A}_{\bm\beta,\varpi}^{(k)}$, $\hat{\*C}_{\bm\beta,\varpi}^{(k)}$, $\hat{\*D}_{\bm\beta,\varpi}^{(k)}$, $\hat{\*A}^{(k)}_{\bm\gamma}$, and $ \hat{\*B}^{(k)}_{\bm\gamma}$ by sample size weighting } & \multicolumn{1}{p{5.cm}}{ Same federation procedure, but with $\hat{\bm\gamma}^{\mathrm{pad},{(k)}}$, $\hat{\*A}_{\bm\gamma}^{\mathrm{pad},{(k)}}$, $\hat{\*C}^{\mathrm{pad},{(k)}}_{\bm\beta,\varpi}$ and $\hat{\*B}_{\bm\gamma}^{\mathrm{pad},{(k)}}$ if propensity models are unstable and estimated, and with $\hat{\bm\beta}^{\mathrm{pad},{(k)}}$, $\hat{\*A}^{\mathrm{pad},{(k)}}_{\bm\beta,\varpi}$, $\hat{\*D}^{\mathrm{pad},{(k)}}_{\bm\beta,\varpi}$, and $\hat{\*C}^{\mathrm{pad},{(k)}}_{\bm\beta,\varpi}$ if outcomes models are unstable} \\ \hline
\multicolumn{1}{p{3cm}|}{ Asymptotic results} & \multicolumn{3}{m{10.cm}}{Theorem (ref)} \\ \bottomrule
\end{tabular}}
\captionsetup{position=bottom, font=footnotesize, textfont=normalfont, margin=1mm, skip=2mm, justification=justified, singlelinecheck=false}\caption*{
The second and third rows correspond to Conditions (ref) and (ref). “yes or no" means that the solution does not vary with whether the condition is satisfied or not. The definitions of $\*A_{\bm\beta,\varpi}, \*D_{\bm\beta,\varpi},\*C_{\bm\beta,\varpi},\*C_{\bm\beta,\varpi,1},\*C_{\bm\beta,\varpi,2}, \*A_{\bm\gamma}$, and $ \*B_{\bm\gamma}$ can be found in Table (ref). When the propensity model is estimated (Condition (ref) is violated), the coefficient federation procedure is the same for all scenarios, but is simplified when the true propensity is used (Condition (ref) holds). The variance federation procedure varies with whether the true propensity is used and whether ATE or ATT weighting is used. The definitions of ATE and ATT weighting can be found in Section (ref). For a generic vector or matrix $\*x$, $\*x^{\mathrm{pad}}$ denotes $\*x$ padded with zeros.
}
\end{table}
\end{landscape}
\subsubsection{Restricted AIPW Estimator for Stable Models and Stable Covariate Distributions (Conditions (ref), (ref) and (ref) Hold)}
As the AIPW estimator uses both outcome and propensity models, we need to federate both propensity and outcome models. When covariate distributions, propensity models, and outcome models are stable, we propose to use the restricted federated AIPW, which has three steps. First, we use federated MLE to obtain a federated propensity model and a federated outcome model.\footnote{When the true propensity model is known and used, we do not need to federate the individual propensity models.} Second, we use AIPW with the federated propensity and outcome models to estimate ATE on each data set. Finally, we obtain the federated ATE by inverse variance weighting the estimated ATE on each data set, as in formula (ref).
\begin{figure}[t!]
\caption{Flowchart for Federated AIPW}
\captionsetup{position=bottom, font=footnotesize, textfont=normalfont, margin=1mm, skip=2mm, justification=justified, singlelinecheck=false}\caption*{See Section (ref) for practical guidance on determining whether propensity and outcome models are stable.}
\end{figure}
To obtain the federated variance, we first estimate the variance of the estimated ATE on each data set, and then use inverse variance weighting to combine the estimated variances on all data sets together, as in formula (ref).
Note that, under stable covariate distributions and stable propensity and outcome models, ATE and asymptotic variance of ATE are the same for all data sets. In this case, we can apply any weighting scheme to combine the estimated ATE together. We choose IVW because it has the smallest variance among all weighting schemes, as shown in Appendix (ref).
\subsubsection{Unrestricted AIPW Estimator for Unstable Models or Unstable Covariate Distributions (Either Condition (ref), (ref) or (ref) is Violated)}
When either propensity model, outcome model, or covariate distribution is unstable, ATE may not be the same across data sets. For this case, we suggest using the unrestricted federated AIPW. For this unrestricted estimator, we first estimate ATE and its asymptotic variance on each data set and then use sample size weighting to combine the estimated ATE and variances together:\footnote{\cmtfinal{The unrestricted AIPW is equivalent to the AIPW in (ref) with the score on combined data estimated by $\hat{\phi}(\*X^{(k)}_i, W^{(k)}_i, Y^{(k)}_i ) \coloneqq \prod_{j=1}^K [\hat{\phi}^{(j)}(\*X^{(j)}_i, W^{(j)}_i, Y^{(j)}_i )]^{\bm{1}(j = k)} $ and $\hat{\phi}^{(j)}(\*X^{(j)}_i, W^{(j)}_i, Y^{(j)}_i )$ estimated using the estimated outcome and propensity models on data set $j$. } }
\begin{align}
\hat{\tau}^\mathrm{fed}_\mathrm{aipw} = \sum_{k = 1}^{D} \frac{n_k}{n_\mathrm{pool}} \hat{\tau}_\mathrm{aipw}^{(k)} \qquad \hat{\*V}_{\tau}^\mathrm{fed} = \sum_{k = 1}^{D} \frac{n_k}{n_\mathrm{pool}} \hat{\*V}^{(k)}_\tau,
\end{align}
where $\hat{\tau}_\mathrm{aipw}^{(k)}$ is the estimated ATE on data set $k$, and $\hat{\*V}^{(k)}_\tau$ is the estimated variance of $\hat{\tau}_\mathrm{aipw}^{(k)}$.
This federated AIPW estimator is quite general. First, it is robust to propensity or outcome model misspecification. Second, it allows the propensity or/and outcome models to vary arbitrarily across data sets. Third, it allows $\hat{\tau}_\mathrm{aipw}^{(k)}$ to be estimated from flexible machine learning methods, such as random forests wager2018estimation, as we do not need an approach to federate estimated propensity and outcome models across data sets. The tradeoff is that the unrestricted estimator is less efficient than the restricted estimator, under stable covariance distribution and stable propensity and outcome models.
\begin{table}[t!]
\captionsetup{position=top, font=normalsize, labelfont=bf, textfont=normalfont, justification=centering, margin=0mm, aboveskip=1mm, belowskip=0mm, labelsep=colon, singlelinecheck=false}\caption{Federated AIPW Estimator}
{
\begin{tabular}{l|l|l}\toprule
\multicolumn{1}{p{2cm}|}{ Description} & \multicolumn{1}{p{5.cm}|}{ Assume Stable Propensity and Stable Outcome Model (AIPW \#1)} & \multicolumn{1}{p{5.cm}}{ Assume Unstable Propensity or Unstable Outcome Model (AIPW \#2)} \\
\midrule
\multicolumn{1}{p{4.cm}|}{ Stable propensity model} & \multicolumn{1}{p{3.cm}|}{ yes} & \multicolumn{1}{p{3.cm}}{ yes or no} \\ \midrule
\multicolumn{1}{p{4.cm}|}{ Stable outcome model} & \multicolumn{1}{p{3.cm}|}{ yes} & \multicolumn{1}{p{3.cm}}{ yes or no} \\ \midrule
\multicolumn{1}{p{4.8cm}|}{ Stable covariate distribution} & \multicolumn{1}{p{3.cm}|}{ yes} & \multicolumn{1}{p{3.cm}}{ yes or no} \\
\midrule
\multicolumn{1}{p{4.2cm}|}{ ATE or ATT $\tau$ federation} & \multicolumn{1}{p{5.cm}|}{ (1) Federate $\hat{\bm\beta}^{(k)} $ (and $\hat{\bm\gamma}^{(k)} $ if necessary) by Hessian weighting; (2) Estimate ${\tau}^{(k)}$ using $\hat{\bm\beta}^\mathrm{fed}$ and $\hat{\bm\gamma}^\mathrm{fed}$ (or $\bm\gamma^{(k)}_0$ if known); (3) Federate $\hat{\tau}^{(k)}$ by inverse variance weighting.} & \multicolumn{1}{p{5.cm}}{ (1) Estimate ${\tau}^{(k)}$ using $\hat{\bm\beta}^{(k)}$ and $\hat{\bm\gamma}^{(k)}$ (or $\bm\gamma^{(k)}_0$ if known); (2) Federate $\hat{\tau}^{(k)}$ by sample size weighting.} \\ \midrule
\multicolumn{1}{p{4.2cm}|}{ Variance $\*V_\tau$ federation} & \multicolumn{1}{p{5.cm}|}{ Inverse variance weighting} & \multicolumn{1}{p{5.cm}}{ Sample size weighting} \\
\midrule
\multicolumn{1}{p{2cm}|}{ Results} & \multicolumn{2}{m{6cm}}{Theorem (ref) } \\ \bottomrule
\end{tabular}}
\captionsetup{position=bottom, font=footnotesize, textfont=normalfont, margin=1mm, skip=2mm, justification=justified, singlelinecheck=false}\caption*{The second to fourth rows correspond to Conditions (ref), (ref) and (ref).
}
\end{table}
}
{\color{Black}
\subsection{Practical Guidance}
In this subsection, we suggest some diagnostic tests that may help practitioners choose between restricted and unrestricted methods and determine the set of shared parameters. For ease of discussion, our empirical application is used as a running example with a generalized linear model (GLM) specification for outcomes.
First, we can examine whether the link function of the GLM is the same across data sets. If not (for example, one is linear and the other one is logit), then it is natural to choose the unrestricted method without shared parameters.
Suppose the link function of the GLM is the same across data sets. Second, we can examine whether there exist some covariates that are unique to a data set. If yes, then it is natural to specify the parameters of these covariates as unstable parameters. For example, Optum covers more years than MarketScan, and the outcome model incorporates several year dummies that are unique to Optum. The coefficients of these dummies are unstable parameters.
Third, we can run hypothesis tests for whether the parameter values are the same across data sets. Suppose we would like to test whether the $p$-dimensional parameters on MarketScan $\bm{\beta}_\mathrm{M}$ and on Optum $\bm{\beta}_\mathrm{O}$ are the same, i.e.,
\begin{equation}
\mathcal{H}_0: \bm{\beta}_\mathrm{M} = \bm{\beta}_\mathrm{O} \qquad \mathcal{H}_1: \bm{\beta}_\mathrm{M} \neq \bm{\beta}_\mathrm{O}.
\end{equation}
We can construct the modified Hotelling's T-square test statistic,
\[T^2 = \left( \hat{\bm{\beta}}_\mathrm{M} - \hat{\bm{\beta}}_\mathrm{O} \right)^\top \left(\frac{n_\mathrm{M}}{(n_\mathrm{M} + n_\mathrm{O})^2} \hat{\*{V}}_\mathrm{M} + \frac{n_\mathrm{O}}{(n_\mathrm{M} + n_\mathrm{O})^2} \hat{\*{V}}_\mathrm{O} \right)^{-1} \left( \hat{\bm{\beta}}_\mathrm{M} - \hat{\bm{\beta}}_\mathrm{O} \right), \]
where $\hat{\bm{\beta}}_\mathrm{M}$ and $\hat{\bm{\beta}}_\mathrm{O}$ are estimated parameters on MarketScan and on Optum, with estimated asymptotic variances $\hat{\*{V}}_\mathrm{M}$ and $\hat{\*{V}}_\mathrm{O}$.
$T^2$ is approximately chi-square distributed with $p$ degree of freedom when both $\hat{\bm{\beta}}_\mathrm{M}$ and $\hat{\bm{\beta}}_\mathrm{O}$ are asymptotically normal.
If we do not reject the null, then we can treat $\bm{\beta}_\mathrm{M}$ and $\bm{\beta}_\mathrm{O}$ as stable parameters. Otherwise, we have two options. First, we can treat every entry in $\bm{\beta}_\mathrm{M}$ and $\bm{\beta}_\mathrm{O}$ as an unstable parameter. Second, we can test again on a subset of $\bm{\beta}_\mathrm{M}$ and $\bm{\beta}_\mathrm{O}$ using a similar procedure to determine whether this subset of parameters are stable. We may want to choose the second option when we want to specify as many stable parameters as possible for efficiency consideration (following the intuition in Proposition (ref)).
Last but not least, we suggest running a data-driven simulation study using real data to compare various federated methods with different specifications of shared and dataset-specific parameters. See Section (ref) for an example. In this simulation study, we draw patient records from one data set to construct subsamples that mimic the demographics of the multiple data sets we seek to federate. Then we federate subsamples using various federated methods. The benchmarks are the results from the combined data, as in this case, combining patient records across subsamples is permissible, given that they are sampled from one data set. Finally, we choose the federated method that is closest to the benchmarks.
}
\section{Asymptotic Results}
In this section, we show the asymptotic results of our federated MLE, IPW-MLE and AIPW. The federated point estimators have the same asymptotic distributions as their corresponding estimators using the combined, individual-level data. The federated variance estimators are consistent, which allows us to construct valid confidence intervals of target parameters. Appendix (ref) demonstrate the finite-sample properties of the asymptotic results. Appendix (ref) collects all the proofs.
{\color{Black} To show the asymptotic results, we impose standard regularity assumptions on $f(y \mid \*x, w, \bm\beta)$ and $e(\*x,\bm\gamma)$, similar to white1982maximum and wooldridge2007inverse, among others. To conserve space, the regularity assumptions are deferred to Assumption (ref) in Appendix (ref). Let $\bm{\gamma}^{\mathrm{cb} \ast}$ and $\bm{\beta}^{\mathrm{cb} \ast}$ be the solutions that maximize the expected log-likelihood $\+E[\log e^\mathrm{cb}(\*x, \bm\gamma)]$ and $\+E[\log f^\mathrm{cb}(y \mid \*x, w,\bm\beta)]$. The solutions may or may not equal the true parameter values $\bm{\gamma}^{\mathrm{cb}}_0$ and $\bm{\beta}^{\mathrm{cb}}_0$, depending on whether the propensity and outcome models are correctly specified. See Appendix (ref) for more discussion. In this section, we show that our federated MLE or IPW-MLE can consistently estimate $\bm{\beta}^{\mathrm{cb} \ast}$ (and $\bm{\gamma}^{\mathrm{cb} \ast}$).}
\subsection{Federated MLE}
We illustrate the asymptotic results of federated MLE using the estimated parameters in the outcome model, but the asymptotic results also apply to estimated parameters in the propensity model.
The following theorem shows that in federated MLE, the federated point estimator of target parameters, denoted by $\hat{\bm\beta}^\mathrm{fed}_\mathrm{mle}$, have the same asymptotic distribution as MLE on the combined, individual-level data. In addition, the federated variance estimator, denoted by $\hat{\*V}_{\bm\beta}^\mathrm{fed} $, is consistent.
\begin{theorem}[Federated MLE]
Suppose Assumption (ref).1 holds. If Condition (ref) holds, we use restricted federated MLE in Section (ref); otherwise, we use unrestricted federated MLE in Section (ref).
Suppose the information matrices satisfy $\left\lVert \mathcal{I}^\mathrm{cb}(\bm\beta)^{-1} \mathcal{I}^{(k)}(\bm\beta) \right\rVert_2 \leq M$ for some $M < \infty$ and for all $k$.
As $n_1, \cdots, n_D \rightarrow \infty$, we have
\begin{align}
n_\mathrm{pool}^{1/2} (\hat{\*V}_{\bm\beta}^\mathrm{cb})^{-1/2} (\hat{\bm\beta}^\mathrm{fed}_\mathrm{mle} - \bm\beta^{\mathrm{cb} \ast}) \xrightarrow{d}& \mathcal{N} (0, \*I_d),
\end{align}
where $d$ is the dimension of $\bm{\beta}^{\mathrm{cb} \ast}$.
If we replace $\hat{\*V}_{\bm\beta}^{\mathrm{cb}}$ by $\hat{\*V}_{\bm\beta}^{\mathrm{fed}}$ and/or replace $\hat{\bm\beta}^\mathrm{fed}_\mathrm{mle}$ by $\hat{\bm\beta}^\mathrm{cb}_\mathrm{mle}$, then (ref) continues to hold.
\end{theorem}
The federated point estimator $\hat{\bm\beta}^\mathrm{fed}_\mathrm{mle} $ converges at the optimal rate $n_\mathrm{pool}^{-1/2}$ convergence rate. The convergence rate is therefore improved via federation, as compared to the rate $n_k^{-1/2}$ of $\hat{\bm\beta}^{(k)}_\mathrm{mle}$ for any $k$.
Theorem (ref) holds regardless of whether the outcome model is correctly specified or not. If the outcome model is correctly specified, $\hat{\bm\beta}^\mathrm{fed}_\mathrm{mle}$ is a consistent estimator of $\bm{\beta}^{\mathrm{cb}}_0$; otherwise, $\hat{\bm\beta}^\mathrm{fed}_\mathrm{mle}$ converges to the limit $\bm\beta^{\mathrm{cb} \ast}$ that generally differs from $\bm{\beta}^{\mathrm{cb}}_0$.
\begin{remark}
\normalfont
If outcome models are unstable, but we use restricted federated MLE in Section (ref), Proposition (ref) in Appendix (ref) shows that, under some special cases,
Theorem (ref) continues to hold, but with a limit that potentially differs from $\bm\beta^{\mathrm{cb} \ast}$.
\end{remark}
\subsection{Federated IPW-MLE}
We start with a lemma that provides the asymptotic distribution of IPW-MLE on a single data set, on which the asymptotic results of federated IPW-MLE are built.
\begin{lemma}
Suppose Assumption (ref) holds and we estimate $e(\*X_i)$ from MLE. As $n \rightarrow \infty$,
$ \hat{\bm\beta}_\mathrm{ipw{\text -}mle}$ estimated from IPW-MLE is consistent and asymptotically normal,
\begin{align*}
\sqrt{n} \big(\hat{\bm\beta}_\mathrm{ipw{\text -}mle} - \bm\beta^\ast \big) \xrightarrow{d}&\mathcal{N} \big(0, \*V_{\bm\beta^\ast, \mathrm{ipw{\text -}mle}, \hat{e}}^\dagger \big),
\end{align*}
where
\begin{align}
\*V_{\bm\beta^\ast, \mathrm{ipw{\text -}mle}, \hat{e}}^\dagger = \*A_{\bm\beta^\ast, \varpi}^{-1} \big(\*D_{\bm\beta^\ast, \varpi} - \*M_{\bm\beta^\ast, \varpi,\bm\gamma^\ast} \big) \*A_{\bm\beta^\ast, \varpi}^{-1}
\end{align}
with
\begin{align*}
\*M_{\bm\beta^\ast, \varpi,\bm\gamma^\ast} = \begin{cases} \*C_{\bm\beta^\ast, \varpi} \*V_{\bm\gamma^\ast} \*C_{\bm\beta^\ast, \varpi}^\top & \text{ ATE weighting} \\
\*C_{\bm\beta^\ast, \varpi,1} \*V_{\bm\gamma^\ast} \*C_{\bm\beta^\ast, \varpi,2}^\top + \*C_{\bm\beta^\ast, \varpi,2} \*V_{\bm\gamma^\ast} \*C_{\bm\beta^\ast, \varpi,1}^\top - \*C_{\bm\beta^\ast, \varpi,2} \*V_{\bm\gamma^\ast} \*C_{\bm\beta^\ast, \varpi,2}^\top & \text{ ATT weighting},
\end{cases}
\end{align*}
$\*V_{\bm\gamma^\ast} = \*A_{\bm\gamma^\ast}^{-1} \*B_{\bm\gamma^\ast} \*A_{\bm\gamma^\ast}^{-1} $, and $\*A_{\bm\beta^\ast, \varpi}$ is matrix $\*A_{\bm\beta,\varpi}$ evaluated at $\bm\beta^\ast$, with the definition of $\*A_{\bm\beta,\varpi}$ provided in Table (ref). Other terms in formula (ref) are defined similarly.
If IPW-MLE uses true propensities, then the asymptotic variance is simplified to
\begin{align}
\*V_{\bm\beta^\ast, \mathrm{ipw{\text -}mle}}^\dagger = \*A_{\bm\beta^\ast, \varpi}^{-1} \*D_{\bm\beta^\ast, \varpi} \*A_{\bm\beta^\ast, \varpi}^{-1}.
\end{align}
\end{lemma}
Lemma (ref) coincides with the the results in wooldridge2002inverse,wooldridge2007inverse for ATE weighting, and Lemma (ref) additionally provides the results for ATT weighting.
Note that the estimation error of the propensity model carries over to the asymptotic variance of IPW-MLE. This explains why our federated variance estimator in Section (ref) needs to vary with whether the true propensities are used. In addition, if federated IPW-MLE varies properly with whether propensity and/or outcome models are stable or not, then the federated point estimator, denoted by $\hat{\bm\beta}^\mathrm{fed}_\mathrm{ipw{\text -}mle}$, have the same asymptotic distribution as IPW-MLE on the combined, individual-level data. Moreover, the federated variance, denoted by $\hat{\*V}_{\bm\beta,\mathrm{ipw{\text -}mle}, \hat{e}}^{\mathrm{fed}, \dagger}$, is consistent when it is obtained based on the formulas in Lemma (ref).
\begin{theorem}[Federated IPW-MLE]
Suppose Assumption (ref) holds. If Conditions (ref) and (ref) hold, we use restricted federated IPW-MLE in Section (ref); otherwise, we use unrestricted federated IPW-MLE in Section (ref).
Suppose $\left\lVert(\*A^\mathrm{cb}_{\bm\beta^\ast, \varpi})^{-1} \*A^{(k)}_{\bm\beta^\ast, \varpi}\right\rVert_2 \leq M$ and $\left\lVert(\*A^\mathrm{cb}_{\bm\gamma^\ast})^{-1} \*A^{(k)}_{\bm\gamma^\ast}\right\rVert_2 \leq M$ for some $M < \infty$ and for all $k$.
As $n_1, \cdots, n_D \rightarrow \infty$, we have
\begin{align}
n_\mathrm{pool}^{1/2} (\hat{\*V}_{\bm\beta,\mathrm{ipw{\text -}mle},\hat{e}}^{\mathrm{cb}, \dagger})^{-1/2} (\hat{\bm\beta}^\mathrm{fed}_\mathrm{ipw{\text -}mle} - \bm\beta^{\mathrm{cb} \ast}) \xrightarrow{d}& \mathcal{N} (0, \*I_d),
\end{align}
If we replace $\hat{\*V}_{\bm\beta,\mathrm{ipw{\text -}mle},\hat{e}}^{\mathrm{cb}, \dagger}$ by $\hat{\*V}_{\bm\beta,\mathrm{ipw{\text -}mle},\hat{e}}^{\mathrm{fed}, \dagger}$ and/or replace $\hat{\bm\beta}^\mathrm{fed}_\mathrm{ipw{\text -}mle}$ by $\hat{\bm\beta}^\mathrm{cb}_\mathrm{ipw{\text -}mle}$, then (ref) continues to hold.
If we use true propensities, the above statements continue to hold with $\hat{\*V}_{\bm\beta,\mathrm{ipw{\text -}mle},\hat{e}}^{\mathrm{cb}, \dagger}$ replaced by the corresponding variance terms for the true propensities.
\end{theorem}
Federated IPW-MLE converges at the rate $n_\mathrm{pool}^{-1/2}$, which is faster than $n_k^{-1/2}$ on a single data set $k$.
{\color{Black} This theorem holds regardless of whether covariate distributions are stable or not, as long as the limiting objects, $\bm{\beta}^{\mathrm{cb} \ast}$ and $\*V^\ast_{\bm{\beta}^{\mathrm{cb} \ast},\mathrm{ipw{\text -}mle}}$, are well-defined on the combined data, though their definitions may vary with whether covariate distributions are stable.}
Moreover, Theorem (ref) holds regardless of whether we use the true or estimated propensities. In practice, even if we know the true propensities, it is better to use the estimated propensities for the efficiency consideration (wooldridge2002inverse,hirano2003efficient among others), as $ \*V_{\bm\beta^\ast, \mathrm{ipw{\text -}mle}}^\dagger - \*V_{\bm\beta^\ast, \mathrm{ipw{\text -}mle}, \hat{e}}^\dagger $ is positive semidefinite from Lemma (ref) for ATE weighting.
If the estimated propensities are used, we could still use the federated variance estimator for the true propensity case, which takes a simpler form, but overestimates the variance.
{\color{Black}
\subsection{Federated AIPW}
The following theorem shows that our federated AIPW for ATE and ATT has the same asymptotic distribution as AIPW on the combined data. In addition, our federated variance estimators for AIPW are consistent.
\begin{theorem}
Suppose either of the following cases holds: (a) the score $ \phi^{(k)}(\*x, w, y) $ is the same for all $k$, and we use the federation procedure in Section (ref); or (b) $ \phi^{(k)}(\*x, w, y) $ varies with $k$, and we use the federation procedure in Section (ref). Furthermore, suppose for any data set $k$, at least one condition holds: (a) $\mu^{(k)}_{(w)}(\*x)$ is correctly specified and consistently estimated for $w \in \{0,1\}$, or (b) $e^{(k)}(\*x)$ is correctly specified and consistently estimated.
As $n_1, \cdots, n_D \rightarrow \infty$, if the estimand is ATE, we have
\begin{align}
n_\mathrm{pool}^{1/2} (\hat{\*V}^\mathrm{cb}_{\tau_\mathrm{ate}})^{-1/2} (\hat{\tau}^\mathrm{fed}_\mathrm{ate} - \tau^\mathrm{cb}_\mathrm{ate}) \xrightarrow{d}& \mathcal{N}(0,1).
\end{align}
If we replace $\hat{\*V}^\mathrm{cb}_{\tau_\mathrm{ate}}$ by $\hat{\*V}^\mathrm{fed}_{\tau_\mathrm{ate}}$ and/or replace $\hat{\tau}^\mathrm{fed}_\mathrm{ate}$ by $\hat{\tau}^\mathrm{cb}_\mathrm{ate}$, then (ref) continues to hold. If the estimand is ATT, (ref) continues to hold analogously for the federated estimator of ATT and the corresponding federated variance estimator.
\end{theorem}
Analogous to federated MLE and IPW-MLE, federated AIPW achieves a faster convergence rate than AIPW on a single data set. The estimation efficiency of ATE and ATT can be improved through federation. In addition, federated AIPW achieves the semiparametric efficiency bound.
Note that if the propensity and outcome models are estimated from flexible machine learning methods, then we can use unrestricted federated AIPW to combine the estimated ATE or ATT on individual data sets together without combining individual propensity and outcome models. \cmtfinal{If individual propensity and outcome models can be estimated at rate $o(n_k^{-1/4})$, then the estimated ATE or ATT on individual data sets by using cross-fitting converges at the rate $n_k^{-1/2}$ and is asymptotically normal chernozhukov2017double. We can then show that the federated ATE or ATT is asymptotically normal, and the federated variance estimator is consistent. This approach is asymptotically efficient. However, when propensity and outcome models are stable, the variance may be reduced in finite samples, by developing new approaches to federate flexible machine learning methods and using restricted federated AIPW. }
}
\section{Empirical Studies Based on Medical Claims Data}
{\color{Black} In this section, we further study the effect of alpha blockers on two distributed medical databases, MarketScan and Optum, introduced in Section (ref).\footnote{Our analysis builds on the studies by konig2020preventing,koenecke2020alpha, rose2021alpha, powell2021ten, and thomsen2021association.} We first evaluate various federation methods through a data-driven simulation study on one medical claims data, select the optimal federated method, and then apply this method to federate MarketScan and Optum.\footnote{Note that our findings reproduce similar results to koenecke2020alpha, validating the prior result suggesting that alpha blockers are effective in reducing ventilation and death in ARD and pneumonia patients; however, the confidence levels are narrower because our federated methods presented here are improved from those used in koenecke2020alpha. koenecke2020alpha only use the treatment coefficient and variance in federation, whereas here, we use the full variance-covariance matrix from all covariates. Our approach leverages the stable part of the model across two data sets, which could improve the estimation precision of the treatment coefficient.} }
\subsection{Simulation on One Medical Claims Data Set}
{\color{Black} In the data-driven simulation study, we first construct subsamples from one cohort to reflect patient demographics from MarketScan and Optum. Next we compare estimates from various federated methods with those on the combined data. We seek to evaluate how well the federated methods recover the known result from the combined data in a setting where combining data is permissible. We can then select the most effective federated methods and apply these methods to combine the summary-level information from MarketScan and Optum in Section (ref).
}
We start by presenting our approach to simulate subsamples from one patient cohort in Section (ref). Then we list benchmark methods and tested federated methods in Section (ref). We compare the results from federated methods against benchmarks in Section (ref).
\subsubsection{Sampling Schemes for Subsamples}
We draw two subsamples, denoted as $\mathcal{S}_1$ and $\mathcal{S}_2$, based on patient records from one cohort in a database (denoted as $\mathcal{C}$), to mimic the demographics of the distributed databases that we aim to federate. Our simulation design is based on the observation that cohorts in MarketScan include patients younger than age 65 from 2009 to 2015, while cohorts in Optum include patients up to age 85 from 2005 to 2019, with a majority to be over age 65.
To simulate subsamples, we first partition one cohort $\mathcal{C}$ into four disjoint sub-cohorts, denoted as $\mathcal{C}_1$, $\mathcal{C}_2$, $\mathcal{C}_3$, and $\mathcal{C}_4$, by age and fiscal year. $\mathcal{C}_1$ include patients younger than the median age of $\mathcal{C}$ up to year 2012; $\mathcal{C}_2$ include patients younger than the median age after 2012; $\mathcal{C}_3$ include patients older than the median age up to 2012; $\mathcal{C}_4$ include patients older than the median age after 2012. Next we simulate $\mathcal{S}_1$ and $\mathcal{S}_2$. $\mathcal{S}_1$ mimics the demographics of MarketScan, with 70% and 30% sampled from $\mathcal{C}_1$ and $\mathcal{C}_3$, respectively, with replacement. $\mathcal{S}_2$ mimics the demographics of Optum, with 10%, 10%, 10%, and 70% are sampled from $\mathcal{C}_1$, $\mathcal{C}_2$, $\mathcal{C}_3$, and $\mathcal{C}_4$, respectively, with replacement.
As a robustness check, we consider other approaches in Appendix (ref) to construct subsamples, including varying the sampling ratios from different sub-cohorts, varying subsample sizes, and varying the number of subsamples.
\subsubsection{Estimation and Benchmarks}
We consider two benchmark estimators and three federated estimators.
\paragraph{Restricted Benchmarks} Parameters in the propensity and outcome models are assumed to be stable across subsamples. On the combined data, we specify restricted propensity and outcome models as
\begin{equation}
\begin{aligned}
\frac{\mathrm{pr}(W_i=1 \mid \*X_i)}{\mathrm{pr}(W_i=0 \mid \*X_i)} =& \*X_i^\top \bm\gamma \\
\frac{\mathrm{pr}(Y_i=1 \mid \*X_i, W_i)}{\mathrm{pr}(Y_i=0 \mid \*X_i, W_i)} =& W_i \beta_{w} + \*X_i^\top \bm\beta_{\*X} \,,
\end{aligned}
\end{equation}
where outcome $Y_i$ is binary indicating whether a patient received mechanical ventilation and then had an in-hospital death ($Y_i = 1$) or not ($Y_i = 0$), treatment $W_i$ is binary indicating whether a patient is exposed to alpha blockers ($W_i = 1$) or not ($W_i = 0$), and $\*X_i$ consists of age, fiscal year dummies, and health-related confounders.\footnote{See Appendix (ref) for the full list of confounders.}
The restricted benchmarks are the estimate of $\beta_{w}$ in (ref), denoted as $\hat\beta^{\bm{\mathrm{r}}}_{w,\mathrm{bm}}$, and its estimated variance, denoted as $\hat{V}^{\bm{\mathrm{r}}}_{\beta_w,\mathrm{bm}}$, from the combined data.
\paragraph{Unrestricted Benchmarks} Parameters in the propensity and outcome models can be unstable across subsamples. On the combined data, we specify a flexible functional form for the propensity and outcome models\footnote{(ref) can be easily generalized to the case with more than two subsamples.}
\begin{equation}
\begin{aligned}
\frac{\mathrm{pr}(W_i=1 \mid \*X_i)}{\mathrm{pr}(W_i=0 \mid \*X_i)} =& \*X_{i,\mathrm{s}}^\top \bm\gamma_{\mathrm{s}} + \*X_{i,\mathrm{uns}}^\top \bigg( \bm{1}(A_i = 1) \bm\gamma^{(1)}_{\mathrm{uns}} + \bm{1}(A_i = 2) \bm\gamma^{(2)}_{\mathrm{uns}} \bigg) \\
\frac{\mathrm{pr}(Y_i=1 \mid \*X_i, W_i)}{\mathrm{pr}(Y_i=0 \mid \*X_i, W_i)} =& W_i \beta_{w} + \*X_{i,\mathrm{s}}^\top \bm\beta_{\*X,\mathrm{s}} + \*X_{i,\mathrm{uns}}^\top \bigg( \bm{1}(A_i = 1) \bm\beta^{(1)}_{\*X,\mathrm{uns}} + \bm{1}(A_i = 2) \bm\beta^{(2)}_{\*X,\mathrm{uns}} \bigg)\, ,
\end{aligned}
\end{equation}
where $A_i \in \{1, 2\}$ indicates whether the patient record belongs to $\mathcal{S}_1$ or $\mathcal{S}_2$.\footnote{Note that $\mathcal{S}_1$ has patient records up to 2012, while $\mathcal{S}_2$ has patient records for all years. The coefficients of year dummies after 2012 are treated as unstable parameters in both restricted and unrestricted benchmarks.} Parameters are partitioned into stable parameters ($\bm\gamma_{\mathrm{s}}$, $\beta_{w} $ and $\bm\beta_{\*X,\mathrm{s}}$) and unstable parameters ($\bm\gamma^{(a)}_{\mathrm{uns}}$ and $\bm\beta^{(a)}_{\*X,\mathrm{uns}}$ for $a \in \{1,2\}$). The unstable variables include the coefficients of age
confounders and year dummies unique to $\mathcal{S}_2$,\footnote{Age confounders include age, age-squared, and age-cubed.} which is motivated by the observation that age coefficient has opposite signs on MarketScan and Optum (see Figure (ref) in Appendix (ref)), and Optum covers more years. Note that $\beta_{w}$ is stable across subsamples, which can be interpreted as the average treatment coefficient across subsamples.
The unrestricted benchmarks are the estimates of $\beta_{w}$ in (ref), denoted as $\hat\beta^{\bm{\mathrm{unr}}}_{w,\mathrm{bm}}$, and its estimated variance, denoted as $\hat{V}^{\bm{\mathrm{unr}}}_{\beta_w,\mathrm{bm}}$, from the combined data.
\paragraph{Restricted Federated Estimators} Under the restricted model specification (ref), we use restricted federated IPW-MLE to estimate $\beta_{w}$ in (ref) and its variance. Let $\hat\beta^{\bm{\mathrm{r}}.\mathrm{fed}}_{w,\mathrm{ipw{\text -}mle}}$ and $\hat{V}^{\bm{\mathrm{r}}.\mathrm{fed}}_{\beta_w,\mathrm{ipw{\text -}mle}}$ be the estimated coefficient and variance.
\paragraph{Unrestricted Federated Estimators} Under the flexible model specification (ref), we use our unrestricted federated IPW-MLE to estimate $\beta_{w}$ in (ref) and its variance. Let $\hat\beta^{\bm{\mathrm{unr}}.\mathrm{fed}}_{w,\mathrm{ipw{\text -}mle}}$ and $\hat{V}^{\bm{\mathrm{unr}}.\mathrm{fed}}_{\beta_w,\mathrm{ipw{\text -}mle}}$ be the estimated coefficient and variance.
\paragraph{Inverse Variance Weighting (IVW)} Under the restricted model specification (ref), we use IVW to estimate $\beta_{0,w}$ in (ref) and its variance. Let $\hat{\beta}_{w,\mathrm{ivw}}$ and $\hat{V}_{\beta_w,\mathrm{ivw}}$ be the estimated coefficient and variance.\footnote{IVW is appropriate when Conditions (ref), (ref), and (ref) hold. In this case, Hessians and other matrices in the asymptotic variance are asymptotically stable across data sets. Then we can show that our federated estimators in Section (ref) are asymptotically the same as IVW.}
\begin{table}[t!]
\captionsetup{position=top, font=normalsize, labelfont=bf, textfont=normalfont, justification=centering, margin=0mm, aboveskip=1mm, belowskip=0mm, labelsep=colon, singlelinecheck=false}\caption{Comparison Between Restricted/Unrestricted Federated Estimators and IVW with Corresponding Restricted/Unrestricted Benchmarks}
\begin{subtable}[t]{.5\textwidth}
\caption{Restricted Benchmarks $\hat\beta^{\bm{\mathrm{r}}}_{w,\mathrm{bm}}$, $ \hat{V}^{\bm{\mathrm{r}}}_{w,\mathrm{bm}}$}
{
\begin{tabular}{l|r|r|r|r}
\toprule
& \multicolumn{1}{c|}{$\hat\beta^{\bm{\mathrm{r}}}_{w,\mathrm{bm}}$} & \multicolumn{1}{c|}{$\hat{\beta}_{w,\mathrm{ivw}}$} & \multicolumn{1}{c|}{$\hat\beta^{\bm{\mathrm{r}}.\mathrm{fed}}_{w,\mathrm{ipw{\text -}mle}}$} & \multicolumn{1}{c}{$\hat\beta^{\bm{\mathrm{unr}}.\mathrm{fed}}_{w,\mathrm{ipw{\text -}mle}}$} \\
& \textbf{mean} & \textbf{MAE} & \textbf{MAE} & \textbf{MAE} \\
\midrule
ARD & \textsl{-0.6757} & 1.2349 & 0.0538 & 0.0677 \\
PNA & \textsl{-0.3250} & 0.6482 & 0.0541 & 0.0384 \\
\midrule
& \multicolumn{1}{c|}{$\hat{V}^{\bm{\mathrm{r}}}_{w,\mathrm{bm}}$} & \multicolumn{1}{c|}{$\hat{V}_{w,\mathrm{ivw}}$} & \multicolumn{1}{c|}{$\hat{V}^{\bm{\mathrm{r}}.\mathrm{fed}}_{w,\mathrm{ipw{\text -}mle}}$} & \multicolumn{1}{c}{$\hat{V}^{\bm{\mathrm{unr}}.\mathrm{fed}}_{w,\mathrm{ipw{\text -}mle}}$} \\
& \textbf{mean} & \textbf{MAE} & \textbf{MAE} & \textbf{MAE} \\
\midrule
ARD & \textsl{0.1098} & 0.0848 & 0.0395 & 0.0363 \\
PNA & \textsl{ 0.0641} & 0.0376 & 0.0158 & 0.0129 \\
\bottomrule
\end{tabular}
}
\end{subtable}
\begin{subtable}[t]{0.5\textwidth}
\caption{Unrestricted Benchmarks $\hat\beta^{\bm{\mathrm{unr}}}_{w,\mathrm{bm}}$, $\hat{V}^{\bm{\mathrm{unr}}}_{w,\mathrm{bm}}$}
{
\begin{tabular}{l|r|r|r|r}
\toprule
& \multicolumn{1}{c|}{$\hat\beta^{\bm{\mathrm{unr}}}_{w,\mathrm{bm}}$} & \multicolumn{1}{c|}{$\hat{\beta}_{w,\mathrm{ivw}}$} & \multicolumn{1}{c|}{$\hat\beta^{\bm{\mathrm{r}}.\mathrm{fed}}_{w,\mathrm{ipw{\text -}mle}}$} & \multicolumn{1}{c}{$\hat\beta^{\bm{\mathrm{unr}}.\mathrm{fed}}_{w,\mathrm{ipw{\text -}mle}}$} \\
& \textbf{mean} & \textbf{MAE} & \textbf{MAE} & \textbf{MAE} \\
\midrule
ARD & \textsl{-0.6497} & 1.2608 & 0.0622 & 0.0467 \\
PNA & \textsl{-0.3328} & 0.6403 & 0.0617 & 0.0321 \\
\midrule
& \multicolumn{1}{c|}{$\hat{V}^{\bm{\mathrm{unr}}}_{w,\mathrm{bm}}$} & \multicolumn{1}{c|}{$\hat{V}_{w,\mathrm{ivw}}$} & \multicolumn{1}{c|}{$\hat{V}^{\bm{\mathrm{r}}.\mathrm{fed}}_{w,\mathrm{ipw{\text -}mle}}$} & \multicolumn{1}{c}{$\hat{V}^{\bm{\mathrm{unr}}.\mathrm{fed}}_{w,\mathrm{ipw{\text -}mle}}$} \\
& \textbf{mean} & \textbf{MAE} & \textbf{MAE} & \textbf{MAE} \\
\midrule
ARD & \textsl{0.1088} & 0.0837 & 0.0385 & 0.0352 \\
PNA & \textsl{0.0629} & 0.0364 & 0.0146 & 0.0118 \\
\bottomrule
\end{tabular}
}
\end{subtable}
\captionsetup{position=bottom, font=footnotesize, textfont=normalfont, margin=1mm, skip=2mm, justification=justified, singlelinecheck=false}\caption*{Subsamples are simulated from the MarketScan ARD cohort, and from the MarketScan pneumonia (PNA) cohort with $D=2$. For subsamples drawn from ARD cohort, $n_1 = n_2 = 6,000$; for subsamples drawn from PNA cohort, $n_1 = n_2 = 10,000$. We use ATE weighting in IPW-MLE in these tables. The mean absolute error (MAE) is calculated relative to the benchmark mean values (first column of each table) based on 50 iterations of independent draws of subsamples. We report the mean value of benchmarks because the combined data $\mathcal{C}_1 \cup \mathcal{C}_2$ from which benchmarks are estimated vary across iterations. }
\end{table}
\subsubsection{Results}
We compare restricted and unrestricted federated IPW-MLE and IVW with the restricted and unrestricted benchmarks in Table (ref). Additional simulation results with alternative sampling schemes and with federated MLE are presented Tables (ref)-(ref) in Appendix (ref). The error of a federated estimator is defined as its difference from the benchmark.
There are four observations from Table (ref). First and foremost, for both point and variance estimates, our restricted and unrestricted federated IPW-MLE have much lower errors than IVW, when compared to restricted and unrestricted benchmarks. Second, the restricted federated point estimator is closer to the restricted benchmark than the unrestricted benchmark. Analogously, the unrestricted federated point estimator is closer to the unrestricted benchmark. Third, the variance in the unrestricted benchmark and federated variance are larger than the restricted counterparts, implying the efficiency loss when flexible model specifications are used. Fourth, interestingly, the unrestricted federated variance is closer to variances in both restricted and unrestricted benchmarks. This is because federated variance tends to underestimate the true variance in finite samples (even though both are consistent). As the unrestricted federated variance tends to be larger, it partially corrects for the underestimation error.
These observations are robust to alternative sampling schemes and to federated MLE as shown in Tables (ref)-(ref) in Appendix (ref).\footnote{\cmtfinal{
We could use alternative approaches to obtaining federated maximum likelihood estimator of treatment coefficient, such as by using a surrogate likelihood function that communicates gradients only jordan2018communication or that communicates both gradients and Hessians duan2020learning similar to our federated MLE. In the likelihood function, the heterogeneity in data sets can be adjusted through tilting the density ratio duan2022heterogeneity; moreover, a regularization term can be included in high-dimensional settings wang2017efficient,li2021targeting. These methods do not account for the treatment selection bias and are iterative, while federated IPW-MLE does and is noniterative. We expect the results of these methods to be conceptually similar to those of federated MLE. }} As unrestricted federated IPW-MLE is more flexible and generally provides a better variance estimate, we use unrestricted federated IPW-MLE to federate MarketScan and Optum, as shown in Section (ref) below.
\subsection{Federation Across Two Medical Claim Data Sets}
In this section, we seek to federate MarketScan and Optum to study the effect of alpha-blockers. As shown in Figure (ref), the coefficient on alpha blockers is consistently negative on the individual cohorts of ARD patients and of pneumonia patients, implying a reduced risk of adverse outcomes for ARD and pneumonia patients who were exposed to alpha blockers.
\begin{figure}[t!]
\captionsetup{position=top, font=normalsize, labelfont=bf, textfont=normalfont, justification=centering, margin=0mm, aboveskip=1mm, belowskip=0mm, labelsep=colon, singlelinecheck=false}\caption{Federation Across MarketScan and Optum}
\begin{subfigure}{1.\textwidth}
\end{subfigure}
\captionsetup{position=bottom, font=footnotesize, textfont=normalfont, margin=1mm, skip=2mm, justification=justified, singlelinecheck=false}\caption*{These figures show the estimated coefficient of alpha blockers and 95% confidence interval on MarketScan and Optum, and federated coefficient and 95% confidence interval from unrestricted federated IPW-MLE with ATE weighting. {\color{Black} Note that for the pneumonia cohort, the confidence intervals for the federated estimator are wider than those on Optum. This can happen when the asymptotic variance is heterogeneous across data sets and the asymptotic variance on the small data is much larger than that on the large data. In this case, the federated variance obtained by sample size weighting can be larger than the variance on the large data. See Appendix (ref) for a toy example.} See Figure (ref) in Appendix (ref) for ATT weighting; the results are close to those in these figures.
}
\end{figure}
However, coefficients of some confounders, e.g., age, are of different magnitudes or signs in the outcome model across the two databases (though, none with statistical significance).
This raises three potential concerns: model instability, model misspecification, and unobserved confounders across the two databases, which we ameliorate as follows.
First, model instability could be due to the different populations underlying these two databases, as shown in Figure (ref), as well as the heterogeneous response of outcomes to the treatment and confounders. Unrestricted federated IPW-MLE with a flexible functional form for the combined data seems to be preferable in the presence of model instability. Second, model misspecification could exist if the response is indeed the same across two databases, but there exists a coefficient difference in the estimated outcome models. To protect against this possibility, we suggest using IPW-MLE due to its doubly robust properties (as opposed to MLE). Third, we have largely controlled for unobserved confounders in our approach to constructing cohorts, as discussed in Appendix (ref), and sensitivity analyses are conducted in koenecke2020alpha.
Figure (ref) shows the federated point estimates and confidence intervals from unrestricted federated IPW-MLE. As desired, the federated estimates of the effect of alpha blockers lie between the estimates on MarketScan and Optum for both ARD and pneumonia patients, and they approximate the average effect of alpha blockers on all ARD or pneumonia patients across two databases (recall the estimates from IVW may not lie between those on MarketScan and Optum as shown in Figure (ref) and Figure (ref) in Appendix (ref)).
As a robustness check, we report the results from federated MLE in Figure (ref), and estimated treatment effects from federated IPW-MLE and AIPW in Figure (ref) in Appendix (ref).\footnote{\cmtfinal{Similar to Footnote 24, we could use alternative approaches to obtaining the federated estimator of treatment coefficient. The results would be conceptually similar to those of federated MLE in Figure (ref). Due to the treatment selection bias, the estimated treatment coefficient from alternative approaches would not have the interpretation of the average treatment coefficient on either the whole population or the treated population, while the estimated coefficient from IPW-MLE does. } } Both the coefficient in the outcome model and estimated treatment effects of alpha blockers are negative and statistically significant, supporting our finding of an association between the exposure to alpha blockers and a reduced risk of progression to ventilation and death.
\section{Conclusion}
This paper proposes three categories of federated inference methods based on MLE, IPW-MLE, and AIPW, respectively. Our federated point estimators have the same asymptotic distributions as the corresponding estimators from combined, individual-level data. Our federated variance estimators are consistent. To achieve these properties, we show that the implementations of our federated methods should be adjusted based on conditions such as whether propensity and outcome models are stable across heterogeneous data sets. Finally, we apply our federated inference methods to study the effectiveness of alpha blockers on patient outcomes from two separate medical claims databases.
To conclude, we would like to point out three interesting directions for future work. The first is to develop federated semiparametric or nonparametric estimation methods. The second is to develop communication-efficient, theoretically guaranteed federated causal inference methods in settings with high-dimensional nuisance parameters. The third is to develop these methods in settings with many data sets, while each data set may only have a small number of observations.