Skip to main content
Oxford University Press logoLink to Oxford University Press
. 2026 Jul 1;82(3):ujag106. doi: 10.1093/biomtc/ujag106

Fast penalized generalized estimating equations for large longitudinal functional datasets

Gabriel Loewinger 1,✉, Alexander W Levis 2, Erjia Cui 3, Francisco Pereira 4
PMCID: PMC13320155  NIHMSID: NIHMS2178495  PMID: 42381606

ABSTRACT

Longitudinal binary or count functional data are common in neuroscience, but are often too large to analyze with existing functional regression methods. We propose one-step penalized generalized estimating equations that support generalized functional outcomes (e.g., count, binary, proportion, continuous-valued) and is fast even when datasets have a large number of clusters and large cluster sizes. The method applies to functional and scalar covariates and the one-step estimation framework enables efficient smoothing parameter selection and joint confidence interval construction. Importantly, this semi-parametric approach yields coefficient confidence intervals that are provably valid asymptotically even under working correlation misspecification. By developing a general theory for adaptive one-step M-estimation, we prove that the coefficient estimates are asymptotically normal and as efficient as the fully-iterated estimator; we verify these theoretical properties in simulations. We illustrate the benefits of our approach for analyzing large-scale neural recordings by applying it to a recent calcium imaging dataset published in Nature. We show that our method reveals important timing effects obscured in non-functional analyses. In doing so, we also demonstrate scaling to common neuroscience dataset sizes: the one-step estimator fits to a dataset with 150,000 (binary) functional outcomes, each observed at 120 functional domain points, in only Inline graphic minutes on a laptop without parallelization. We release our methods in the Inline graphic package Inline graphic, which supports a wide range of link functions and working covariances.

Keywords: calcium imaging, functional data analysis, generalized estimating equations, longitudinal data analysis, one-step estimators

1. Introduction

Neuroscience studies in animal models provide an invaluable tool to identify the neural mechanisms underpinning psychiatric disorders. Researchers can estimate moment-by-moment associations between experimental covariates (e.g. behavior) and the activity of hundreds of neurons per animal, with widely used in vivo brain recording techniques like calcium imaging (Grienberger et al., 2022) and Neuropixels (Steinmetz et al., 2018). A neuroscientist might study brain-behavior associations on, for example, a learning task in which an animal learns to press a lever for a food reward. These tasks are often performed over hundreds of experimental replicates called “trials” (longitudinal observations akin to “patient visits”). Each trial might be defined as a five second interval starting at extension of the lever and ending with delivery of the food reward. To test whether, for example, mean neural activity is higher on trials when animals press the lever, a common strategy is to analyze scalar summaries of each trial’s neuronal firing activity. For instance, analysts might calculate a firing rate of neuron i on trial j by averaging the response, Inline graphic, across within-trial timepoints indexed by s: Inline graphic, where Inline graphic denotes a grid of timepoints at which the outcome is observed. One might then test whether Inline graphic, where Inline graphic is an indicator that the animal on which neuron i was recorded pressed the lever on trial j. This discards important temporal information, however, by summarizing across timepoints.

Alternatively, the neural response of each five second trial can be conceptualized as a functional outcome, with within-trial timepoints, s, representing locations along the functional domain. This allows one to apply functional data analysis (FDA) techniques to test how brain–behavior relationships evolve within and across trials (Loewinger et al., 2025) as both the responses and the covariates (e.g., behavior) can be modeled as functional variables. The size and complexity of our dataset, however, require specialized FDA methods. First, analyses must account for the longitudinal correlation, since each neuron’s activity is collected across many trials. Second, the large number of clusters (500 neurons), large cluster sizes (300 trials/neuron), and densely sampled functional outcomes (Inline graphic timepoints/trial) render many longitudinal methods for generalized functional outcomes computationally impractical. Our semiparametric approach models correlation in functional and longitudinal directions to improve statistical efficiency, and adopts a variance estimator robust to covariance misspecification to ensure valid inference.

To conduct inference in longitudinal FDA with large datasets, we propose a one-step estimator for functional generalized estimating equations (fGEE). Procedurally, we first fit a function-on-scalar regression with a working independence correlation structure to obtain a consistent but potentially inefficient initial estimate of the functional coefficients. We then update the initial estimate with one Newton-Raphson update step, derived from an estimating equation that models intra-cluster correlation. This approach can scale to large datasets and has desirable statistical properties. The initial estimate can be formed quickly because it ignores correlation; using only ‘one step’ in the update is fast because it greatly reduces the number of times potentially large working covariance matrices are inverted. Importantly, our approach still captures much of the statistical efficiency afforded by modeling intra-cluster correlation in longitudinal and/or functional directions with a fully-iterated fGEE. In fact, we prove the one-step fGEE is asymptotically as efficient as the fully-iterated version.

Our implementation supports functional data observed on regular, irregular, dense and sparse grids with functional and scalar covariates (see Appendix A.10). We propose fast strategies for smoothing parameter tuning, cluster bootstrapping, and joint confidence interval construction. Our general theory for adaptive one-step M-estimation may be of independent interest.

Our methods build on the rich literature for conditional and marginal methods for longitudinal function-on-scalar regression (Guo, 2002; Morris and Carroll, 2006; Ramsay and Silverman, 2005; Scheipl et al., 2016; Wang et al., 2016; Zhu et al., 2019). Functional mixed models are a versatile conditional strategy for longitudinal FDA. For non-Gaussian functional outcomes, many existing approaches do not scale well to large cluster sizes or cluster numbers. For example, Functional Additive Mixed Models, implemented in Inline graphic (Scheipl et al., 2016), can become computationally intensive when the number of clusters is in the low hundreds, even when specifying random functional intercept-only models: each participant adds Inline graphic columns to the design matrix, where Inline graphic is the number of spline bases used for the random intercept (Cui et al., 2022). Cui et al. (2022); Loewinger et al. (2025) proposed a fast functional mixed models approach based on univariate mixed models fits at each functional domain point. For non-Gaussian outcomes this relies, however, on a cluster bootstrap for inference, which can be slow for large datasets. Moreover, for non-Gaussian outcomes these approaches yield coefficient estimates that are only interpretable as conditional on the random effects. In many applications, estimates with marginal interpretations are desirable.

Functional GEE and Quadratic Inference Functions (QIF) are marginal methods for longitudinal function-on-scalar regression. Qu and Li (2005) and Guha Niyogi and Zhong (2025) proposed QIF-based methods applicable to FDA, but, to the best of our understanding, these works focused on a single observation of a functional outcome per subject. Chen et al. (2013) proposed a penalized GEE for longitudinal FDA that serves as part of the inspiration for our work. The method, however, requires inverting an Inline graphic matrix at each step of model fitting, where Inline graphic is the size of cluster i, and L is the number of points in the functional domain. Li et al. (2022) proposed a marginal estimator for continuous data, but it has not been extended to generalized outcomes. Taken together, marginal approaches for longitudinal functional regression with generalized outcomes do not scale well, limiting their widespread adoption.

Our work builds on existing one-step approaches to scale GEE to large problem sizes. Cheng et al. (2013) establish that a one-step GEE cluster bootstrap yields asymptotically equivalent inference as a fully-iterated GEE cluster bootstrap (see Section 2.2). This provides a basis for the computational steps we use for cross-validation and confidence interval construction. Lipsitz et al. (2017) use a non-adaptive, unpenalized one-step estimator to scale non-functional GEE to large cluster sizes when adopting an exchangeable working correlation. By contrast, our theory and methods are for adaptive penalized one-step M-estimation and can be used for functional data with many working correlations. One-step estimators are also used to enable inference for GEE in high dimensional, sparse settings. For example, Xia and Shojaie (2022) propose a one-step estimator using a projected estimating equation to enable inference of linear functionals of high dimensional GEE coefficients in non-functional data settings. In contrast, we focus on functional data with low-dimensional covariates where we do not encourage sparsity.

Our paper is organized as follows. We present our methodology in Section 2, provide theoretical results in Section 3, simulations in Section 4, and a data application in Section 5.

2. Methods

We begin by introducing notation, adopting that used in Li et al. (2022) where possible. We suppose that we observe the functional outcome Inline graphic at point s for cluster Inline graphic, at longitudinal observation (e.g. trial or visit) Inline graphic.

We express grids as regular (i.e. Inline graphic) and evenly spaced for ease of notation, but our methods also apply to irregular and unevenly spaced grids.

We denote Inline graphic as the functional outcome vector at point s for cluster i, concatenating all observations Inline graphic for Inline graphic, and write Inline graphic. We denote covariate vector Inline graphic for cluster i on observation j, and Inline graphic. We write covariates as scalar for ease of notation, though our method and theory applies to functional covariates.

2.1. Functional generalized estimating equations

We consider the marginal function-on-scalar regression with link function g,

2.1. (1)

where Inline graphic is a (smooth) coefficient function for covariate Inline graphic. We let Inline graphic denote the (assumed) mean function; Inline graphic represents the true within-cluster covariance, which is arbitrary and unknown.

We now discuss estimation of Inline graphic with spline basis expansions of the Inline graphic, although our methods can be used for other basis functions. For example, denoting Inline graphic as a set of m B-spline basis functions, we can represent the functional coefficients Inline graphic. In practice, the dimension m can differ across r. We denote Inline graphic as an unknown parameter vector associated with covariate r, Inline graphic, and the linear predictor for a full observation of the functional outcome as Inline graphic. We further define Inline graphic, where Inline graphic.

We then have that Inline graphic, where Inline graphic. Thus, we can estimate the functional coefficient vector, Inline graphic, by estimating Inline graphic and calculating Inline graphic.

We semi-parametrically estimate the Inline graphic with the penalized spline-based fGEE proposed in Chen et al. (2013). This assumes no likelihood and, if Inline graphic is correctly specified, yields valid inference for Inline graphic even if Inline graphic is misspecified. Specifically, the mean model parameters Inline graphic are estimated as the root of the penalized estimating equation

2.1. (2)

where Inline graphic is the working covariance matrix for cluster i (whose true covariance matrix is Inline graphic), Inline graphic, Inline graphic, and Inline graphic. The pre-specified penalty matrix, Inline graphic, is associated with the diagonal matrix of smoothing parameters Inline graphic (see below for details). Although no likelihood is adopted, the estimating equation (2) can be derived from the score equations from, for example, an exponential dispersion family (Liang and Zeger, 1986); we add the penalty term for improved estimation in finite samples. Compared to a working independence matrix (e.g., Inline graphic), estimation of Inline graphic can be made more efficient and accurate by exploiting correlation, in functional and longitudinal directions, by choosing the working Inline graphic to estimate Inline graphic. Although such choices for Inline graphic in this fGEE model yield desirable statistical properties for longitudinal FDA, estimation is computationally intensive: estimating Inline graphic based on equation (2) requires inversion of the Inline graphic covariance matrix Inline graphic for each cluster i, at each step in an optimization procedure.

2.2. One-step fGEE

To scale fGEE to large datasets, we propose a one-step estimator of the form Inline graphic,

where Inline graphic is an initial estimate fit with smoothing parameters Inline graphic. We denote Inline graphic, Inline graphic as the working covariance estimated with Inline graphic, and Inline graphic with Inline graphic applied component-wise. Our proposed estimator is formulated as follows

2.2. (3)

where the component of the gradient Inline graphic corresponding to the derivative of Inline graphic is evaluated at the population Inline graphic and can be ignored in expectation. Any consistent estimator for Inline graphic can be used for Inline graphic; we use a parametric function-on-scalar regression that ignores within-cluster correlation of outcome values across s and j, and uses the same penalty and spline bases as the fGEE (similar to solving (2) with a working independence correlation). In practice, we estimate Inline graphic with the Inline graphic function (Scheipl et al., 2016) (see Appendix A.9 for details). We formalize the necessary consistency properties of Inline graphic for the population parameter, Inline graphic in Section 3.

The one-step can be conceptualized as a de-biasing of, or equivalently a single Newton-Raphson step from, the initial estimate Inline graphic. It is much faster than the fully-iterated fGEE, because it requires inversion of a working covariance matrix only twice per cluster: 1) Inline graphic to estimate Inline graphic, and 2) Inline graphic to estimate Inline graphic (see Section 2.2.3). We summarize the estimation steps as an algorithm in Appendix A.1.

2.2.1. Working correlations

