Abstract
Deletion diagnostics are introduced for the regression analysis of clustered binary outcomes estimated with alternating logistic regressions, an implementation of generalized estimating equations (GEE) that estimates regression coefficients in a marginal mean model and in a model for the intracluster association given by the log odds ratio. The diagnostics are developed within an estimating equations framework that recasts the estimating functions for association parameters based upon conditional residuals into equivalent functions based upon marginal residuals. Extensions of earlier work on GEE diagnostics follow directly, including computational formulae for one-step deletion diagnostics that measure the influence of a cluster of observations on the estimated regression parameters and on the overall marginal mean or association model fit. The diagnostic formulae are evaluated with simulations studies and with an application concerning an assessment of factors associated with health maintenance visits in primary care medical practices. The application and the simulations demonstrate that the proposed cluster-deletion diagnostics for alternating logistic regressions are good approximations of their exact fully iterated counterparts.
Keywords: clustered data, generalized estimating equations, influence, logistic regression, orthogonalized residuals
1. Introduction
Many questions in medical research involving association structure among correlated binary responses are suitably addressed with marginal regression models. Consider, for example, cross-sectional observational medical practice data where patient outcomes are nested within physicians that are nested within practices. An analysis of such data described in Preisser and Qaqish (1996) used generalized estimating equations (GEE) (Liang and Zeger, 1986) to estimate the effects of explanatory variables on the population-averaged probability of whether or not a patient made a health maintenance visit in the prior year. An additional question that may be posed involves modeling the marginal within-practice association structure of the response, and, in particular, characterizing the degree of association within physicians and within practices. To address both questions, an approach that simultaneously fits models to the marginal probability and the within-cluster association is needed.
For correlated binary data, pairwise odds ratios (Lipsitz et. al., 1991) are a natural choice for modeling within-cluster association. When cluster sizes (eg., the number of patients sampled per practice) are small, second-order generalized estimating equations (GEE2) provide estimates of pairwise odds ratios with good efficiency (Zhao and Prentice, 1990; Liang et. al., 1992). However, GEE2 is not computationally feasible when cluster sizes are large as in the medical practice data where they range from 19 to 197. Alternating logistic regressions (ALR), an implementation of GEE for the regression analysis of clustered binary data (Carey et. al., 1993) provides more efficient estimation of association parameters than first-order GEE but less efficiency than GEE2, with the degree of efficiency loss depending upon the underlying multivariate distribution (Qaqish et. al., 2011). In situations with small clusters, estimation by ALR is nearly as efficient as GEE2 (Carey et al., 1993; Lipsitz SR and Fitzmaurice, 1996).
Alternating logistic regressions have been applied in diverse settings including epidemiological investigations and randomized community trials (see Reboussin et al., 2011 and references therein). A practical limitation, however, is that there currently do not exist influence diagnostics for ALR. In the medical practice data example, it is natural to assess whether data from individual practices have a large influence on the pairwise odds ratio estimates of within-physician and within-practice clustering. In addition to summarizing the magnitude of clustering, pairwise odds ratio estimates directly influence design effects and are useful in sample size estimation for planning future studies to be analyzed with ALR (Katz et al., 1993; Reboussin et al., 2011). Identifying influential practices can guide the range of values of pairwise odds ratios to be used in power analyses, such as in the planning of a randomized cluster trial to change medical practice routines with the aim of increasing health maintenance visits. Diagnostics can also identify clusters that are subsequently discovered to be different from others with respect to a population of interest, which may justify their omission in data analysis.
This article proposes formulae and algorithms for estimating the effect of the deletion of a cluster of observations on the regression parameters in marginal models for means and intracluster associations. The ‘one-step’ formulae, which are equivalent to taking the difference after performing an extra iteration of the model estimation procedure following cluster-deletion, can provide dramatic reductions in computation time compared to their fully iterated ‘exact’ counterparts. Section 2 describes the estimating equations procedure and introduces the formulae to estimate the change in parameter estimates upon deletion of a cluster. The diagnostics are developed within an estimating function framework that recasts the ALR estimating functions for association parameters based upon conditional residuals (Carey et al., 1993) into equivalent functions based upon marginal residuals (Qaqish et al., 2011). Extensions of first order GEE diagnostics (Preisser and Qaqish, 1996) follow directly, including computational formulae for one-step deletion diagnostics that measure the influence of a cluster of observations on the estimated regression parameters and on the overall marginal mean or association model fit. Section 3 presents two simulation studies to evaluate the performance of the diagnostics. In section 4, the formulae are applied to the medical practice data. Section 5 contains concluding remarks.
2. Statistical methods
2.1. Alternating logistics regressions based upon marginal residuals
The development of deletion diagnostics in this paper is based upon a new representation of the ALR method through marginal residuals proposed by Qaqish et al. (2011). Let Yi be the response vector for the ith cluster where Yi = (Yi1, …, Yini)′ is the vector of responses from the ni observations in the ith cluster, i = 1, …, K. Let μi be the vector of population marginal means, E[Yi] = μi. A generalized linear model is where g(·) is the link function and Xij = (x0ij, x1ij, …, xp−1,ij)′ is the p × 1 vector of covariates for the j–th observation in the i–th cluster. Estimation by the ALR procedure is performed by iteratively solving two estimation equations, one for the marginal mean model parameters β, and the other for the marginal bivariate association parameters α. The estimating equations for β are:
| (1) |
where Di = ∂μi/∂β, , σijj = μij(1 − μij),and Ri(α) is a working correlation matrix.
The second set of estimating equations correspond to α. Let mi = ni(ni − 1)/2 and j and k index observations within a cluster. Let Wijk = YijYik and define μijk = E[Wijk] = pr(Yij = Yik = 1). The dependence or association between Yij and Yik can be represented by the pairwise odds ratio (Lipsitz et. al., 1991; Liang et. al., 1992; Carey et. al., 1993)
A log pairwise odds ratio model is specified for the association,
where Zijk = (z0ijk, z1ijk, …, zq−1,ijk)′ is a covariate q-vector associated with the pair (Yij, Yik), and α is a vector of association parameters. The method of Qaqish et al. (2011) uses an mi-vector Ti with elements Tijk obtained as the residuals from the linear regression of Wijk on Yij and Yik. Specifically,
where
, and σijk = cov(Yij, Yik) = μijk − μijμik. The reformulated ALR estimating equations based upon marginal residuals are defined by
| (2) |
where Pi = diag{υijk} and
Expression (2) is equivalent to the ALR estimating equations based upon conditional residuals given by (7) of Carey et. al. (1993). Qaqish et al. (2011) allow Pi to be non-diagonal in a procedure they call orthogonalized residuals, thereby generalizing the ALR procedure and increasing efficiency. They show, following standard arguments (Liang and Zeger, 1986; Prentice, 1988), the asymptotic distribution of K1/2 (θ̂ − θ), where θ = (β, α)′, is multivariate Gaussian with mean zero. A property of (2) is that, unlike the case based upon conditional residuals, the empirical variance estimator of the asymptotic covariance matrix corresponding to the association model is invariant to permutations of the i-th subject’s response vector Yi (current versions of ALR software, e.g., SAS PROC GENMOD v. 9.2, average the variance estimates based on a given ordering and its reversal). Kuk (2004) proposed a modified symmetrized version of the ALR equations based upon conditional residuals that have permutation invariance for the standard errors. By, Qaqish, and Preisser (2008) provide an R package for ALR and orthogonalized residuals, which includes the regression diagnostics proposed in the next section. A SAS macro is available at http://www.bios.unc.edu/~qaqish/software.htm.
2.2. Cluster–deletion diagnostics
The regression diagnostics proposed in this section are computationally fast formulae because all matrix components of the diagnostics are available at convergence of the iteratively reweighted least squares algorithm. They are one-step deletion diagnostics because the computational formulae are equivalent to deleting the cluster and computing one more iteration of (1) and (2).
Let β̂[i] denote the estimate with the i-cluster deleted. The one-step GEE deletion diagnostic to approximate β̂ − β̂[i] is
| (3) |
where , V = blockdiag(V1, …, VK), Id represents the identity matrix of dimension d and
| (4) |
Note that is the expression used to compute the model-based variance estimator for β̂. Preisser and Qaqish (1996) gave a proof for a formula that is equivalent to (3). Others (e.g., Ziegler and Arminger, 1996, and Vens and Ziegler, 2012) have also discussed cluster-deletion for assessing the influence of clusters on the GEE estimator β̂. Hammill and Preisser (2006) proposed (3) in light of its connections, on a matrix component basis, to (1) and they showed its algebraic equivalency to expression (5) of Preisser and Qaqish (1996). Expression (4) is the leverage matrix (corresponding to β) for cluster i (Mancl and DeRouen, 2001). The leverage of a cluster may be defined as the trace of H1i, that is the sum of the diagonal elements which may individually be viewed as leverages of observations. Preisser and Qaqish (1996) gave a slightly different formula for the cluster leverage matrix.
Using arguments similar to their derivation of DBETACi, the one-step formula to approximate α̂ − α̂[i] is
| (5) |
where , P = blockdiag(P1, …, PK), and
| (6) |
is the cluster leverage matrix corresponding to α. Following Preisser and Qaqish (1996), standardized versions of the diagnostics denoted DBETACSi and DALPHACSi may be obtained by dividing the components of DBETACi and DALPHACi by their respective standard errors. All computations are carried out be inserting estimates β̂ and α̂ into the formulae above.
It is worth mention that computation of (5) is non-trivial for large cluster sizes. For the medical practice data analyzed in section 4, max(ni) = 197, and, thus, max(mi) = 19, 306. Fortunately, due to its special structure, the matrix in (5) of this dimension involving H2i can be easily inverted using an algorithm based upon the Sherman-Morrison-Woodbury formula (Sherman and Morrison, 1950). Details of the computational approach are provided by Preisser, Qaqish and Perin (2008).
The assessment of the influence of a cluster of observations on the overall model fit may be carried out with diagnostic measures that are extensions of Cook’s distance for linear regression (Cook and Weisberg, 1982). Cluster level Cook’s Distance for β is defined as for GEE1 (e.g., Hammill and Preisser, 2006):
| (7) |
Analogously, Cook’s Distance describing the influence of the i-th cluster on the overall fit of the model for α is defined as
| (8) |
Following Ziegler et. al. (1998), we use empirical variance estimators in equations (7) and (8). Our measures are similar to the measures implemented by Ziegler et. al. (1998) in the context of modeling within-cluster correlations using the GEE approach of Prentice (1988). In that context, Preisser and Perin (2007) provided computationally fast formula for the influence of the i-th cluster on the overall fit of the correlation model. A similar computationally fast formula for the influence of the i-th cluster on the overall fit of the within-cluster log odds ratio model, estimated with alternating logistic regressions, may be obtained by substituting DALPHACi for α̂ − α̂[i].
Interpretations for cluster diagnostics are not straightforward when cluster sizes vary. Generally, one might expect that larger clusters tend to have larger influence, so plots of cluster diagnostics against cluster size are recommended to assess their influence.
3. Simulation studies
3.1. The performance of the one-step approximation
The first of two simulation studies was conducted to determine the extent to which the clusters with the most extreme exact cluster Cook’s distance are identified by the one-step cluster Cook’s distance. As in a study on the performance of Cook’s Distance in the generalized linear mixed model (Xiang et al. 2002), the simulation study assessed the diagnostics ability to identify the clusters with the largest and second largest exact Cook’s distances. We have two a priori expectations. First, we expect the one-step approximation, to a large extent, will identify the same clusters as those identified by the exact cluster Cook’s distance. Second, we expect the probability of identifying the same clusters to increase as the value of the exact cluster Cook’s distance increases. The simulation experiment was based upon 500 data sets generated from the following model using the algorithm of Qaqish (2003) described in the appendix:
| (9) |
| (10) |
where
and x1ij, x2ij, z1ijk, and z2ijk are continuous covariates: x1ij = [2(i − 1)/(K − 1)] − 1 is a cluster level covariate taking equally spaced values in the interval [−1,1], i = 1, …, K; x2ij = [2(j − 1)/(n − 1)] − 1 is an observation level covariate taking equally spaced values in the interval [−1,1] where n denotes the number of observations in each cluster, n = ni for all i; j = 1, …, n; z1ijk = x1ij; and z2ijk = |x2ij − x2ik|. These parameter values were chosen so as to induce response vectors with positive within-cluster association that decreased over time, akin to autoregressive correlation in longitudinal data settings. For each replication, we simultaneously fit models (9) and (10) with the ALR estimating procedure given by equations (1) and (2). Within a replication, for each cluster, we computed both exact cluster Cook’s distance and one-step approximated cluster Cook’s distance for both β and α. Note that the computation of exact cluster Cook’s distance for all clusters required an additional K applications of ALR per replication to obtain fully iterated parameter estimates after deletion of a single cluster. Due to the computational intensity of the experiment, only the combination of (K = 100, n = 20) was considered, requiring a total of 500(K+1) =50,500 applications of ALR (K runs for single cluster-deletion datasets to compute exact cluster Cook’s distances and a single run on the full data of K clusters to compute the one-step cluster Cook’s distances).
The results were as follows: 88% of the time, the one-step formula (8) correctly identified the most influential cluster on α; 82% of the time, diagnostic (8) correctly identified the top two most influential clusters on β (possibly in the reversed order); 60% of the time, the one-step formula (7) correctly identified the most influential cluster on β; 31% of the time, the diagnostic (7) correctly identified the top two most influential clusters on β. While the latter result was not very good, we note that DCLSβ,i was able to identify at least one of the two most influential clusters 88% of the time.
To determine if the probability of correctly identifying the most influential clusters with DCLSβ,i increased as the influence of those clusters increased, as measured by the magnitude of the exact fully-iterated Cook’s distance, two logistic regressions were carried out. First, the binary indicator for whether the cluster with largest exact cluster Cook’s distance matched with the cluster with the largest DCLSβ,i was regressed on the exact cluster Cook’s distance. A significant monotonically increasing relationship (figure 1a) shows that for a value of Cook’s distance at the third quantile (with respect to the 500 simulated largest exact cluster Cook’s distance values), the probability of detecting the most influential cluster is approximately 75%. Next, the binary indicator for whether the two clusters with largest exact cluster Cook’s distance were the same as the two clusters with largest DCLSβ,i was regressed on the 2nd largest exact cluster Cook’s distance. A significant monotonically increasing relationship (figure 1b) shows that for values of the second largest Cook’s distance at the 75th, 90th, and 95th percentiles, respectively, the estimated probabilities of detecting the two most influential clusters are approximately 35%, 42%, and 47%, respectively. A more extensive report of the simulations is available as a technical report (Preisser, By, and Qaqish, 2008).
Figure 1.
Detecting the most influential clusters with respect to β. 1(a)–probability of detecting the cluster with the largest exact Cook’s distance. 1(b)–probability of detecting the two clusters with largest exact Cook’s distance. Q1, Q2, and Q3 represent the appropriate quantiles of exact cluster Cook’s distance from the 500 simulations with K=100 and n=20. P90 and P95 denote the 90-th and 95-th percentiles respectively.
3.2. Responsiveness of diagnostics to contamination models
The aim of the second simulation study is to consider the distribution of extreme cluster Cook’s distance for β and α under binary response contaminated data models. The simulation study investigates whether the Cook’s distance measures are responsive to contamination of the response data? Second, if it is responsive to contamination, does it behave in some predictable way relative to the Cook’s distance for the uncontaminated data? We expect to see a shift in the distribution Cook’s distance under contamination relative to the uncontaminated data. Furthermore, we expect this shift to grow (to a point) as the level of contamination increases.
Data are generated from the models (9) and (10) with constant cluster size n using the same values of β and α from the previous section. Contamination is considered under two scenarios: (1) random contamination (RC) and (2) cluster concentrated (CC) contamination. Under random contamination, each of the Kn observations is contaminated with probability pc. Letting Yij,c be the contaminated observation and Yij be the original observation, the contamination is done as follows:
Under cluster contamination, each cluster is first chosen with probability 2pc. Once the cluster is chosen, each of the n observations within the chosen cluster is contaminated with probability 0.50. The simulation experiment was conducted to investigate 63 scenarios: K = {50, 100, 200}, n = {5, 20, 50}, pc = {0, 0.02, 0.05, 0.10} and cc = {RC,CC} (when pc > 0).
To address whether the one-step cluster Cook’s distance diagnostics for β and α are sensitive to contamination, the empirical distributions of their largest order statistics under models of contamination were examined relative to empirical distributions of the largest Cook’s statistic when their was no contamination. This was accomplished visually with QQ plots for each combination of K and n. Figure 2 compares the QQ plots of the largest order statistic for cluster Cook’s distance for α under contaminated data relative to uncontaminated. For cluster size 5 (lower panels of Figure 2), there is not any observable difference between the empirical distribution of the cluster Cook’s distance under contamination relative to no contamination. However, for cluster size n = 50 (as well as for n = 20, not shown), the spacing (or clear separation) in the loess fits, and the fact that the curves generally lie above the 45 degree line, indicates that the distibution of Cook’s distance under contamination is shifted to the right, and that their values increase monotonically with the level of contamination. Plots for K = 200 (not shown) are similar to plots for K = 100 for a given value of n. Thus, at least for α, cluster Cook’s distance under random contamination behaves in the manner that is expected by shifting to the right as the level of contamination increases. The second largest, third largest, and fourth largest cluster Cook’s distance for α also exhibit this behavior (plots not shown).
Figure 2.
QQ plot of cluster Cook’s distance for α. Vertical axis denotes cluster Coook’s distance under random contamination. C2, C5 and C10 denotes 2, 5, and 10 percent contamination respectively. The horizontal axis denotes cluster Cook’s distance under no contamination.
This behavior is not consistent in general. In fact, for every other situation, the QQ plots either show that the distribution of the contaminated Cook’s distance is no different than the uncontaminated or that if a shift is present, it is shifting to the left as the contamination increases. For example, for β under random contamination and small cluster sizes (n = 5), the distribution has a tendency to shift further and further to the left as the level of contamination increases, opposite as was expected (plots not shown). For the other cluster sizes (n = 20 and n = 50) as they pertain to β under random contamination, there is no apparent difference between contaminated and uncontaminated distributions. A report of the entire simulation experiment, including exhaustive displays of QQ plots for both random and cluster-concentrated contamination cases, is available (By, Preisser and Qaqish, 2008).
4. Application of Diagnostics to Medical Practice Data
The proposed cluster deletion diagnostics are illustrated with medical practice data. In 1990–1991, chart review data were collected from a random sample of 3889 medical charts in 57 medical practices (clusters). The cluster sizes (number of patients per practice) ranged from 19 to 197 with a mean of 68. A logistic regression model was specified for the probability that the j-th patient in the i-th practice made at least one maintenance visit during the years 1990 and 1991. Preisser and Qaqish (1996) introduced and applied to the medical practice data computationally efficient formulae for cluster deletion diagnostics to identify practices with the largest influences on regression coefficients in the model for the marginal mean. ALR may be used to fit the same logistic regression model for the marginal mean while specifying an additional model for the within-practice association. The pairwise odds ratio model has the form of (10) where z1ijk = 1 if patients j and k in practice i have the same physician (and z1ijk = 0, otherwise); and z2ijk = (ni − 68)/50. Note α0 is the log pairwise odds ratio of health maintenence visit for two patients from the same medical practice who saw different doctors for a practice with cluster size ni = 68; α1 is the change in the log pairwise odds ratio between two patients who saw the same doctor, relative to the association between two patients who saw different doctors; and α2 is the change in the within-practice log pairwise odds ratio for two patients comparing two practices that differ in cluster size by 50 patients.
The first column of results in Table 1 shows the ALR parameter estimates applied to the full data set where all three association model covariates are statistically significant at the 0.05 level. Recall that the standard errors in Table 1, based upon the reformulated ALR of Qaqish et al. (2011) given in equation (2), are invariant to the ordering of a subjects’ responses. For a practice of mean cluster size, the estimated between-physician within-practice odds ratio is 1.71, and the within-physician odds ratio is 2.29. These associations decrease with increasing cluster size. It is natural to inquire whether certain practices have an undue influence on these estimates. The remaining columns of Table 1 show the fully iterated results obtained upon deleting selected clusters, suggesting that some clusters have a moderate influence on estimates of within-practice and within-physician clustering.
Table 1.
Model parameter estimates (est.) with empirical standard errors (se)* for the logistic model of the marginal probability a patient made a health maintenance visit during the years 1990 and 1991 (β), and for the log odds ratio model of within-practice association (α). Data are from the North Carolina Early Cancer Detection Program at the Lineberger Comprehensive Cancer Center. Results are presented for the full data, and based upon selected cluster deletions.
| Full Data | Without #15 | Without #19 | Without #34 | |||||
|---|---|---|---|---|---|---|---|---|
| Parameter | est. | (se) | est. | (se) | est. | (se) | est. | (se) |
| β‡ | ||||||||
| INTERCEPT | −0.106 | (0.173) | −0.070 | (0.182) | −0.178 | (0.170) | −0.155 | (0.167) |
| NBRMDS | −0.034 | (0.039) | −0.013 | (0.043) | −0.018 | (0.053) | −0.030 | (0.039) |
| M3 | 0.249 | (0.170) | 0.340 | (0.161) | 0.244 | (0.171) | 0.228 | (0.173) |
| SPECLTY | −0.078 | (0.249) | −0.178 | (0.263) | 0.056 | (0.250) | −0.075 | (0.239) |
| MDAGE | −0.264 | (0.064) | −0.297 | (0.059) | −0.268 | (0.066) | −0.227 | (0.065) |
| MDSEX | 0.424 | (0.262) | 0.511 | (0.266) | 0.476 | (0.283) | 0.472 | (0.255) |
| MDFLU | −0.072 | (0.099) | −0.123 | (0.087) | −0.092 | (0.104) | −0.073 | (0.102) |
| PATAGE | −0.097 | (0.034) | −0.103 | (0.035) | −0.101 | (0.035) | −0.103 | (0.035) |
| BLACKPAT | −0.395 | (0.123) | −0.413 | (0.122) | −0.401 | (0.124) | −0.426 | (0.124) |
| MALEPAT | −0.411 | (0.065) | −0.422 | (0.067) | −0.431 | (0.066) | −0.421 | (0.068) |
| NOINSUR | −0.416 | (0.119) | −0.422 | (0.122) | −0.439 | (0.123) | −0.393 | (0.120) |
| ᇇ | ||||||||
| INTERCEPT | 0.538 | (0.173) | 0.613 | (0.172) | 0.524 | (0.156) | 0.410 | (0.147) |
| SAMEMD | 0.290 | (0.112) | 0.207 | (0.098) | 0.256 | (0.107) | 0.347 | (0.113) |
| CLSIZE | −0.179 | (0.062) | −0.178 | (0.069) | −0.147 | (0.072) | −0.139 | (0.052) |
standard errors are from the reformulated ALR based upon marginal residuals.
NBRMDS = number of doctors in practice minus one; M3 = (The number of patients over 50 years old seen per day minus 15)/10. SPECLTY = doctor’s specialty: 0 if family or general practice, 1 if internal medicine; MDAGE = (doctor’s age in years minus 45)/10; MDSEX=1 if female, 0 if male; MDFLU = Doctor’s flu vaccination: 0 in the last two years, 1 if 3 to 5 years ago, 2 if never; PATAGE = (patient’s age in years - 65)/10; BLACKPAT = 1 if black, and 0 if white; MALEPAT = 1 if patient is male, and 0 if female; and NOINSUR = 1 if patient is not insured, and 0 if insured.
SAMEMD = 1 if two patients have the same doctor, and 0 otherwise; CLSIZE is the size of the cluster centered at 68 scaled by 50.
Figure 3 presents cluster-deletion diagnostic statistics for medical practices for the ALR procedure given by (1) and (2). Plots (a), (b) and (c) depict the difference, given by the vertical distance between a point and the 45 degree line, between the fully-iterated standardized parameter estimate after removal of a medical practice (’exact’) and the approximate change given by DALPHACSi, for α0, α1, and α2, respectively. These plots show that the proposed one-step diagnostics provide good approximations of the exact change, as nearly all the points fall close to the 45 degree line. The most infuential clusters are identified in the figure, practice # 34 for α̂0 and α̂2 (Figures 3(a) and 3(c), respectively), and practice # 15 for α̂1 (Figure 3(b)). Figure 3(d) shows the three clusters with the most influence on the overall fit of the within-practice association model; practice # 34 has the second greatest influence by this measure. Table 2 gives the actual values of the standardized cluster-deletion diagnostic statistics for selected practices. It is interesting that Preisser and Qaqish (1996) using DCLSβ,i (see their expression (9)) identified cluster # 5 as having the greatest influence among clusters on the overall fit of the marginal mean model. This was also true for the ALR analysis of the influence of clusters on β (not shown). However, as shown in Table 2, cluster # 5 was not particularly notable for its overall influence on the fit of model (10) despite its having the second largest influence on α1. A file provided as supplementary material provides the SAS code used to obtain the “full data” results in Table 1 and one-step cluster-deletion diagnostics reported in Table 2 and Figure 3.
Figure 3.
Cluster deletion diagnostics for within-cluster association model. DALPHA’s and the exact deletion diagnostic for α in plots 3(a), 3(b), and 3(c) are standardized by the appropriate empirical standard errors.
Table 2.
One-step approximated cluster-deletion diagnostic values for selected clusters. The values are based upon the “full data” analysis in Table 1 using data from the North Carolina Early Cancer Detection Program. Ranks are shown in parentheses.
| DALPHACS* | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Cluster # | ni | DCLSᇠ| INTERCEPT | SAMEMD | CLSIZE | |||||
| 5 | 191 | (2) | 0.059 | (7) | −0.121 | (13) | 0.367 | (2) | −0.123 | (17) |
| 15 | 158 | (3) | 0.064 | (5) | −0.197 | (8) | 0.417 | (1) | −0.050 | (43) |
| 19 | 197 | (1) | 0.126 | (3) | −0.039 | (32) | 0.284 | (6) | −0.452 | (2) |
| 34 | 100 | (12) | 0.143 | (2) | 0.629 | (1) | −0.359 | (3) | −0.521 | (1) |
| 50 | 120 | (9) | 0.061 | (6) | 0.356 | (3) | −0.150 | (12) | −0.080 | (27) |
| 52 | 140 | (6) | 0.146 | (1) | 0.358 | (2) | −0.333 | (4) | 0.235 | (6) |
DALPHACS consists of the components of DALPHAC divided by their corresponding empirical standard errors based on the full data analysis results as reported in Table 1. Rankings are based on the absolute value of DALPHAC.
Cluster level Cook’s distance for α.
5. Discussion
Application to the medical practice data, as well as results from the first simulation study (section 3.1), demonstrate that the proposed cluster-deletion diagnostics for alternating logistic regressions are good approximations of their exact counterparts. On the other hand, results from the second simulation failed to provide convincing evidence that the extreme Cook’s Distance diagnostics respond in a consistent manner to contaminated binary response models. Besides their relevance to alternating logistic regressions, these are the first published results of their kind concerning the behavior in practical situations of DCLSβ,i (Preisser and Qaqish, 1996) for generalized estimating equations (Liang and Zeger, 1986).
The proposed diagnostic formulae are computationally fast. Computation of the cluster diagnostics for the medical practice data of section 4 took 13 minutes on dual 700 MHz SPARC processors, compared to over 12 hours for computation of their fully iterated ’exact’ counterparts. Qualitatively similar computational savings using formulae similar to (5)–(8), in the context of modelling intracluster correlations using the estimating equations approach of Prentice (1988), have been reported by Preisser and Perin (2007), for four data sets from medicine and public health. One-step formulae that have structure similar to those presented here could be developed for other estimating equation procedures for correlated binary data (Kuk and Nott, 2000; le Cessie and van Houwelingen, 1994; Lipsitz and Fitzmaurice, 1996). Furthermore, it should be possible to extend the deletion diagnostics of Preisser and Qaqish (1996) to GEE2.
In general, the question of an appropriate cut-off value for Cook’s distance is a difficult one, even in the case of multiple linear regression (Muller and Mok 1997; Diaz-Garcia and Gonzalez-Farias, 2004). Vens and Ziegler (2012) suggest that for GEE a cluster could be called influential (with respect to β) if DCLSβ,i(p) exceeds some threshold, e.g.,. They apply this criterion to longitudinal data from a clinical trial where every cluster (patient) has the same number of visits. In such cases of equal cluster sizes, it seems intuitively reasonable to apply a common cut-off value. However, in the medical practice data where cluster sizes range from 19 to 197, we would expect that larger clusters tend to have more influence, as Figure 3(d) shows. Therefore our practice (e.g., Preisser and Qaqish, 1996) has been to visually examine the graph of Cook’s D versus cluster size to judge if and which clusters appear to deviate from the overall pattern.
Although cluster-deletion diagnostics seem to be the most useful, diagnostic formulae for other kinds of subset deletion could be developed. Preisser and Qaqish (1996) proposed a one-step approximation to β̂ − β̂[m] for GEE where m denotes an arbitrary subset of observations to be deleted. A similar formula for α̂ − α̂[m] could be easily developed with derivations similar to those found in their appendix. Besides cluster-deletion diagnostics, we have developed and implemented in SAS/IML software observation-deletion diagnostics for ALR that approximate the change in regression coefficients when a single observation (eg., patient) is deleted. The formulae, not presented here, are similar in form to observation-deletion diagnostics of Preisser and Perin (2007). When applied to the medical practice data, however, they reveal that no single patient was found to have large influence (results not shown).
A referee has cited a discussion in the last paragraph of Kuk (2004) asking whether invariance of the sandwich estimator of the variance of the within-cluster association parameter estimates (α̂) to the ordering of observations within a cluster is an important feature for longitudinal data. We agree with Kuk (2004) that “unlike the case of clustered or multivariate data, invariance to permutations is not a natural requirement for estimators based on longitudinal data, which are not indexed arbitrarily, but according to time.” Nonetheless, the invariant variance estimators for the ALR estimator based on (2), and specifically described in Qaqish et. al. (2011), will generally give different values in practice than the variance estimators of Carey et al. (1993) or Kuk (2004), both which are based on conditional residuals. As a practical matter for software developer and user, a general method applicable to both clustered and longitudinal data will increase the appeal of ALR, so the complete permutation-invariance results of Kuk (2004) provide an important step. The recently introduced marginal residuals formulation of ALR (Qaqish et al., 2011) has potentially even greater appeal because its development based on classical estimating function theory (e.g., Godambe, 1960), in addition to enabling regression diagnostics to be developed in this article in a straightforward way, has led to the development of the orthogonalized residuals method with a non-diagonal Pi in equation (2) providing for possible efficiency gains.
Supplementary Material
Acknowledgements
This research was supported by grant CA101901 from the U.S. National Institutes of Health.
APPENDIX
In this article, correlated binary data with marginal mean and within-cluster association structures described by equations (9) and (10), respectively, were randomly generated using an algorithm based on the conditional linear family (CLF) of multivariate binary distributions (Qaqish, 2003). Suppressing subscript “i” in order to simplify the description of data generation for a single cluster, this algorithm simulates Y, a n-vector of Bernoulli variates with mean vector μ and covariance matrix, where R contains the marginal correlations corr(Yj, Yk) = ρjk. A preliminary step involves determining the elements of R from the marginal means μ and pairwise odds ratios {ψjk}. Specifically, we map (β,α) into (μ, {ψjk}), thence into (μ, {ρjk}), and finally into (μ,V). The key formula (Dale, 1986; Liang, Zeger, and Qaqish, 1992) to determine ρjk(μj, μk, ψjk) is:
if ψjk ≠ 1; otherwise E(YjYk) = Pr(Yj = 1, Yk = 1) = μjμk if ψjk = 1. Then, pairwise correlations are given by .
Next, we describe the procedure for simulating Y from a multivariate binary distribution belonging to the CLF with (μ,V). For j = 2, …, n, define Zj = (Y1, …, Yj−1)⊤, θj = E(Zj), Gj = cov(Zj), and sj = cov(Zj, Yj). Note that Gj and sj are determined from V. For a given (μ, V), a (j − 1)-vector bj is defined as (j = 2, …, n). The CLF is defined by
The simulation algorithm proceeds as follows. First, simulate Y1 as Bernoulli with mean μ1, then for j = 2, …, n, simulate Yj as Bernoulli with conditional mean given above. It then follows that E(Y) = μ and for 1 < j ≤ n, . The vector Y thus obtained has the required mean, μ, and covariance, V. There are some restrictions on allowable μ and V as discussed by Qaqish (2003). Note that the full joint distribution of Y, whose explicit specification is not required, can be computed as products of the conditional means. For any valid (μ, V) that is reproducible by the CLF, there is a corresponding unique value of the 2n × 1 vector of joint probabilities. SAS programs to implement the CLF procedures are provided at http://www.bios.unc.edu/distrib/gee/clf/. There is also an R package called binarySIMCLF (By and Qaqish, 2009). The file provided as supplementary material provides an example of the SAS programs applied to generate correlated binary outcomes according to the CLF for models in equations (9) and (10).
Footnotes
The authors have declared no conflict of interest.
REFERENCES
- 1.By K, Qaqish BF. binarySIMCLF: A package for generating correlated binary data. 2009 URL http://cran.r-project.org. R package version 1.5. [Google Scholar]
- 2.By K, Preisser J, Qaqish B. A simulation experiment to investigate the distributional behavior of extreme Cook’s Distance for GEE to models with contaminated binary responses. The University of North Carolina at Chapel Hill Department of Biostatistics Technical Report Series. 2008 Working Paper 9. http://biostats.bepress.com/uncbiostat/papers/art9.
- 3.By K, Qaqish B, Preisser J. orth: Multivariate logistic regression using orthogonalized residuals. 2008 URL http://cran.r-project.org. R package version 1.5. [Google Scholar]
- 4.Carey V, Zeger SL, Diggle P. Modeling multivariate binary data with alternating logistic regressions. Biometrika. 1993;80:517–526. [Google Scholar]
- 5.Diaz-Garcia JA, Gonzalez-Farias G. A note on Cook’s distance. Journal of Statistical Planning and Inference. 2004;120:119–136. [Google Scholar]
- 6.Godambe VP. An optimum property of regular maximum likelihood estimation. Annals of Mathematical Statistics. 1960;31:1208–1212. [Google Scholar]
- 7.Hammill BG, Preisser JS. A SAS/IML Program for GEE and Regression Diagnostics. Computational Statistics and Data Analysis. 2006;51:1197–1212. [Google Scholar]
- 8.Kuk AYC. Permutation invariance of alternating logistic regressions for multivariate binary data. Biometrika. 2004;91:758–761. [Google Scholar]
- 9.Kuk AYC, Nott DJ. A pairwise likelihood approach to analyzing correlated binary data. Statistics and Probability Letters. 2000;47:329–335. [Google Scholar]
- 10.le Cessie S, van Houwelingen JC. Logistic regression for correlated binary data. Applied Statistics. 1994;43:95–108. [Google Scholar]
- 11.Liang K-Y, Zeger SL. Longitudinal data analysis using generalized linear models. Biometrika. 1986;73:13–22. [Google Scholar]
- 12.Liang K-Y, Zeger SL, Qaqish BF. Multivariate regression analysis for categorical data. Journal of the Royal Statistical Society B. 1992;54:3–40. [Google Scholar]
- 13.Lipsitz SR, Fitzmaurice GM. Estimating equations for measures of association between repeated binary responses. Biometrics. 1996;52:903–912. [PubMed] [Google Scholar]
- 14.Lipsitz SR, Laird NM, Harrington DP. Generalized estimating equations for correlated binary data: using the odds ratio as a measure of association. Biometrika. 1991;78:153–160. [Google Scholar]
- 15.Mancl LA, DeRouen TA. A covariance estimator for GEE with improved small-sample properties. Biometrics. 2001;57:126–134. doi: 10.1111/j.0006-341x.2001.00126.x. [DOI] [PubMed] [Google Scholar]
- 16.Muller KE, Mok MC. The distribution of Cook’s D statistic. Communications in Statistics-Theory and Methods. 1997;26:525–546. doi: 10.1080/03610927708831932. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Preisser JS, Qaqish BF. Deletion diagnostics for generalized estimating equations. Biometrika. 1996;83:551–562. [Google Scholar]
- 18.Preisser J, By K, Qaqish B. Performance of one-step approximation relative to exact cluster Cook’s Distance for GEE. The University of North Carolina at Chapel Hill Department of Biostatistics Technical Report Series. 2008 Working Paper 8. http://biostats.bepress.com/uncbiostat/papers/art8.
- 19.Preisser JS, Perin J. Deletion diagnostics for marginal mean and correlation model parameters in estimating equations. Statistics and Computing. 2007;17:381–393. [Google Scholar]
- 20.Preisser JS, Qaqish BF, Perin J. A note on deletion diagnostics for estimating equations. Biometrika. 2008;95:509–513. [Google Scholar]
- 21.Prentice RL. Correlated binary regression with covariates specific to each binary observation. Biometrics. 1988;44:1033–1048. [PubMed] [Google Scholar]
- 22.Qaqish BF. A family of multivariate binary distributions for simulating correlated binary variables with specified marginal means and correlations. Biometrka. 2003;90:455–463. [Google Scholar]
- 23.Qaqish BF, Zink RC, Preisser JS. Orthogonalized residuals for estimation of marginally specified association parameters in multivariate binary data. Scandinavian Journal of Statistics. 2011 doi: 10.1111/j.1467-9469.2012.00802.x. (in press). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Reboussin BA, Preisser JS, Song E-Y, Wolfson M. Sample size estimation for alternating logistic regressions analysis of multilevel randomized community trials of under-age drinking. Journal of the Royal Statistical Society: Series A (Statistics in Society) 2011 doi: 10.1111/j.1467-985X.2011.01003.x. (published online 21 Nov 2011) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Sherman J, Morrison WJ. Adjustment of an inverse matrix corresponding to a change in one element of a given matrix. Annals of Mathematical Statistics. 1950;21:124–127. [Google Scholar]
- 26.Vens M, Ziegler A. Generalized estimating equations and regression diagnostics for longitudinal controlled clinical trials: A case study. Computational Statistics and Data Analysis. 2012;56:1232–1242. [Google Scholar]
- 27.Xiang LM, Tse SK, Lee AH. Influence diagnostics for generalized linear mixed models: application to clustered data. Computational Statistics and Data Analysis. 2002;40:759–774. [Google Scholar]
- 28.Zhao LP, Prentice RL. Correlated binary regression using a quadratic exponential model. Biometrika. 1990;77:642–648. [Google Scholar]
- 29.Ziegler A, Arminger G. Parameter estimation and regression diagnostics using generalized estimating equations. In: Faulbaum F, Bandilla W, editors. StatSoft 95 - Advances in Statistical Software. Vol. 5. Stuttgart: Lucius & Lucius; 1996. pp. 229–237. [Google Scholar]
- 30.Ziegler A, Blettner M, Kastner C, Chang-Claude J. Identifying influential families using regression diagnostics for generalized estimating equations. Genetic Epidemiology. 1998;15:341–353. doi: 10.1002/(SICI)1098-2272(1998)15:4<341::AID-GEPI2>3.0.CO;2-5. [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.