Although fGEE yields valid inference regardless of the Inline graphic structure used (under correct mean model specification), the statistical and computational efficiency of fGEE depends heavily on the Inline graphic form adopted. Our one-step estimator is often far faster than the fully-iterated fGEE in Chen et al. (2013) but, if Inline graphic is large, it still may not scale. Thus, while our theory applies to a one-step with general Inline graphic, we focus on forms that can be inverted quickly and improve statistical efficiency. To see this, we first rewrite Inline graphic, where Inline graphic, Inline graphic models Inline graphic, and the elements of Inline graphic model Inline graphic for Inline graphic.

For scalability, we focus on two classes of working covariance structures: block diagonal and Kronecker product. Block diagonal structures model correlation in either the longitudinal direction Inline graphic, where Inline graphic models Inline graphic, or the functional direction Inline graphic, where Inline graphic models Inline graphic. Each Inline graphic or Inline graphic can be parameterized by a unique Inline graphic or Inline graphic, respectively. If functional outcomes are observed on the same grid for each longitudinal measurement of a cluster, a Kronecker product-based Inline graphic can model correlation in both directions: Inline graphic, where Inline graphic models Inline graphic for all Inline graphic, and Inline graphic models Inline graphic for all Inline graphic; we suppress cluster indices i in Inline graphic and Inline graphic, when possible, for ease of notation. The Inline graphic and Inline graphic are parameterized by Inline graphic and Inline graphic correlation parameters.

These block and Kronecker structures are computationally efficient to invert. First, they avoid inversion of the full Inline graphic by reducing it to inversions of smaller blocks (block diagonal) or smaller Kronecker factors (Kronecker). For example, if we adopt Inline graphic, then Inline graphic. If we adopt Inline graphic, then Inline graphic. This can be made more computationally efficient by using Kronecker product identities. For example, denoting Inline graphic, we calculate Inline graphic in (3), with the identity Inline graphic, where Inline graphic denotes forming Inline graphic into a matrix. Writing this as Inline graphic emphasizes how one avoids forming the Inline graphic matrix Inline graphic by calculating Inline graphic and then Inline graphic. Thus, if Inline graphic and Inline graphic can be inverted efficiently, Inline graphic can be inverted efficiently for large L and Inline graphic. In fact, if one adopts a working correlation such that the sub-matrices (e.g., Inline graphic, Inline graphic, Inline graphic) have Toeplitz structure (e.g., exchangeable, AR1 with Inline graphic, moving average MA(q), Matern/RBF kernel Gaussian Process covariances), then one can calculate, for example, Inline graphic without having to ever construct (or store in memory) the sub-matrices Inline graphic, Inline graphic, Inline graphic (or their inverses); the corresponding systems of linear equations can be efficiently solved for large L and Inline graphic with, for example, the generalized Schur algorithm (Ammar and Gragg, 1988) (discussed in Appendices A.3–A.4). Similarly, our implementation also allows for FPCA-based estimation of Inline graphic which can be inverted efficiently (see Appendix A.5).

2.2.2. Tuning Inline graphic

To calculate an initial estimate of Inline graphic, we select the smoothing parameters, denoted as Inline graphic, with fast restricted maximum likelihood (Wood, 2011). We found, however, that calculating the one-step estimate with the same Inline graphic values (i.e. Inline graphic) tends to produce inaccurate coefficient estimates as the inclusion of Inline graphic in the estimation equation changes the relative smoothing parameter magnitudes. Therefore, we tune the smoothing parameters for the one-step, denoted as Inline graphic, based on the cross-validated prediction performance of the one-step estimator. We develop a fast cluster CV for large datasets, by exploiting the fact that the form of the one-step estimator enables calculation of fold-specific estimates with pre-computable terms (see Appendix A.6 for further details and a summary of the steps as an algorithm): rewriting the update as Inline graphic, illustrates that we can pre-compute each cluster’s Inline graphic, and Inline graphic. Moreover, we only need to estimate Inline graphic once. We can then use that Inline graphic, calculated on the full sample, as the initial estimate for all folds and Inline graphic values. This is because any consistent initial estimate, Inline graphic, is sufficient to ensure that the one-step estimator of a given fold is consistent for the population Inline graphic. Finally, assuming Inline graphic, we can (heuristically, by Slutsky’s theorem) calculate consistent one-step estimates in fold k as

2.2.2. (4)

where Inline graphic and Inline graphic denotes the set of cluster index sets for fold k. By using the full sample estimate Inline graphic, we only need to invert this Inline graphic matrix once for each value of Inline graphic, instead of inverting a fold-specific Inline graphic matrix for each unique Inline graphic pair. The strategy of keeping Inline graphic and Inline graphic fixed across folds is motivated by an analogous strategy for cluster bootstrapping of unpenalized one-step GEE (see Remark and Theorem 3.3 in Cheng et al. (2013)). Specifically, Cheng et al. (2013) showed that a cluster bootstrap that fixes these two quantities (at the full-sample estimates) across replicates enjoys the same theoretical guarantees asymptotically as an approach that re-estimates these quantities in each replicate-specific sample. In our simulations, our adaptation of this strategy for cluster CV was often dramatically faster than, and performed nearly identically to, a CV strategy that calculates Inline graphic using the fold-specific estimate Inline graphic.

2.2.3. Uncertainty quantification

The one-step variance can be estimated with sandwich estimator Inline graphic, where Inline graphic, and Inline graphic. We estimate Inline graphic via Inline graphic, i.e., by plugging in Inline graphic, Inline graphic, Inline graphic, and Inline graphic. For fixed basis Inline graphic, Inline graphic, where Inline graphic is a block diagonal matrix, with Inline graphic in each block. An asymptotically valid (Inline graphic-level pointwise CI is given by Inline graphic, where Inline graphic, and Inline graphic is diagonal entry s of Inline graphic. We found, however, that smoothing and small-sample bias sometimes led to undercoverage when constructing CIs with Gaussian quantiles, Inline graphic. We therefore constructed pointwise and joint CIs as Inline graphic and Inline graphic, respectively, where Inline graphic and Inline graphic, Inline graphic and Inline graphic are quantiles obtained from a fast score-based wild cluster bootstrap, and Inline graphic is a small-N effective degree of freedom inflation factor (see Appendix A.7 for the algorithm).

3. Theory

For a fixed sequence Inline graphic with Inline graphic, let Inline graphic be the solution to the population estimating equation Inline graphic, where Inline graphic has components denoted Inline graphic for Inline graphic, and let Inline graphic, where Inline graphic. We define Inline graphic, and Inline graphic. Note that implicit to these definitions, and to the ensuing theory, is that we treat the working covariance matrices Inline graphic as fixed or computed with the “true” limiting correlation parameters Inline graphic throughout. In practice, we can replace these with their estimated counterparts Inline graphic under the assumption that Inline graphic for all s, for some limiting parameters Inline graphic—see Corollary 1 of Chen et al. (2013).

Theorem 1:

Suppose that one-step estimators, Inline graphic and Inline graphic, are constructed using initial estimate, Inline graphic, and that conditions (i)-(vi) in Appendix B.1 hold: then the one-step estimator satisfies Inline graphic, where Inline graphic. Consequently, Inline graphic is asymptotically normal, centered around the sequence Inline graphic, with large sample variance given by Inline graphic.

We develop a more general result for adaptive one-step M-estimation that may be of independent interest in Appendix B. Theorem 1 provides a basis for asymptotically valid inference, akin to seminal results in non-functional settings (Zeger and Liang, 1986). The result assumes that the true mean function lies in the span of the basis functions, and holds for arbitrary Inline graphic and fixed L, q and p. Technical conditions (i)-(vi) are standard and hold if typical link functions are used, and the sample, true, and limiting Inline graphic and Inline graphic matrices are full rank, and if the initial estimator converges with sufficient rates. These are discussed further in Appendix B.1.

Remark 1:

Our result shows that the one-step is asymptotically equivalent to the fully-iterated fGEE. Moreover, our result extends to non-linear link functions, while existing fGEE theory is restricted to the linear case (Chen et al., 2013). In the linear case, the one-step shares the same properties as those characterized in Chen et al. (2013), such as the convergence rates in small knot and large knot regimes in terms of the smoothing parameter, Inline graphic. We discuss the convergence rates of the coefficient estimates in terms of the parameters Inline graphic further in Appendix B.

4. Simulations

We conducted simulations to assess 95% CI coverage and width, coefficient estimate error, and algorithm timing. We ran Inline graphic simulation replicates. We used Inline graphic, a maximum likelihood estimator, for an initial Inline graphic and benchmark, using penalized P-splines with 15 knots per functional coefficient (see Appendix A.9 for details). We set Inline graphic with Inline graphic evenly-spaced points, Inline graphic, and Inline graphic. Denoting Inline graphic as the functional coefficient r for simulation replicate t at s, we report Inline graphic. Denoting Inline graphic as the pointwise CI for replicate t for functional coefficient r at point s, we report average empirical pointwise coverage as: Inline graphic. We report empirical joint (uniform) coverage as: Inline graphic, where Inline graphic denotes the joint CI at s.

We simulated outcomes with mean model Inline graphic, where Inline graphic, Inline graphic, Inline graphic, and Inline graphic denotes the standard normal density function. We drew Gaussian (identity), binary (logit), Poisson (log) and gamma (log) outcomes (link functions, g) with a copula method (Nelsen, 2006). Briefly, we drew Inline graphic, transformed it into a vector of uniform random variables with the probability integral transform Inline graphic, and set Inline graphic where we applied the inverse CDF Inline graphic of the target distribution, and the standard normal CDF Inline graphic, element-wise. We used Inline graphic, with Inline graphic for all Inline graphic for Gaussian data and Inline graphic for other families. We set Inline graphic for all Inline graphic. We drew Inline graphic, and Inline graphic, where Inline graphic, and Inline graphic. We plot the true functional coefficients and average fGEE estimates in simulations in Appendix C.1.

We compared performance of the one-step and a fully-iterated fGEE in a setting where the outcome was simulated to be correlated in both longitudinal and functional directions. Namely, we set Inline graphic, where the Inline graphic entry of Inline graphic contains Inline graphic for Inline graphic, and the Inline graphic entry of Inline graphic contains Inline graphic for Inline graphic. We set Inline graphic to have an AR1 structure Inline graphic. We simulated Inline graphic with both an AR1 Inline graphic, and exchangeable structure Inline graphic. We set Inline graphic. We then measured how the fGEE performs under varying degrees of working correlation misspecification: working correlations that are 1) correctly specified; specified correctly in the 2) functional or 3) longitudinal direction; or 4) a working independence structure: Inline graphic.

We compare performance of two fully-iterated fGEEs: “Full-1Step” which selects Inline graphic with our fast cluster CV, and “Full-Full” which instead selects Inline graphic with a cluster CV that fits each fold-specific coefficient estimate, Inline graphic, with a fully-iterated fGEE. The Full-Full approach does not use one-step methods and thus shows how slow fGEE is without our one-step framework. In fact, Full-Full simulations finished only with small sample sizes even on a high performance cluster (see Appendix C.2 for Full-Full results). We describe implementation details in Appendix A.2.

Table 1 shows that, relative to a Inline graphic fit, the one-step with correctly specified working correlation (Inline graphic) reduces functional coefficient estimation RMSE by as much as 35% for certain combinations of Inline graphic and outcome distributions. Interestingly, an fGEE that adopts a working correlation that is correctly specified in just the longitudinal direction (e.g., Inline graphic) often performs comparably to an fGEE that correctly specifies correlation in both directions (e.g., Inline graphic). Table 1 also shows how the one-step performs nearly identically to a fully-iterated fGEE that uses the same smoothing parameter values: Full-1Step and one-step coefficients with a given working correlation are estimated with the same Inline graphic value because they apply the same cluster CV procedure. Table 1 also shows how the fast cluster CV reduces estimation error compared to Inline graphic. The Inline graphic and Inline graphic are fit with a full working independence correlation structure, but the one-step is fit with Inline graphic values selected with fast cluster CV, whereas Inline graphic selects Inline graphic with a fast REML strategy. Interestingly, when N is small, the fully-iterated fGEE sometimes performs far worse than the one-step, potentially because re-estimating correlation parameters at each iteration causes instability.

Table 1.

Functional Coefficient Estimation Performance (RMSE) of each method relative to the Inline graphic fit (Inline graphic). Cells contain the average of 300 replicates Inline graphic SE (SEInline graphic indicates a value Inline graphic). Outcomes were simulated with an Inline graphic, where Inline graphic had an AR1 structure and the table columns indicate results where Inline graphic had exchangeable or AR1 correlation. The “1-Step” label indicates a one-step was used for tuning and final coefficient estimation, and “Full-1Step” indicates one-step tuning and a fully-iterated fGEE for final coefficient estimation, with the indicated working correlation. Inline graphic indicates that values Inline graphic were removed from that cell to avoid skewing the mean.

Exchangeable AR(1)
Method Gaussian Poisson Binomial Gaussian Poisson Binomial
Inline graphic
Inline graphic 0.82 Inline graphic 0.01 0.83 Inline graphic 0.01 0.88 Inline graphic 0.01 0.85 Inline graphic 0.01 0.85 Inline graphic 0.01 0.92 Inline graphic 0.01
Inline graphic 0.82 Inline graphic 0.01 0.85 Inline graphic 0.01 0.88 Inline graphic 0.01 0.85 Inline graphic 0.01 0.83 Inline graphic 0.01 0.92 Inline graphic 0.01
Inline graphic 0.86 Inline graphic 0.01 0.91 Inline graphic 0.01 0.93 Inline graphic 0.01 0.90 Inline graphic 0.01 0.92 Inline graphic 0.01 0.95 Inline graphic 0.01
Inline graphic 0.87 Inline graphic 0.01 0.88 Inline graphic 0.00 0.93 Inline graphic 0.01 0.90 Inline graphic 0.01 0.90 Inline graphic 0.00 0.95 Inline graphic 0.01
Inline graphic 0.82 Inline graphic 0.01 0.83 Inline graphic 0.01 1.00 Inline graphic 0.09Inline graphic 0.86 Inline graphic 0.01 0.85 Inline graphic 0.01 0.94 Inline graphic 0.01
Inline graphic 0.81 Inline graphic 0.01 1.02 Inline graphic 0.09Inline graphic 1.29 Inline graphic 0.21Inline graphic 0.85 Inline graphic 0.01 0.83 Inline graphic 0.01 0.93 Inline graphic 0.01
Inline graphic 0.87 Inline graphic 0.01 0.91 Inline graphic 0.01 0.96 Inline graphic 0.02 0.90 Inline graphic 0.01 0.92 Inline graphic 0.01 0.97 Inline graphic 0.01
Inline graphic 0.87 Inline graphic 0.01 0.89 Inline graphic 0.01 0.95 Inline graphic 0.01 0.90 Inline graphic 0.01 0.90 Inline graphic 0.00 0.96 Inline graphic 0.01
Inline graphic
Inline graphic 0.78 Inline graphic 0.01 0.65 Inline graphic 0.01 0.82 Inline graphic 0.01 0.87 Inline graphic 0.01 0.87 Inline graphic 0.01 0.89 Inline graphic 0.01
Inline graphic 0.77 Inline graphic 0.01 0.65 Inline graphic 0.01 0.81 Inline graphic 0.01 0.85 Inline graphic 0.01 0.86 Inline graphic 0.01 0.88 Inline graphic 0.01
Inline graphic 0.80 Inline graphic 0.01 0.87 Inline graphic 0.01 0.79 Inline graphic 0.01 0.93 Inline graphic 0.01 0.95 Inline graphic 0.00 0.93 Inline graphic 0.01
Inline graphic 0.79 Inline graphic 0.01 0.85 Inline graphic 0.01 0.79 Inline graphic 0.01 0.90 Inline graphic 0.01 0.94 Inline graphic 0.00 0.92 Inline graphic 0.01
Inline graphic 0.78 Inline graphic 0.01 0.66 Inline graphic 0.01 4.75 Inline graphic 0.69Inline graphic 0.87 Inline graphic 0.01 0.87 Inline graphic 0.01 0.90 Inline graphic 0.01
Inline graphic 0.77 Inline graphic 0.01 0.86 Inline graphic 0.07Inline graphic 7.42 Inline graphic 0.95Inline graphic 0.85 Inline graphic 0.01 0.86 Inline graphic 0.01 0.88 Inline graphic 0.01
Inline graphic 0.81 Inline graphic 0.01 0.87 Inline graphic 0.01 0.83 Inline graphic 0.01 0.93 Inline graphic 0.01 0.95 Inline graphic 0.00 0.94 Inline graphic 0.01
Inline graphic 0.79 Inline graphic 0.01 0.85 Inline graphic 0.01 0.90 Inline graphic 0.09 0.90 Inline graphic 0.01 0.94 Inline graphic 0.00 0.92 Inline graphic 0.01
Inline graphic
Inline graphic 0.88 Inline graphic 0.01 0.84 Inline graphic 0.01 0.88 Inline graphic 0.01 0.89 Inline graphic 0.01 0.87 Inline graphic 0.01 0.89 Inline graphic 0.01
Inline graphic 0.88 Inline graphic 0.01 0.84 Inline graphic 0.01 0.87 Inline graphic 0.01 0.88 Inline graphic 0.01 0.85 Inline graphic 0.01 0.89 Inline graphic 0.01
Inline graphic 0.93 Inline graphic 0.01 0.93 Inline graphic 0.00 0.92 Inline graphic 0.01 0.94 Inline graphic 0.01 0.93 Inline graphic 0.00 0.93 Inline graphic 0.01
Inline graphic 0.93 Inline graphic 0.01 0.91 Inline graphic 0.01 0.92 Inline graphic 0.01 0.94 Inline graphic 0.01 0.91 Inline graphic 0.00 0.92 Inline graphic 0.01
Inline graphic 0.88 Inline graphic 0.01 0.84 Inline graphic 0.01 0.90 Inline graphic 0.01 0.89 Inline graphic 0.01 0.87 Inline graphic 0.01 0.91 Inline graphic 0.01
Inline graphic 0.88 Inline graphic 0.01 1.01 Inline graphic 0.07 0.96 Inline graphic 0.08Inline graphic 0.88 Inline graphic 0.01 0.85 Inline graphic 0.01 0.90 Inline graphic 0.01
Inline graphic 0.94 Inline graphic 0.01 0.93 Inline graphic 0.01 0.94 Inline graphic 0.01 0.95 Inline graphic 0.01 0.93 Inline graphic 0.00 0.95 Inline graphic 0.01
Inline graphic 0.93 Inline graphic 0.01 0.91 Inline graphic 0.01 0.93 Inline graphic 0.01 0.94 Inline graphic 0.01 0.91 Inline graphic 0.00 0.93 Inline graphic 0.01
Inline graphic
Inline graphic 0.85 Inline graphic 0.01 0.65 Inline graphic 0.01 0.83 Inline graphic 0.01 0.90 Inline graphic 0.01 0.87 Inline graphic 0.00 0.89 Inline graphic 0.01
Inline graphic 0.85 Inline graphic 0.01 0.65 Inline graphic 0.01 0.81 Inline graphic 0.01 0.86 Inline graphic 0.01 0.87 Inline graphic 0.00 0.88 Inline graphic 0.01
Inline graphic 0.85 Inline graphic 0.01 0.89 Inline graphic 0.01 0.82 Inline graphic 0.01 0.95 Inline graphic 0.01 0.97 Inline graphic 0.00 0.93 Inline graphic 0.01
Inline graphic 0.84 Inline graphic 0.01 0.87 Inline graphic 0.01 0.81 Inline graphic 0.01 0.92 Inline graphic 0.00 0.96 Inline graphic 0.00 0.92 Inline graphic 0.01
Inline graphic 0.86 Inline graphic 0.01 0.66 Inline graphic 0.01 2.63 Inline graphic 0.52Inline graphic 0.90 Inline graphic 0.01 0.87 Inline graphic 0.00 0.89 Inline graphic 0.01
Inline graphic 0.85 Inline graphic 0.01 0.76 Inline graphic 0.03 4.33 Inline graphic 0.85Inline graphic 0.86 Inline graphic 0.01 0.87 Inline graphic 0.00 0.88 Inline graphic 0.01
Inline graphic 0.86 Inline graphic 0.01 0.90 Inline graphic 0.01 0.85 Inline graphic 0.01 0.95 Inline graphic 0.01 0.97 Inline graphic 0.00 0.93 Inline graphic 0.01
Inline graphic 0.84 Inline graphic 0.01 0.87 Inline graphic 0.01 0.82 Inline graphic 0.01 0.92 Inline graphic 0.00 0.96 Inline graphic 0.00 0.92 Inline graphic 0.01
Inline graphic
Inline graphic 0.89 Inline graphic 0.01 0.87 Inline graphic 0.01 0.91 Inline graphic 0.01 0.89 Inline graphic 0.01 0.89 Inline graphic 0.01 0.92 Inline graphic 0.01
Inline graphic 0.85 Inline graphic 0.01 0.88 Inline graphic 0.01 0.89 Inline graphic 0.01 0.86 Inline graphic 0.01 0.89 Inline graphic 0.01 0.90 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.00 0.96 Inline graphic 0.00 0.95 Inline graphic 0.01 0.96 Inline graphic 0.00 0.97 Inline graphic 0.00 0.96 Inline graphic 0.01
Inline graphic 0.91 Inline graphic 0.00 0.95 Inline graphic 0.00 0.93 Inline graphic 0.01 0.92 Inline graphic 0.00 0.96 Inline graphic 0.00 0.94 Inline graphic 0.01
Inline graphic 0.89 Inline graphic 0.01 0.87 Inline graphic 0.01 0.92 Inline graphic 0.01 0.89 Inline graphic 0.01 0.89 Inline graphic 0.01 0.92 Inline graphic 0.01
Inline graphic 0.85 Inline graphic 0.01 0.88 Inline graphic 0.01 0.89 Inline graphic 0.01 0.86 Inline graphic 0.01 0.89 Inline graphic 0.01 0.90 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.00 0.96 Inline graphic 0.00 0.95 Inline graphic 0.01 0.96 Inline graphic 0.00 0.97 Inline graphic 0.00 0.96 Inline graphic 0.01
Inline graphic 0.91 Inline graphic 0.00 0.95 Inline graphic 0.00 0.94 Inline graphic 0.01 0.92 Inline graphic 0.00 0.96 Inline graphic 0.00 0.94 Inline graphic 0.01
Inline graphic
Inline graphic 0.90 Inline graphic 0.00 0.67 Inline graphic 0.01 0.96 Inline graphic 0.01 0.93 Inline graphic 0.00 0.88 Inline graphic 0.01 0.94 Inline graphic 0.01
Inline graphic 0.87 Inline graphic 0.00 0.67 Inline graphic 0.01 0.94 Inline graphic 0.01 0.90 Inline graphic 0.00 0.89 Inline graphic 0.00 0.93 Inline graphic 0.01
Inline graphic 0.92 Inline graphic 0.00 0.96 Inline graphic 0.00 0.90 Inline graphic 0.01 0.99 Inline graphic 0.00 0.98 Inline graphic 0.00 0.98 Inline graphic 0.00
Inline graphic 0.88 Inline graphic 0.00 0.95 Inline graphic 0.00 0.89 Inline graphic 0.01 0.96 Inline graphic 0.00 0.99 Inline graphic 0.00 0.97 Inline graphic 0.00
Inline graphic 0.90 Inline graphic 0.00 0.67 Inline graphic 0.01 0.98 Inline graphic 0.01 0.93 Inline graphic 0.00 0.88 Inline graphic 0.01 0.94 Inline graphic 0.01
Inline graphic 0.87 Inline graphic 0.00 0.67 Inline graphic 0.01 0.95 Inline graphic 0.01 0.90 Inline graphic 0.00 0.89 Inline graphic 0.00 0.93 Inline graphic 0.01
Inline graphic 0.92 Inline graphic 0.00 0.96 Inline graphic 0.00 0.91 Inline graphic 0.01 0.99 Inline graphic 0.00 0.98 Inline graphic 0.00 0.98 Inline graphic 0.00
Inline graphic 0.88 Inline graphic 0.00 0.95 Inline graphic 0.00 0.89 Inline graphic 0.01 0.96 Inline graphic 0.00 0.99 Inline graphic 0.00 0.97 Inline graphic 0.00

Table 2 shows that the one-step achieves reasonable joint (uniform) CI coverage in large samples, but sometimes exhibits over/under-coverage. Under-coverage was more common in small N settings. Table 3 shows that the one-step achieves pointwise CI coverage at roughly nominal levels for all settings. Importantly, these results show how the “fast/simple” approach of constructing CIs with a sandwich estimator based on a Inline graphic fit can yield coverage far below the nominal levels. Thus, we also show CI coverage from Inline graphic CIs constructed with our wild cluster bootstrap approach, which achieve the nominal coverage but can be conservative. In fact, compared to these Inline graphic (wild) CIs, the one-step substantially reduces pointwise CI width (Table 4) in most simulation settings. This shows how the fGEE can substantially improve statistical power. Finally, Table 5 shows that the one-step is relatively fast for large datasets.

Table 2.

Joint 95% CI coverage from 300 replicates Inline graphic SE (SEInline graphic indicates a value Inline graphic). Table columns indicate if Inline graphic had exchangeable or AR1 correlation. pffr (Wild) indicates CIs constructed for Inline graphic coefficient estimates with quantiles obtained from a wild cluster bootstrap. pffr (Inline graphic) are standard Wald CIs constructed with Gaussian quantiles.

Exchangeable AR(1)
Method Gaussian Poisson Binomial Gaussian Poisson Binomial
Inline graphic
Inline graphic 0.90 Inline graphic 0.02 0.90 Inline graphic 0.02 0.95 Inline graphic 0.01 0.90 Inline graphic 0.02 0.88 Inline graphic 0.02 0.95 Inline graphic 0.01
Inline graphic 0.92 Inline graphic 0.02 0.92 Inline graphic 0.02 0.95 Inline graphic 0.01 0.91 Inline graphic 0.02 0.90 Inline graphic 0.02 0.94 Inline graphic 0.01
Inline graphic 0.89 Inline graphic 0.02 0.84 Inline graphic 0.02 0.94 Inline graphic 0.01 0.87 Inline graphic 0.02 0.85 Inline graphic 0.02 0.93 Inline graphic 0.01
Inline graphic 0.91 Inline graphic 0.02 0.88 Inline graphic 0.02 0.95 Inline graphic 0.01 0.90 Inline graphic 0.02 0.86 Inline graphic 0.02 0.94 Inline graphic 0.01
Inline graphic 0.90 Inline graphic 0.02 0.90 Inline graphic 0.02 0.94 Inline graphic 0.01 0.89 Inline graphic 0.02 0.88 Inline graphic 0.02 0.93 Inline graphic 0.01
Inline graphic 0.93 Inline graphic 0.02 0.91 Inline graphic 0.02 0.90 Inline graphic 0.02 0.91 Inline graphic 0.02 0.90 Inline graphic 0.02 0.93 Inline graphic 0.01
Inline graphic 0.89 Inline graphic 0.02 0.84 Inline graphic 0.02 0.93 Inline graphic 0.01 0.86 Inline graphic 0.02 0.84 Inline graphic 0.02 0.92 Inline graphic 0.02
Inline graphic 0.91 Inline graphic 0.02 0.87 Inline graphic 0.02 0.94 Inline graphic 0.01 0.90 Inline graphic 0.02 0.86 Inline graphic 0.02 0.93 Inline graphic 0.02
pffr (Wild) 0.92 Inline graphic 0.02 0.85 Inline graphic 0.02 0.95 Inline graphic 0.01 0.93 Inline graphic 0.01 0.86 Inline graphic 0.02 0.96 Inline graphic 0.01
Inline graphic 0.06 Inline graphic 0.01 0.55 Inline graphic 0.03 0.32 Inline graphic 0.03 0.06 Inline graphic 0.01 0.56 Inline graphic 0.03 0.32 Inline graphic 0.03
Inline graphic
Inline graphic 0.96 Inline graphic 0.01 0.98 Inline graphic 0.01 0.99 Inline graphic 0.01 0.89 Inline graphic 0.02 0.88 Inline graphic 0.02 0.93 Inline graphic 0.02
Inline graphic 0.97 Inline graphic 0.01 0.98 Inline graphic 0.01 0.99 Inline graphic 0.01 0.92 Inline graphic 0.02 0.88 Inline graphic 0.02 0.93 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.91 Inline graphic 0.02 0.99 Inline graphic 0.01 0.88 Inline graphic 0.02 0.82 Inline graphic 0.02 0.93 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.91 Inline graphic 0.02 0.98 Inline graphic 0.01 0.92 Inline graphic 0.02 0.83 Inline graphic 0.02 0.93 Inline graphic 0.01
Inline graphic 0.96 Inline graphic 0.01 0.97 Inline graphic 0.01 0.81 Inline graphic 0.02 0.89 Inline graphic 0.02 0.88 Inline graphic 0.02 0.93 Inline graphic 0.01
Inline graphic 0.98 Inline graphic 0.01 0.98 Inline graphic 0.01 0.61 Inline graphic 0.03 0.92 Inline graphic 0.02 0.88 Inline graphic 0.02 0.93 Inline graphic 0.01
Inline graphic 0.96 Inline graphic 0.01 0.91 Inline graphic 0.02 0.99 Inline graphic 0.01 0.88 Inline graphic 0.02 0.82 Inline graphic 0.02 0.93 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.91 Inline graphic 0.02 0.98 Inline graphic 0.01 0.92 Inline graphic 0.02 0.83 Inline graphic 0.02 0.93 Inline graphic 0.01
pffr (Wild) 0.79 Inline graphic 0.02 0.78 Inline graphic 0.02 0.75 Inline graphic 0.03 0.99 Inline graphic 0.01 0.78 Inline graphic 0.02 0.93 Inline graphic 0.01
Inline graphic 0.49 Inline graphic 0.03 0.81 Inline graphic 0.02 0.64 Inline graphic 0.03 0.23 Inline graphic 0.02 0.79 Inline graphic 0.02 0.62 Inline graphic 0.03
Inline graphic
Inline graphic 0.90 Inline graphic 0.02 0.90 Inline graphic 0.02 0.95 Inline graphic 0.01 0.89 Inline graphic 0.02 0.87 Inline graphic 0.02 0.94 Inline graphic 0.01
Inline graphic 0.92 Inline graphic 0.02 0.90 Inline graphic 0.02 0.95 Inline graphic 0.01 0.92 Inline graphic 0.02 0.90 Inline graphic 0.02 0.95 Inline graphic 0.01
Inline graphic 0.89 Inline graphic 0.02 0.85 Inline graphic 0.02 0.95 Inline graphic 0.01 0.89 Inline graphic 0.02 0.85 Inline graphic 0.02 0.94 Inline graphic 0.01
Inline graphic 0.92 Inline graphic 0.02 0.88 Inline graphic 0.02 0.95 Inline graphic 0.01 0.90 Inline graphic 0.02 0.86 Inline graphic 0.02 0.94 Inline graphic 0.01
Inline graphic 0.90 Inline graphic 0.02 0.90 Inline graphic 0.02 0.94 Inline graphic 0.01 0.89 Inline graphic 0.02 0.87 Inline graphic 0.02 0.94 Inline graphic 0.01
Inline graphic 0.92 Inline graphic 0.02 0.90 Inline graphic 0.02 0.94 Inline graphic 0.01 0.92 Inline graphic 0.02 0.90 Inline graphic 0.02 0.94 Inline graphic 0.01
Inline graphic 0.89 Inline graphic 0.02 0.85 Inline graphic 0.02 0.94 Inline graphic 0.01 0.88 Inline graphic 0.02 0.85 Inline graphic 0.02 0.93 Inline graphic 0.01
Inline graphic 0.92 Inline graphic 0.02 0.87 Inline graphic 0.02 0.94 Inline graphic 0.01 0.90 Inline graphic 0.02 0.86 Inline graphic 0.02 0.94 Inline graphic 0.01
pffr (Wild) 0.97 Inline graphic 0.01 0.91 Inline graphic 0.02 0.99 Inline graphic 0.01 0.97 Inline graphic 0.01 0.91 Inline graphic 0.02 0.99 Inline graphic 0.01
Inline graphic 0.04 Inline graphic 0.01 0.59 Inline graphic 0.03 0.23 Inline graphic 0.02 0.04 Inline graphic 0.01 0.57 Inline graphic 0.03 0.26 Inline graphic 0.03
Inline graphic
Inline graphic 0.96 Inline graphic 0.01 0.97 Inline graphic 0.01 0.98 Inline graphic 0.01 0.93 Inline graphic 0.02 0.90 Inline graphic 0.02 0.95 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.98 Inline graphic 0.01 0.98 Inline graphic 0.01 0.95 Inline graphic 0.01 0.91 Inline graphic 0.02 0.95 Inline graphic 0.01
Inline graphic 0.98 Inline graphic 0.01 0.91 Inline graphic 0.02 0.99 Inline graphic 0.01 0.92 Inline graphic 0.02 0.84 Inline graphic 0.02 0.94 Inline graphic 0.01
Inline graphic 0.98 Inline graphic 0.01 0.94 Inline graphic 0.01 0.99 Inline graphic 0.01 0.95 Inline graphic 0.01 0.85 Inline graphic 0.02 0.95 Inline graphic 0.01
Inline graphic 0.96 Inline graphic 0.01 0.98 Inline graphic 0.01 0.89 Inline graphic 0.02 0.93 Inline graphic 0.02 0.90 Inline graphic 0.02 0.95 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.98 Inline graphic 0.01 0.76 Inline graphic 0.03 0.95 Inline graphic 0.01 0.91 Inline graphic 0.02 0.95 Inline graphic 0.01
Inline graphic 0.98 Inline graphic 0.01 0.91 Inline graphic 0.02 0.98 Inline graphic 0.01 0.92 Inline graphic 0.02 0.84 Inline graphic 0.02 0.94 Inline graphic 0.01
Inline graphic 0.98 Inline graphic 0.01 0.94 Inline graphic 0.01 0.98 Inline graphic 0.01 0.95 Inline graphic 0.01 0.85 Inline graphic 0.02 0.95 Inline graphic 0.01
pffr (Wild) 0.89 Inline graphic 0.02 0.82 Inline graphic 0.02 0.85 Inline graphic 0.02 1.00 Inline graphic 0.00 0.85 Inline graphic 0.02 0.99 Inline graphic 0.01
Inline graphic 0.50 Inline graphic 0.03 0.82 Inline graphic 0.02 0.70 Inline graphic 0.03 0.19 Inline graphic 0.02 0.81 Inline graphic 0.02 0.65 Inline graphic 0.03
Inline graphic
Inline graphic 0.94 Inline graphic 0.01 0.93 Inline graphic 0.01 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.93 Inline graphic 0.02 0.96 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01 0.96 Inline graphic 0.01 0.93 Inline graphic 0.01 0.97 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.93 Inline graphic 0.02 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.93 Inline graphic 0.02 0.96 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01 0.96 Inline graphic 0.01 0.93 Inline graphic 0.01 0.97 Inline graphic 0.01
Inline graphic 0.94 Inline graphic 0.01 0.93 Inline graphic 0.01 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.92 Inline graphic 0.02 0.96 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01 0.96 Inline graphic 0.01 0.93 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.93 Inline graphic 0.01 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.93 Inline graphic 0.02 0.96 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01 0.96 Inline graphic 0.01 0.93 Inline graphic 0.02 0.97 Inline graphic 0.01
pffr (Wild) 1.00 Inline graphic 0.00 1.00 Inline graphic 0.00 1.00 Inline graphic 0.00 1.00 Inline graphic 0.00 1.00 Inline graphic 0.00 1.00 Inline graphic 0.00
Inline graphic 0.01 Inline graphic 0.00 0.63 Inline graphic 0.03 0.09 Inline graphic 0.02 0.01 Inline graphic 0.01 0.61 Inline graphic 0.03 0.07 Inline graphic 0.01
Inline graphic
Inline graphic 0.94 Inline graphic 0.01 0.92 Inline graphic 0.02 0.97 Inline graphic 0.01 0.94 Inline graphic 0.01 0.89 Inline graphic 0.02 0.95 Inline graphic 0.01
Inline graphic 0.96 Inline graphic 0.01 0.92 Inline graphic 0.02 0.97 Inline graphic 0.01 0.95 Inline graphic 0.01 0.91 Inline graphic 0.02 0.96 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.92 Inline graphic 0.02 0.98 Inline graphic 0.01 0.95 Inline graphic 0.01 0.91 Inline graphic 0.02 0.95 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.93 Inline graphic 0.01 0.98 Inline graphic 0.01 0.96 Inline graphic 0.01 0.91 Inline graphic 0.02 0.95 Inline graphic 0.01
Inline graphic 0.94 Inline graphic 0.01 0.92 Inline graphic 0.02 0.97 Inline graphic 0.01 0.94 Inline graphic 0.01 0.89 Inline graphic 0.02 0.95 Inline graphic 0.01
Inline graphic 0.96 Inline graphic 0.01 0.92 Inline graphic 0.02 0.98 Inline graphic 0.01 0.95 Inline graphic 0.01 0.90 Inline graphic 0.02 0.96 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.92 Inline graphic 0.02 0.98 Inline graphic 0.01 0.95 Inline graphic 0.01 0.91 Inline graphic 0.02 0.95 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.93 Inline graphic 0.01 0.98 Inline graphic 0.01 0.96 Inline graphic 0.01 0.91 Inline graphic 0.02 0.95 Inline graphic 0.01
pffr (Wild) 1.00 Inline graphic 0.00 0.93 Inline graphic 0.01 0.98 Inline graphic 0.01 1.00 Inline graphic 0.00 0.96 Inline graphic 0.01 1.00 Inline graphic 0.00
Inline graphic 0.26 Inline graphic 0.03 0.84 Inline graphic 0.02 0.62 Inline graphic 0.03 0.11 Inline graphic 0.02 0.83 Inline graphic 0.02 0.56 Inline graphic 0.03

Table 3.

Pointwise 95% CI coverage from 300 replicates Inline graphic SE (SEInline graphic indicates a value Inline graphic). Table columns indicate if Inline graphic had exchangeable or AR1 correlation. pffr (Wild) indicates CIs constructed for Inline graphic coefficient estimates with quantiles obtained from a wild cluster bootstrap. pffr (Inline graphic) are standard Wald CIs constructed with Gaussian quantiles.

Exchangeable AR(1)
Method Gaussian Poisson Binomial Gaussian Poisson Binomial
Inline graphic
Inline graphic 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.97 Inline graphic 0.01 0.94 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.97 Inline graphic 0.01 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.94 Inline graphic 0.01 0.93 Inline graphic 0.01 0.96 Inline graphic 0.01 0.93 Inline graphic 0.01 0.93 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01 0.94 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01 0.94 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.93 Inline graphic 0.02 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.94 Inline graphic 0.01 0.93 Inline graphic 0.01 0.96 Inline graphic 0.01 0.93 Inline graphic 0.01 0.93 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01 0.94 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01
pffr (Wild) 0.96 Inline graphic 0.01 0.93 Inline graphic 0.01 0.97 Inline graphic 0.01 0.97 Inline graphic 0.01 0.94 Inline graphic 0.01 0.97 Inline graphic 0.01
Inline graphic 0.67 Inline graphic 0.03 0.87 Inline graphic 0.02 0.80 Inline graphic 0.02 0.66 Inline graphic 0.03 0.87 Inline graphic 0.02 0.80 Inline graphic 0.02
Inline graphic
Inline graphic 0.97 Inline graphic 0.01 0.98 Inline graphic 0.01 0.98 Inline graphic 0.01 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.98 Inline graphic 0.01 0.99 Inline graphic 0.01 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.95 Inline graphic 0.01 0.99 Inline graphic 0.01 0.94 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.95 Inline graphic 0.01 0.98 Inline graphic 0.01 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.98 Inline graphic 0.01 0.84 Inline graphic 0.02 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.98 Inline graphic 0.01 0.98 Inline graphic 0.01 0.67 Inline graphic 0.03 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.95 Inline graphic 0.01 0.98 Inline graphic 0.01 0.94 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.95 Inline graphic 0.01 0.98 Inline graphic 0.01 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01
pffr (Wild) 0.94 Inline graphic 0.01 0.93 Inline graphic 0.01 0.92 Inline graphic 0.02 0.99 Inline graphic 0.00 0.93 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.86 Inline graphic 0.02 0.94 Inline graphic 0.01 0.90 Inline graphic 0.02 0.78 Inline graphic 0.02 0.93 Inline graphic 0.01 0.89 Inline graphic 0.02
Inline graphic
Inline graphic 0.94 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01 0.93 Inline graphic 0.01 0.94 Inline graphic 0.01 0.95 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01 0.94 Inline graphic 0.01 0.94 Inline graphic 0.01 0.95 Inline graphic 0.01
Inline graphic 0.93 Inline graphic 0.01 0.93 Inline graphic 0.01 0.95 Inline graphic 0.01 0.93 Inline graphic 0.01 0.93 Inline graphic 0.01 0.95 Inline graphic 0.01
Inline graphic 0.94 Inline graphic 0.01 0.93 Inline graphic 0.01 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.93 Inline graphic 0.01 0.95 Inline graphic 0.01
Inline graphic 0.94 Inline graphic 0.01 0.94 Inline graphic 0.01 0.95 Inline graphic 0.01 0.93 Inline graphic 0.01 0.94 Inline graphic 0.01 0.95 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.94 Inline graphic 0.01 0.95 Inline graphic 0.01
Inline graphic 0.93 Inline graphic 0.01 0.93 Inline graphic 0.01 0.95 Inline graphic 0.01 0.93 Inline graphic 0.01 0.93 Inline graphic 0.01 0.95 Inline graphic 0.01
Inline graphic 0.94 Inline graphic 0.01 0.93 Inline graphic 0.01 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.93 Inline graphic 0.01 0.95 Inline graphic 0.01
pffr (Wild) 0.98 Inline graphic 0.01 0.95 Inline graphic 0.01 0.99 Inline graphic 0.01 0.99 Inline graphic 0.01 0.96 Inline graphic 0.01 0.99 Inline graphic 0.01
Inline graphic 0.65 Inline graphic 0.03 0.87 Inline graphic 0.02 0.77 Inline graphic 0.02 0.65 Inline graphic 0.03 0.86 Inline graphic 0.02 0.77 Inline graphic 0.02
Inline graphic
Inline graphic 0.96 Inline graphic 0.01 0.98 Inline graphic 0.01 0.98 Inline graphic 0.01 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.98 Inline graphic 0.01 0.98 Inline graphic 0.01 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.95 Inline graphic 0.01 0.98 Inline graphic 0.01 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.95 Inline graphic 0.01 0.98 Inline graphic 0.01 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.97 Inline graphic 0.01 0.90 Inline graphic 0.02 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.98 Inline graphic 0.01 0.79 Inline graphic 0.02 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.98 Inline graphic 0.01 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.97 Inline graphic 0.01 0.95 Inline graphic 0.01 0.98 Inline graphic 0.01 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01
pffr (Wild) 0.95 Inline graphic 0.01 0.93 Inline graphic 0.01 0.94 Inline graphic 0.01 1.00 Inline graphic 0.00 0.93 Inline graphic 0.01 0.98 Inline graphic 0.01
Inline graphic 0.85 Inline graphic 0.02 0.93 Inline graphic 0.01 0.90 Inline graphic 0.02 0.77 Inline graphic 0.02 0.93 Inline graphic 0.02 0.88 Inline graphic 0.02
Inline graphic
Inline graphic 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01
Inline graphic 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01
Inline graphic 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01
pffr (Wild) 1.00 Inline graphic 0.00 1.00 Inline graphic 0.00 1.00 Inline graphic 0.00 1.00 Inline graphic 0.00 1.00 Inline graphic 0.00 1.00 Inline graphic 0.00
Inline graphic 0.60 Inline graphic 0.03 0.88 Inline graphic 0.02 0.71 Inline graphic 0.03 0.60 Inline graphic 0.03 0.88 Inline graphic 0.02 0.71 Inline graphic 0.03
Inline graphic
Inline graphic 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.95 Inline graphic 0.01
Inline graphic 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.95 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.95 Inline graphic 0.01
Inline graphic 0.96 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.95 Inline graphic 0.01
Inline graphic 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.95 Inline graphic 0.01
Inline graphic 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.95 Inline graphic 0.01
Inline graphic 0.96 Inline graphic 0.01 0.94 Inline graphic 0.01 0.96 Inline graphic 0.01 0.95 Inline graphic 0.01 0.94 Inline graphic 0.01 0.95 Inline graphic 0.01
pffr (Wild) 0.99 Inline graphic 0.00 0.94 Inline graphic 0.01 0.97 Inline graphic 0.01 1.00 Inline graphic 0.00 0.97 Inline graphic 0.01 1.00 Inline graphic 0.00
Inline graphic 0.80 Inline graphic 0.02 0.93 Inline graphic 0.02 0.88 Inline graphic 0.02 0.74 Inline graphic 0.03 0.92 Inline graphic 0.02 0.87 Inline graphic 0.02

Table 4.

Relative pointwise CI width (mean Inline graphic SE) vs. pffr (Wild). SEInline graphic indicates a value Inline graphic. We denote Inline graphic and Inline graphic and Inline graphic as the upper/lower bounds of the CIs (at s) of the indicated method and pffr, respectively. Below we report the average ratio Inline graphic across 300 simulation replicates. Values Inline graphic indicate narrower 95% CIs. Values with Inline graphic indicate extreme outliers (from poor estimates) were removed from the average of that cell to avoid skewing results.

Exchangeable AR(1)
Method Gaussian Poisson Binomial Gaussian Poisson Binomial
Inline graphic
Inline graphic 0.75 Inline graphic 0.01 0.83 Inline graphic 0.00 0.85 Inline graphic 0.01 0.75 Inline graphic 0.01 0.83 Inline graphic 0.00 0.82 Inline graphic 0.01
Inline graphic 0.78 Inline graphic 0.01 0.87 Inline graphic 0.01 0.84 Inline graphic 0.01 0.77 Inline graphic 0.01 0.83 Inline graphic 0.00 0.80 Inline graphic 0.01
Inline graphic 0.83 Inline graphic 0.01 0.92 Inline graphic 0.00 0.94 Inline graphic 0.01 0.80 Inline graphic 0.01 0.91 Inline graphic 0.00 0.87 Inline graphic 0.01
Inline graphic 0.86 Inline graphic 0.01 0.92 Inline graphic 0.00 0.92 Inline graphic 0.01 0.83 Inline graphic 0.01 0.90 Inline graphic 0.00 0.86 Inline graphic 0.01
Inline graphic 0.75 Inline graphic 0.01 0.83 Inline graphic 0.00 0.90 Inline graphic 0.04 0.75 Inline graphic 0.01 0.83 Inline graphic 0.00 0.82 Inline graphic 0.01
Inline graphic 0.78 Inline graphic 0.01 0.90 Inline graphic 0.02 1.00 Inline graphic 0.05 0.77 Inline graphic 0.01 0.83 Inline graphic 0.00 0.81 Inline graphic 0.01
Inline graphic 0.83 Inline graphic 0.01 0.92 Inline graphic 0.00 0.94 Inline graphic 0.01 0.80 Inline graphic 0.01 0.91 Inline graphic 0.00 0.87 Inline graphic 0.01
Inline graphic 0.86 Inline graphic 0.01 0.92 Inline graphic 0.00 0.93 Inline graphic 0.01 0.83 Inline graphic 0.01 0.90 Inline graphic 0.00 0.86 Inline graphic 0.01
Inline graphic
Inline graphic 0.79 Inline graphic 0.01 0.78 Inline graphic 0.01 1.18 Inline graphic 0.01 0.51 Inline graphic 0.00 0.87 Inline graphic 0.00 0.82 Inline graphic 0.00
Inline graphic 0.83 Inline graphic 0.01 0.82 Inline graphic 0.01 1.18 Inline graphic 0.01 0.50 Inline graphic 0.00 0.87 Inline graphic 0.00 0.81 Inline graphic 0.00
Inline graphic 1.00 Inline graphic 0.01 1.06 Inline graphic 0.00 1.39 Inline graphic 0.01 0.57 Inline graphic 0.00 1.01 Inline graphic 0.00 0.90 Inline graphic 0.00
Inline graphic 1.02 Inline graphic 0.01 1.05 Inline graphic 0.00 1.35 Inline graphic 0.01 0.56 Inline graphic 0.00 1.00 Inline graphic 0.00 0.89 Inline graphic 0.00
Inline graphic 0.79 Inline graphic 0.01 0.78 Inline graphic 0.01 2.23 Inline graphic 0.21 0.51 Inline graphic 0.00 0.87 Inline graphic 0.00 0.82 Inline graphic 0.00
Inline graphic 0.83 Inline graphic 0.01 0.96 Inline graphic 0.11 5.29 Inline graphic 0.58Inline graphic 0.50 Inline graphic 0.00 0.87 Inline graphic 0.00 0.81 Inline graphic 0.00
Inline graphic 1.00 Inline graphic 0.01 1.06 Inline graphic 0.00 1.39 Inline graphic 0.01 0.57 Inline graphic 0.00 1.01 Inline graphic 0.00 0.90 Inline graphic 0.00
Inline graphic 1.02 Inline graphic 0.01 1.06 Inline graphic 0.00 1.37 Inline graphic 0.01 0.56 Inline graphic 0.00 1.00 Inline graphic 0.00 0.89 Inline graphic 0.00
Inline graphic
Inline graphic 0.62 Inline graphic 0.00 0.72 Inline graphic 0.00 0.65 Inline graphic 0.00 0.60 Inline graphic 0.00 0.72 Inline graphic 0.00 0.62 Inline graphic 0.00
Inline graphic 0.63 Inline graphic 0.01 0.74 Inline graphic 0.00 0.64 Inline graphic 0.00 0.61 Inline graphic 0.01 0.72 Inline graphic 0.00 0.61 Inline graphic 0.00
Inline graphic 0.70 Inline graphic 0.00 0.83 Inline graphic 0.00 0.72 Inline graphic 0.00 0.66 Inline graphic 0.00 0.80 Inline graphic 0.00 0.66 Inline graphic 0.00
Inline graphic 0.71 Inline graphic 0.01 0.83 Inline graphic 0.00 0.71 Inline graphic 0.00 0.68 Inline graphic 0.01 0.80 Inline graphic 0.00 0.65 Inline graphic 0.00
Inline graphic 0.62 Inline graphic 0.00 0.72 Inline graphic 0.00 0.65 Inline graphic 0.00 0.60 Inline graphic 0.00 0.72 Inline graphic 0.00 0.62 Inline graphic 0.00
Inline graphic 0.63 Inline graphic 0.01 0.76 Inline graphic 0.01 0.74 Inline graphic 0.07 0.61 Inline graphic 0.01 0.72 Inline graphic 0.00 0.61 Inline graphic 0.00
Inline graphic 0.70 Inline graphic 0.00 0.83 Inline graphic 0.00 0.72 Inline graphic 0.00 0.66 Inline graphic 0.00 0.80 Inline graphic 0.00 0.66 Inline graphic 0.00
Inline graphic 0.71 Inline graphic 0.01 0.83 Inline graphic 0.00 0.71 Inline graphic 0.00 0.68 Inline graphic 0.01 0.80 Inline graphic 0.00 0.66 Inline graphic 0.00
Inline graphic
Inline graphic 0.75 Inline graphic 0.00 0.70 Inline graphic 0.00 1.07 Inline graphic 0.01 0.37 Inline graphic 0.00 0.83 Inline graphic 0.00 0.69 Inline graphic 0.00
Inline graphic 0.77 Inline graphic 0.00 0.73 Inline graphic 0.01 1.05 Inline graphic 0.01 0.37 Inline graphic 0.00 0.83 Inline graphic 0.00 0.68 Inline graphic 0.00
Inline graphic 0.85 Inline graphic 0.00 1.02 Inline graphic 0.00 1.18 Inline graphic 0.01 0.42 Inline graphic 0.00 0.99 Inline graphic 0.00 0.76 Inline graphic 0.00
Inline graphic 0.86 Inline graphic 0.00 1.03 Inline graphic 0.00 1.16 Inline graphic 0.01 0.42 Inline graphic 0.00 0.99 Inline graphic 0.00 0.75 Inline graphic 0.00
Inline graphic 0.75 Inline graphic 0.00 0.70 Inline graphic 0.00 1.42 Inline graphic 0.10 0.37 Inline graphic 0.00 0.83 Inline graphic 0.00 0.69 Inline graphic 0.00
Inline graphic 0.77 Inline graphic 0.00 0.74 Inline graphic 0.01 4.05 Inline graphic 0.55 0.37 Inline graphic 0.00 0.83 Inline graphic 0.00 0.68 Inline graphic 0.00
Inline graphic 0.85 Inline graphic 0.00 1.02 Inline graphic 0.00 1.19 Inline graphic 0.01 0.42 Inline graphic 0.00 0.99 Inline graphic 0.00 0.76 Inline graphic 0.00
Inline graphic 0.86 Inline graphic 0.00 1.03 Inline graphic 0.00 1.16 Inline graphic 0.01 0.42 Inline graphic 0.00 0.99 Inline graphic 0.00 0.75 Inline graphic 0.00
Inline graphic
Inline graphic 0.25 Inline graphic 0.00 0.36 Inline graphic 0.00 0.22 Inline graphic 0.00 0.24 Inline graphic 0.00 0.35 Inline graphic 0.00 0.21 Inline graphic 0.00
Inline graphic 0.25 Inline graphic 0.00 0.36 Inline graphic 0.00 0.22 Inline graphic 0.00 0.24 Inline graphic 0.00 0.36 Inline graphic 0.00 0.21 Inline graphic 0.00
Inline graphic 0.29 Inline graphic 0.00 0.42 Inline graphic 0.00 0.25 Inline graphic 0.00 0.27 Inline graphic 0.00 0.40 Inline graphic 0.00 0.23 Inline graphic 0.00
Inline graphic 0.28 Inline graphic 0.00 0.42 Inline graphic 0.00 0.25 Inline graphic 0.00 0.26 Inline graphic 0.00 0.40 Inline graphic 0.00 0.23 Inline graphic 0.00
Inline graphic 0.25 Inline graphic 0.00 0.36 Inline graphic 0.00 0.22 Inline graphic 0.00 0.24 Inline graphic 0.00 0.35 Inline graphic 0.00 0.21 Inline graphic 0.00
Inline graphic 0.25 Inline graphic 0.00 0.36 Inline graphic 0.00 0.22 Inline graphic 0.00 0.24 Inline graphic 0.00 0.36 Inline graphic 0.00 0.21 Inline graphic 0.00
Inline graphic 0.29 Inline graphic 0.00 0.42 Inline graphic 0.00 0.25 Inline graphic 0.00 0.27 Inline graphic 0.00 0.40 Inline graphic 0.00 0.23 Inline graphic 0.00
Inline graphic 0.28 Inline graphic 0.00 0.42 Inline graphic 0.00 0.25 Inline graphic 0.00 0.26 Inline graphic 0.00 0.40 Inline graphic 0.00 0.23 Inline graphic 0.00
Inline graphic
Inline graphic 0.43 Inline graphic 0.00 0.57 Inline graphic 0.00 0.77 Inline graphic 0.00 0.12 Inline graphic 0.00 0.69 Inline graphic 0.00 0.27 Inline graphic 0.00
Inline graphic 0.43 Inline graphic 0.00 0.58 Inline graphic 0.00 0.75 Inline graphic 0.00 0.12 Inline graphic 0.00 0.69 Inline graphic 0.00 0.27 Inline graphic 0.00
Inline graphic 0.46 Inline graphic 0.00 0.96 Inline graphic 0.00 0.76 Inline graphic 0.00 0.14 Inline graphic 0.00 0.84 Inline graphic 0.00 0.30 Inline graphic 0.00
Inline graphic 0.46 Inline graphic 0.00 0.97 Inline graphic 0.00 0.75 Inline graphic 0.00 0.13 Inline graphic 0.00 0.85 Inline graphic 0.00 0.30 Inline graphic 0.00
Inline graphic 0.43 Inline graphic 0.00 0.57 Inline graphic 0.00 0.77 Inline graphic 0.00 0.12 Inline graphic 0.00 0.69 Inline graphic 0.00 0.27 Inline graphic 0.00
Inline graphic 0.43 Inline graphic 0.00 0.58 Inline graphic 0.00 0.75 Inline graphic 0.00 0.12 Inline graphic 0.00 0.69 Inline graphic 0.00 0.27 Inline graphic 0.00
Inline graphic 0.46 Inline graphic 0.00 0.96 Inline graphic 0.00 0.76 Inline graphic 0.00 0.14 Inline graphic 0.00 0.84 Inline graphic 0.00 0.30 Inline graphic 0.00
Inline graphic 0.46 Inline graphic 0.00 0.97 Inline graphic 0.00 0.75 Inline graphic 0.00 0.13 Inline graphic 0.00 0.85 Inline graphic 0.00 0.30 Inline graphic 0.00

Table 5.

Computation time in seconds (mean Inline graphic SE) averaged across 300 simulation replicates. SEInline graphic indicates a value Inline graphic.

Exchangeable AR(1)
Method Gaussian Poisson Binomial Gaussian Poisson Binomial
Inline graphic
Inline graphic 2.22 Inline graphic 0.05 2.47 Inline graphic 0.05 2.49 Inline graphic 0.05 2.12 Inline graphic 0.01 2.25 Inline graphic 0.01 2.40 Inline graphic 0.02
Inline graphic 4.57 Inline graphic 0.12 4.71 Inline graphic 0.08 4.75 Inline graphic 0.08 4.32 Inline graphic 0.02 4.67 Inline graphic 0.04 5.01 Inline graphic 0.06
Inline graphic 1.16 Inline graphic 0.02 1.37 Inline graphic 0.03 1.38 Inline graphic 0.03 1.08 Inline graphic 0.00 1.24 Inline graphic 0.01 1.33 Inline graphic 0.01
Inline graphic 0.66 Inline graphic 0.01 0.83 Inline graphic 0.02 0.84 Inline graphic 0.02 0.64 Inline graphic 0.00 0.74 Inline graphic 0.00 0.80 Inline graphic 0.01
Inline graphic 7.74 Inline graphic 0.17 7.94 Inline graphic 0.18 12.56 Inline graphic 0.53 6.96 Inline graphic 0.05 8.07 Inline graphic 0.28 11.95 Inline graphic 0.50
Inline graphic 12.98 Inline graphic 0.28 35.67 Inline graphic 2.85 32.97 Inline graphic 2.17 11.99 Inline graphic 0.07 17.72 Inline graphic 0.72 24.82 Inline graphic 0.83
Inline graphic 3.37 Inline graphic 0.07 3.22 Inline graphic 0.07 4.60 Inline graphic 0.20 3.08 Inline graphic 0.02 4.37 Inline graphic 0.37 6.17 Inline graphic 0.52
Inline graphic 0.87 Inline graphic 0.02 1.08 Inline graphic 0.02 1.33 Inline graphic 0.04 0.84 Inline graphic 0.00 4.08 Inline graphic 0.70 5.03 Inline graphic 0.90
pffr (Wild) 2.59 Inline graphic 0.05 2.84 Inline graphic 0.06 2.78 Inline graphic 0.05 2.42 Inline graphic 0.01 2.61 Inline graphic 0.02 2.63 Inline graphic 0.02
Inline graphic 0.36 Inline graphic 0.01 0.48 Inline graphic 0.01 0.56 Inline graphic 0.01 0.35 Inline graphic 0.00 0.45 Inline graphic 0.01 0.56 Inline graphic 0.01
Inline graphic
Inline graphic 6.94 Inline graphic 0.02 8.50 Inline graphic 0.02 8.65 Inline graphic 0.08 8.96 Inline graphic 0.17 8.29 Inline graphic 0.04 8.51 Inline graphic 0.06
Inline graphic 7.43 Inline graphic 0.02 9.15 Inline graphic 0.02 9.38 Inline graphic 0.08 9.91 Inline graphic 0.19 9.03 Inline graphic 0.04 9.27 Inline graphic 0.06
Inline graphic 10.71 Inline graphic 0.02 12.13 Inline graphic 0.02 12.50 Inline graphic 0.11 14.09 Inline graphic 0.26 11.86 Inline graphic 0.04 12.27 Inline graphic 0.08
Inline graphic 4.21 Inline graphic 0.02 5.40 Inline graphic 0.02 5.80 Inline graphic 0.05 4.59 Inline graphic 0.08 5.15 Inline graphic 0.03 5.68 Inline graphic 0.04
Inline graphic 20.78 Inline graphic 0.15 22.20 Inline graphic 0.20 71.49 Inline graphic 3.56 17.17 Inline graphic 0.35 15.42 Inline graphic 0.08 18.26 Inline graphic 0.15
Inline graphic 18.22 Inline graphic 0.12 45.69 Inline graphic 3.03 117.68 Inline graphic 5.27 19.08 Inline graphic 0.72 17.58 Inline graphic 0.62 20.11 Inline graphic 0.15
Inline graphic 37.38 Inline graphic 0.28 32.62 Inline graphic 0.21 46.32 Inline graphic 1.04 29.05 Inline graphic 0.56 26.49 Inline graphic 1.37 30.41 Inline graphic 0.25
Inline graphic 4.63 Inline graphic 0.03 6.02 Inline graphic 0.03 7.94 Inline graphic 0.14 4.84 Inline graphic 0.09 5.53 Inline graphic 0.03 6.79 Inline graphic 0.05
pffr (Wild) 6.69 Inline graphic 0.01 7.11 Inline graphic 0.02 6.90 Inline graphic 0.06 8.24 Inline graphic 0.14 6.95 Inline graphic 0.03 6.74 Inline graphic 0.04
Inline graphic 2.66 Inline graphic 0.02 3.00 Inline graphic 0.01 2.72 Inline graphic 0.02 3.03 Inline graphic 0.06 2.92 Inline graphic 0.02 2.70 Inline graphic 0.02
Inline graphic
Inline graphic 3.57 Inline graphic 0.06 3.73 Inline graphic 0.03 3.50 Inline graphic 0.01 3.40 Inline graphic 0.01 3.83 Inline graphic 0.02 3.83 Inline graphic 0.02
Inline graphic 7.71 Inline graphic 0.12 7.54 Inline graphic 0.10 7.55 Inline graphic 0.02 7.51 Inline graphic 0.03 7.98 Inline graphic 0.06 7.87 Inline graphic 0.04
Inline graphic 1.80 Inline graphic 0.03 1.97 Inline graphic 0.02 2.03 Inline graphic 0.01 1.71 Inline graphic 0.01 1.93 Inline graphic 0.02 1.89 Inline graphic 0.01
Inline graphic 0.84 Inline graphic 0.01 0.94 Inline graphic 0.01 1.00 Inline graphic 0.00 0.80 Inline graphic 0.00 0.96 Inline graphic 0.00 1.20 Inline graphic 0.01
Inline graphic 11.94 Inline graphic 0.22 11.80 Inline graphic 0.16 16.00 Inline graphic 0.28 10.61 Inline graphic 0.06 11.65 Inline graphic 0.09 16.18 Inline graphic 0.30
Inline graphic 20.36 Inline graphic 0.31 43.17 Inline graphic 3.27 37.27 Inline graphic 1.85 19.67 Inline graphic 0.13 24.21 Inline graphic 0.86 31.17 Inline graphic 0.28
Inline graphic 5.23 Inline graphic 0.09 4.68 Inline graphic 0.06 7.16 Inline graphic 0.09 4.53 Inline graphic 0.03 4.63 Inline graphic 0.03 6.99 Inline graphic 0.10
Inline graphic 1.09 Inline graphic 0.02 1.20 Inline graphic 0.01 1.43 Inline graphic 0.01 1.02 Inline graphic 0.00 1.17 Inline graphic 0.00 1.42 Inline graphic 0.01
pffr (Wild) 2.98 Inline graphic 0.05 2.91 Inline graphic 0.03 2.85 Inline graphic 0.01 2.79 Inline graphic 0.01 2.99 Inline graphic 0.03 2.84 Inline graphic 0.01
Inline graphic 0.72 Inline graphic 0.01 0.66 Inline graphic 0.01 0.51 Inline graphic 0.00 0.69 Inline graphic 0.00 0.69 Inline graphic 0.01 0.51 Inline graphic 0.01
Inline graphic
Inline graphic 13.07 Inline graphic 0.07 16.17 Inline graphic 0.03 17.13 Inline graphic 0.24 13.65 Inline graphic 0.20 19.73 Inline graphic 0.55 20.65 Inline graphic 0.40
Inline graphic 13.93 Inline graphic 0.07 17.90 Inline graphic 0.04 18.27 Inline graphic 0.25 14.44 Inline graphic 0.22 21.12 Inline graphic 0.50 21.52 Inline graphic 0.40
Inline graphic 19.82 Inline graphic 0.06 23.36 Inline graphic 0.04 24.25 Inline graphic 0.34 20.96 Inline graphic 0.30 28.06 Inline graphic 0.65 29.24 Inline graphic 0.54
Inline graphic 7.23 Inline graphic 0.06 10.67 Inline graphic 0.04 10.58 Inline graphic 0.14 6.65 Inline graphic 0.09 11.41 Inline graphic 0.26 12.51 Inline graphic 0.21
Inline graphic 31.44 Inline graphic 0.17 38.99 Inline graphic 0.29 94.21 Inline graphic 4.64 24.47 Inline graphic 0.40 35.64 Inline graphic 0.86 41.81 Inline graphic 0.93
Inline graphic 30.35 Inline graphic 0.16 68.70 Inline graphic 4.12 167.87 Inline graphic 8.92 26.07 Inline graphic 0.38 39.29 Inline graphic 0.87 51.02 Inline graphic 3.07
Inline graphic 56.71 Inline graphic 0.33 59.48 Inline graphic 0.32 81.54 Inline graphic 1.35 44.86 Inline graphic 2.11 55.77 Inline graphic 1.25 70.31 Inline graphic 1.53
Inline graphic 7.95 Inline graphic 0.05 10.88 Inline graphic 0.06 14.01 Inline graphic 0.18 7.55 Inline graphic 0.09 12.54 Inline graphic 0.32 14.86 Inline graphic 0.33
pffr (Wild) 9.67 Inline graphic 0.03 11.32 Inline graphic 0.02 10.10 Inline graphic 0.12 9.97 Inline graphic 0.13 12.77 Inline graphic 0.36 11.94 Inline graphic 0.20
Inline graphic 4.67 Inline graphic 0.02 5.62 Inline graphic 0.02 4.56 Inline graphic 0.06 4.68 Inline graphic 0.06 6.34 Inline graphic 0.16 5.47 Inline graphic 0.10
Inline graphic
Inline graphic 30.28 Inline graphic 0.27 32.41 Inline graphic 0.43 31.90 Inline graphic 0.26 29.85 Inline graphic 0.31 38.94 Inline graphic 0.79 32.75 Inline graphic 0.07
Inline graphic 56.86 Inline graphic 0.46 60.19 Inline graphic 0.71 59.45 Inline graphic 0.44 57.88 Inline graphic 0.50 71.17 Inline graphic 1.27 61.01 Inline graphic 0.14
Inline graphic 12.59 Inline graphic 0.10 14.28 Inline graphic 0.17 14.55 Inline graphic 0.11 12.47 Inline graphic 0.11 16.52 Inline graphic 0.30 14.49 Inline graphic 0.03
Inline graphic 3.42 Inline graphic 0.03 5.11 Inline graphic 0.06 5.38 Inline graphic 0.04 3.39 Inline graphic 0.03 5.79 Inline graphic 0.11 5.36 Inline graphic 0.01
Inline graphic 70.57 Inline graphic 0.65 89.43 Inline graphic 1.20 104.10 Inline graphic 1.00 70.65 Inline graphic 0.73 102.98 Inline graphic 2.20 104.37 Inline graphic 0.49
Inline graphic 122.42 Inline graphic 1.26 162.84 Inline graphic 2.16 200.21 Inline graphic 1.59 131.24 Inline graphic 8.02 183.09 Inline graphic 3.39 193.70 Inline graphic 0.87
Inline graphic 25.21 Inline graphic 0.21 29.30 Inline graphic 0.38 37.51 Inline graphic 0.29 24.35 Inline graphic 0.23 33.84 Inline graphic 0.63 36.19 Inline graphic 0.16
Inline graphic 4.14 Inline graphic 0.03 6.16 Inline graphic 0.07 7.24 Inline graphic 0.05 4.11 Inline graphic 0.03 6.94 Inline graphic 0.13 6.98 Inline graphic 0.02
pffr (Wild) 6.58 Inline graphic 0.05 7.16 Inline graphic 0.07 6.90 Inline graphic 0.04 6.31 Inline graphic 0.05 8.21 Inline graphic 0.13 6.95 Inline graphic 0.02
Inline graphic 2.69 Inline graphic 0.02 2.94 Inline graphic 0.03 2.74 Inline graphic 0.02 2.64 Inline graphic 0.02 3.34 Inline graphic 0.05 2.75 Inline graphic 0.01
Inline graphic
Inline graphic 111.85 Inline graphic 0.27 149.61 Inline graphic 0.84 198.96 Inline graphic 3.74 113.00 Inline graphic 1.58 148.51 Inline graphic 0.36 189.01 Inline graphic 3.48
Inline graphic 118.14 Inline graphic 0.35 151.87 Inline graphic 0.98 213.95 Inline graphic 4.25 123.12 Inline graphic 1.61 150.03 Inline graphic 0.34 203.80 Inline graphic 3.94
Inline graphic 178.16 Inline graphic 0.37 215.29 Inline graphic 1.16 268.15 Inline graphic 5.33 189.46 Inline graphic 2.57 210.95 Inline graphic 0.49 256.99 Inline graphic 4.94
Inline graphic 54.11 Inline graphic 0.25 81.74 Inline graphic 0.57 122.54 Inline graphic 2.24 59.04 Inline graphic 0.74 84.63 Inline graphic 0.46 104.11 Inline graphic 1.97
Inline graphic 194.44 Inline graphic 0.38 264.40 Inline graphic 1.82 449.09 Inline graphic 10.68 179.31 Inline graphic 2.83 223.57 Inline graphic 0.77 295.21 Inline graphic 6.39
Inline graphic 210.18 Inline graphic 0.88 328.53 Inline graphic 12.12 538.08 Inline graphic 16.18 213.07 Inline graphic 3.01 263.79 Inline graphic 1.25 336.11 Inline graphic 6.46
Inline graphic 371.03 Inline graphic 0.74 421.48 Inline graphic 3.08 661.56 Inline graphic 14.27 324.73 Inline graphic 4.74 364.12 Inline graphic 1.93 500.39 Inline graphic 10.45
Inline graphic 65.97 Inline graphic 0.28 92.03 Inline graphic 0.60 125.46 Inline graphic 2.23 62.81 Inline graphic 1.08 88.82 Inline graphic 0.39 118.41 Inline graphic 1.93
pffr (Wild) 49.35 Inline graphic 0.22 56.25 Inline graphic 0.32 61.14 Inline graphic 1.00 51.59 Inline graphic 0.53 54.28 Inline graphic 0.18 59.47 Inline graphic 0.90
Inline graphic 37.16 Inline graphic 0.10 44.27 Inline graphic 0.23 49.47 Inline graphic 0.87 39.71 Inline graphic 0.44 43.32 Inline graphic 0.14 48.18 Inline graphic 0.78

In Appendix C.1 we show results for an fGEE that uses FPCA to estimate Inline graphic, and for simulations with gamma-distributed data. In Appendix C.3 we show results from additional simulations to compare our method with the approach of Li et al. (2022) for continuous outcomes. The outcomes are generated to be correlated in both longitudinal and functional directions with a simulation scheme that differs from the Kronecker product approach above. These results show that our one-step achieves comparable coefficient estimation RMSE, yields far better pointwise coverage with large cluster sizes, and scales to bigger datasets.

5. Application

We apply our framework to calcium imaging data to illustrate the benefits of longitudinal FDA in analyzing neural recordings. In Appendix D.1, we describe what we have observed are common strategies among experimentalists for hypothesis testing of covariate-neural activity associations, as they have similar goals to our proposed method. These approaches seem to vary largely in how 1) the target neural population is defined, 2) the longitudinal structure is accounted for, and 3) the trial-level neural time-series are modeled. To address limitations in these strategies, we apply our fGEE to a dataset that pools neurons across animals (akin to a “neural pseudo-population” strategy). This accounts for the 1) longitudinal and 2) functional nature of the response in each cluster (i.e., neuron), and 3) does not discard uncertainty in the animal-specific estimates in providing an overall neural pseudo population-level estimate. This assumes correlation between neurons within-animal is negligible. In some cases, it may be preferable to apply a fGEE to the neurons in each animal separately, but this necessitates an approach to construct a pooled estimate of animal-level fits that propagates uncertainty.

Application background

We apply our method on data from a recent Nature paper studying the role of pyramidal neurons in the primary somatosensory cortex (S1) in behavior and sensory input (Inácio et al., 2025). This study recorded neuronal activity in five mice, from Inline graphic (meanInline graphic SEM: Inline graphic) neurons per animal. Recording was done in head-fixed animals, running on a ball that tracked their movement speed. The authors were interested in identifying S1 neurons active during spontaneous movements. They tested whether each S1 neuron was associated with running speed, whisker movement, and whisker sensory input.

Identifying neural activity encoding speed information

The correlation analysis used in the original paper could only test the neural activity–speed association on average within trials. In contrast, an FDA approach can test how this association evolves across trial timepoints. To demonstrate that, we randomly sampled Inline graphic neurons (clusters) from the five animals, and identified five-second intervals when animals spontaneously began to run. Each running burst was considered a “trial” (experimental replicate) as typically analyzed in neuroscience. Thus the functional outcome for neuron i, on trial j was a binary timeseries vector across five seconds of neural activity measured at 30 Hz (starting at the onset of the running bout). This results in a functional outcome measured at an evenly spaced grid of Inline graphic points. Speed, Inline graphic was defined as a functional covariate and took the same value for all neurons recorded from the same animal. The cluster size was Inline graphic for all neurons Inline graphic. We fit the model Inline graphic, with an AR1 working correlation in both longitudinal and functional directions (see Figure 1a). The results were consistent across a range of working correlation structures (see Appendix D.2).

Figure 1.

For image description, please refer to the figure legend and surrounding text.

Functional coefficient one-step estimates. fGEE models (one-step and fully-iterated) were fit with a working covariance Inline graphic where Inline graphic and Inline graphic have an AR1 structure each parameterized by separate Inline graphic and Inline graphic AR1 correlation parameters. Dark and light bands indicate pointwise and joint 95% CIs, respectively. CIs for both Inline graphic and the fGEE models were constructed with a sandwich variance estimator and CI quantiles obtained from a wild cluster bootstrap. The fGEE models (one-step and fully-iterated) show tighter confidence intervals than the Inline graphic fits. In fact, the Inline graphic fits do not show any time intervals in the Inline graphic or Inline graphic functional coefficient estimate plots that are statistically significant according to the joint CIs. Fit times (seconds) on a laptop without parallelization were (a) Inline graphic 11.58; one-step 41.84; Full-1Step 255.12; and (b) Inline graphic 97.47; one-step 349.84; Full-1Step 1131.92.

The most salient finding was that the speed–neural activity association does not become significant until a few seconds after the animals begin to run and that association becomes non-significant fairly quickly (see Figure 1a). The timing of the association suggests that these neurons are not driving the movement of the animal. This shows how the timing sensitivity of fGEE can help identify the type of cognition or behavior a brain region encodes, which is much harder to do with analyses of trial summary measures.

Whisker stimulation

The authors of Inácio et al. (2025) were also interested in how whisker stimulation affected S1 neural activity. The summary analyses they conducted only allowed estimation of the extent to which whisker stimulation changed neural activity on average across within-trial timepoints. To characterize the “temporal dynamics” of the neural response to this manipulation, we applied our method to activity from Inline graphic randomly selected neurons (clusters), each with Inline graphic observations of the functional outcome: 4 sec of neural activity, measured 1 sec before whisker stimulation to 3 sec after (Inline graphic). We fit the model Inline graphic, where Inline graphic is an indicator that neuron i was recorded from an animal that was stimulated on trial j. We adopted AR1 working correlations in longitudinal and functional directions because longitudinal and functional domains are defined as between- and within-trial timepoints, respectively.

The one-step estimator, fit to 150,000 functional observations, took Inline graphic6.5 min to fit on a MacBook Pro with an Apple M1 Max chip with 64 GB of RAM, without parallelization, and maintained a reasonable memory footprint throughout. The coefficient associated with stimulation, Inline graphic, shows the estimated mean difference in neural activity between stimulated and non-stimulated trials. It appears stimulation leads to a rapid reduction in activity (see Figure 1b). The results were consistent across working correlation structures (see Appendix D.2). This analysis shows how the one-step makes it possible to identify a clear temporal profile for the effect of interest, and is scalable enough to allow estimation over a large sample of neurons.

The above analyses also demonstrate how fGEE yields more efficient inference than using a sandwich variance estimator to construct CIs centered at a Inline graphic fit. In contrast to the one-step, the Inline graphic fits do not show any time intervals in the Inline graphic or Inline graphic analyses that are statistically significant based on the joint CIs. In Figure 1b we also show estimates from a fully-iterated fGEE that uses the fast (one-step) cluster CV for smoothing parameter tuning (“Full-1Step”). The fully-iterated and one-step estimates are nearly indistinguishable, highlighting our theoretical result that the one-step is asymptotically equivalent to a fully-iterated fGEE.

6. Discussion

We hope that by developing a method that can scale to dataset sizes common in calcium imaging and electrophysiology research, we will encourage neuroscientists to apply longitudinal FDA in these settings. While FDA methods have been applied extensively in human neuroimaging (Cui et al., 2022; Guha Niyogi and Zhong, 2025; Zhu et al., 2019), little work, to our knowledge, has sought to apply these tools to neural recordings from animal model data. We believe, however, that FDA methods have great potential to help researchers answer a range of scientific questions common in animal model studies. For example, longitudinal FDA may be beneficial for estimating tuning curves that show how mean neural responding evolves depending on a tuning variable, like the volume of an auditory cue or the angle a visual stimulus is presented at. Since neuroscientists often analyze how tuning curves differ across covariate values (treatment vs. control arm), and data are collected across multiple experimental replicates within-subject (“trials”), longitudinal FDA provides a natural strategy for inference.

The one-step fGEE can be extended in a range of related settings. For example, our implementation can be adapted for flexible Inline graphic forms (e.g., Inline graphic with unstructured working covariance) and would likely be fast for moderate Inline graphic. Some Inline graphic forms (e.g., Kronecker product) for multivariate functional domains can also be scalable. In Appendix A.8, we also describe a fast one-step cluster bootstrap as an alternative estimator for Inline graphic. In preliminary simulations the bootstrap and sandwich Inline graphic estimates were nearly identical. This may therefore provide a fast and flexible strategy to construct CIs for functions/transformations Inline graphic of the coefficients (e.g., derivatives) without having to derive analytic forms of Inline graphic. Finally, future work might explore generalized cross-validation for fGEE smoothing parameter selection.

We release our methods in the Inline graphic package Inline graphic, which supports a wide range of link functions, implements fGEE based on quasi-likelihoods deriving from many distributions, and supports both functional and scalar outcomes and covariates. We hope our theoretical guarantees and efficient implementation encourage analysts to apply FDA methods more widely.

Supplementary Material

ujag106_Supplemental_File

Web Appendices, Tables, Figures, proofs and implementation details, referenced in Sections 1, 2.2, 3, 4, 5, and 6, as well as code and example application data, are available with this paper at the Biometrics website on Oxford Academic.

Acknowledgements

The contributions of the NIH author(s) were made as part of their official duties as NIH federal employees, are in compliance with agency policy requirements, and are considered Works of the United States Government. However, the findings and conclusions presented in this paper are those of the authors and do not necessarily reflect the views of the NIH or the U.S. Department of Health and Human Services. This study utilized the high-performance computational capabilities of the Biowulf Linux cluster at the NIH, Bethesda, MD (http://biowulf.nih.gov). We thank Drs. Soohyun Lee for providing data for our application, Yuan Zhao for help with data pre-processing, and Keith Goldfeld for sharing his package code. We acknowledge the use of AI to extend an initial version of our package, modify existing code to generate tables, and generate one Appendix figure (see Appendix A.11).

Contributor Information

Gabriel Loewinger, Machine Learning Core, National Institute of Mental Health 3D41, Building 10, Bethesda, MD 20892, United States.

Alexander W Levis, Department of Biostatistics, Epidemiology and Informatics, University of Pennsylvania, Philadelphia, PA 19104-6021, USA.

Erjia Cui, Division of Biostatistics and Health Data Science, University of Minnesota, Minneapolis, MN 55414, USA.

Francisco Pereira, Machine Learning Core, National Institute of Mental Health 3D41, Building 10, Bethesda, MD 20892, United States.

Funding

G.L. and F.P. were supported by the Intramural Research Program of the National Institute of Mental Health, project ZIC-MH002968.

Conflicts of interest

None declared.

Data availability

For our code and Inline graphic package, see: https://github.com/gloewing/fgee_onestep. Application datasets are available at: https://osf.io/b93dc/files/osfstorage.

References

  1. Ammar  G. S., Gragg  W. B. (1988). Superfast solution of real positive definite Toeplitz systems. SIAM Journal on Matrix Analysis and Applications, 9, 61–76. [Google Scholar]
  2. Chen  H., Wang  Y., Paik  M. C., Choi  H. A. (2013). A marginal approach to reduced-rank penalized spline smoothing with application to multilevel functional data. Journal of the American Statistical Association, 108, 1216–1229. [DOI] [PMC free article] [PubMed] [Google Scholar]
  3. Cheng  G., Yu  Z., Huang  J. Z. (2013). The cluster bootstrap consistency in generalized estimating equations. Journal of Multivariate Analysis, 115, 33–47. [Google Scholar]
  4. Cui  E., Leroux  A., Smirnova  E., Crainiceanu  C. M. (2022). Fast univariate inference for longitudinal functional models. Journal of Comp. and Graphical Statistics, 31, 219–230. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Grienberger  C., Giovannucci  A., Zeiger  W., Portera-Cailliau  C. (2022). Two-photon calcium imaging of neuronal activity. Nature Reviews Methods Primers, 2, 67. [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Guha Niyogi  P., Zhong  P.-S. (2025). Quadratic inference with dense functional responses. Journal of Multivariate Analysis, 207, 105400. [DOI] [PMC free article] [PubMed] [Google Scholar]
  7. Guo  W. (2002). Functional mixed effects models. Biometrics, 58, 121–128. [DOI] [PubMed] [Google Scholar]
  8. Inácio  A. R., Lam  K. C., Zhao  Y., Pereira  F., Gerfen  C. R., Lee  S. (2025). Brain-wide presynaptic networks of functionally distinct cortical neurons. Nature, 641, 162–172. [DOI] [PMC free article] [PubMed] [Google Scholar]
  9. Li  R., Xiao  L., Smirnova  E., Cui  E., Leroux  A., Crainiceanu  C. (2022). Fixed-effects inference and tests of correlation for longitudinal functional data. Statistics in Medicine, 41, 3349–3364. [DOI] [PMC free article] [PubMed] [Google Scholar]
  10. Liang  K.-Y., Zeger  S. L. (1986). Longitudinal data analysis using generalized linear models. Biometrika, 73, 13–22. [Google Scholar]
  11. Lipsitz  S., Fitzmaurice  G., Sinha  D., Hevelone  N., Hu  J., Nguyen  L. L. (2017). One-step generalized estimating equations with large cluster sizes. Journal of Computational and Graphical Statistics, 26, 734–737. [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Loewinger  G., Cui  E., Lovinger  D., Pereira  F. (2025). A statistical framework for analysis of trial-level temporal dynamics in fiber photometry experiments. Elife, 13, RP95802. [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Morris  J. S., Carroll  R. J. (2006). Wavelet-based functional mixed models. Journal of the Royal Statistical Society Series B: Statistical Methodology, 68, 179–199. [DOI] [PMC free article] [PubMed] [Google Scholar]
  14. Nelsen  R. B. (2006). An Introduction to Copulas. Springer. [Google Scholar]
  15. Qu  A., Li  R. (2005). Quadratic inference functions for varying-coefficient models with longitudinal data. Biometrics, 62, 379–391. [DOI] [PMC free article] [PubMed] [Google Scholar]
  16. Ramsay  J. O., Silverman  B. W. (2005). Functional Data Analysis. New York, NY: Springer. [Google Scholar]
  17. Scheipl  F., Gertheiss  J., Greven  S. (2016). Generalized functional additive mixed models. Electronic Journal of Statistics, 10, 1455–1492. [Google Scholar]
  18. Steinmetz  N. A., Koch  C., Harris  K. D., Carandini  M. (2018). Challenges and opportunities for large-scale electrophysiology with Neuropixels probes. Current Opinion in Neurobiology, 50, 92–100. Neurotechnologies. [DOI] [PMC free article] [PubMed] [Google Scholar]
  19. Wang  J.-L., Chiou  J.-M., Müller  H.-G. (2016). Functional data analysis. Annual Review of Statistics and Its Application, 3, 257–295. [Google Scholar]
  20. Wood  S. N. (2011). Fast stable restricted maximum likelihood and marginal likelihood estimation of semiparametric generalized linear models. Journal of the Royal Statistical Society B: Statistical Methodology, 73, 3–36. [Google Scholar]
  21. Xia  L., Shojaie  A. (2026). Inference for linear functionals of high-dimensional longitudinal proteomics data using generalized estimating equations. Biostatistics, 27. [DOI] [PubMed] [Google Scholar]
  22. Zeger  S. L., Liang  K.-Y. (1986). Longitudinal data analysis for discrete and continuous outcomes. Biometrics, 42, 121–130. [PubMed] [Google Scholar]
  23. Zhu  H., Chen  K., Luo  X., Yuan  Y., Wang  J.-L. (2019). Fmem: Functional mixed effects models for longitudinal functional responses. Statistica Sinica, 29, 2007. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

ujag106_Supplemental_File

Web Appendices, Tables, Figures, proofs and implementation details, referenced in Sections 1, 2.2, 3, 4, 5, and 6, as well as code and example application data, are available with this paper at the Biometrics website on Oxford Academic.

Data Availability Statement

For our code and Inline graphic package, see: https://github.com/gloewing/fgee_onestep. Application datasets are available at: https://osf.io/b93dc/files/osfstorage.


Articles from Biometrics are provided here courtesy of Oxford University Press

RESOURCES