Skip to main content

Maximum likelihood based analysis of equally spaced longitudinal count data with first-order antedependence and overdispersion

Abstract

This manuscript implements a maximum likelihood based approach that is appropriate for equally spaced longitudinal count data with over-dispersion, so that the variance of the outcome variable is larger than expected for the assumed Poisson distribution. We implement the proposed method in the analysis of seizure data and a subset of German Socio-Economic Panel data. To demonstrate the importance of correctly modeling the over-dispersion, we make comparisons with the semi-parametric generalized estimating equations approach that incorrectly ignores any over-dispersion in the data. Our simulations demonstrate that accounting for over-dispersion results in improved small-sample efficiency and appropriate coverage probabilities. We also provide code in R so that readers can implement our approach in their own analyses.

Background

Longitudinal count data are often encountered in scientific studies. For example, Thall and Vail (1990) analyzed repeated seizure counts on subjects in a clinical trial. Winkelmann (2004) analyzed doctor visits, to evaluate whether German health care reform caused a change in their distribution.

Common features of serial count data include intra-subject correlation, due to similarity between the repeated measurements on each participant, and over-dispersion, which occurs when the variance is larger than expected for the assumed distribution of the outcome variable (Efron 1992). Poisson regression is often applied for analysis of count data, but is usually not appropriate for longitudinal studies because it ignores intra-subject correlations and over-dispersion. Generalized Poisson regression (Consul and Famoye 1992) allows for both over- and under- dispersion, but assumes independence of measurements.

In this paper we implement a maximum-likelihood based method for the analysis of longitudinal count data with over-dispersion induced by the serial correlation of measurements. Key assumptions of the approach include the first-order Markov property and linearity of the expectations for the conditional distributions, which are assumed to be Poisson. In addition, we assume that the correlation between adjacent measurements on a subject is constant.

The assumptions of the first-order Markov property, linearity in the conditional expectations, and constant adjacent correlations have been shown to induce a first-order autoregressive AR(1) correlation structure for the repeated outcomes on each subject (Guerra and Shults 2014). The AR(1) structure forces a decline in the intra-subject correlations with increasing separation in time. Our method is therefore most appropriate for analysis of equally spaced longitudinal count data with over-dispersion.

Other approaches for analysis of over-dispersed longitudinal count data include semi-parametric approaches such as generalized estimating equations (GEE) (Liang and Zeger 1986). Vinod (2002) described econometric applications of GEE. Ghisletta and Spini (2004) provided a concise summary of GEE for the social sciences. GEE is widely used because it does not require specification of the full likelihood that can be quite complex for longitudinal discrete data. However, GEE does not account for over-dispersion. In addition, the relative ease of application of GEE for discrete data can also be a potential limitation for the approach. When only the first two moments of the distribution of the outcome variable are estimated, as they are for GEE, it is possible to obtain estimates that are not compatible with any valid parent distribution. As cautioned by Molenberghs and Kenward (2010), “the parent provides a natural description of the framework into which the semi-parametrically specified parameters fit. The implication is that such semi-parametric methods as GEE1, GEE2, ALR, etc. can always be applied because there is always a valid parent, and hence a probabilistic basis.”

We make comparisons with GEE to evaluate the impact of incorrectly ignoring over-dispersion when the models for the marginal mean and correlation structure are correct. We conduct simulations for moderately sized samples to demonstrate that when the likelihood is correctly specified, we have improved efficiency in estimation of the regression and correlation parameters for our approach relative to GEE that incorrectly ignores the over-dispersion.

Another model for longitudinal count data is the class of generalized linear mixed-effects models that incorporate random effects in the linear predictor. However, the implementation of likelihood based methods that involve random effects can be computationally challenging (p. 75, Fitzmaurice et al. 2008). In addition, in contrast to GEE, for mixed models it is not straightforward to specify a particular working correlation structure for the repeated measurements on subjects. For example, the AR(1) correlation structure is not among the covariance models that were suggested by Thall and Vail (1990). Mixed-effects models are typically employed when the goal is to estimate effects that are subject specific, because the analysis results are conditional on the random effects (Gardiner et al. 2009).

In general, likelihood based approaches like the one we implement in this paper enjoy several general advantages. Unlike semi-parametric approaches, they yield an estimated likelihood that can be used to conduct likelihood ratio tests and to compare the fit of models using criteria such as the Akaike information criterion (AIC) (Akaike 1974) and Bayesian information criterion (BIC) (Schwarz 1978). Maximum likelihood estimators are also most (asymptotically) efficient among a wide class of estimators (Serfling 2011) when the distribution is correctly specified. Our method in particular, allows for specification of the usual model for the marginal mean for Poisson data, while also accounting for over-dispersion and serial correlation in the data via the induced AR(1) correlation structure.

In "Methods" section we discuss the notation, model assumptions, the likelihood and likelihood equations. In 'Application" section we discuss an application of the methods followed by simulation studies in "Simulation studies" section. We conclude with a discussion in Conclusion" section.

Methods

Notation and model assumptions

The data comprise realizations \(y_{ij}\) of ordered discrete random variables \(Y_{ij}\) that are measured on subject i at time \(t_{ij}\) (\(i = 1,\ldots ,m\) and \(j = 1,\ldots ,n_i\)). Associated with each \(y_{ij}\) is a vector of explanatory variables (covariates) \(x_{ij}=(x_{ij1},\ldots ,x_{ijp})^{'}\). The expected value of measurement \(Y_{ij}\) on subject i is given by

$$\begin{aligned} E\left( Y_{ij}\right) =\mu _{ij} = \lambda _{ij}, \end{aligned}$$
(1)

and the variance by \(\text{ var }(Y_{ij}) = \sigma ^2_{ij}.\)

We assume that observations on different subjects are independent. Further, the measurements within subjects are correlated with a structure that depends on parameter \(\alpha \). Let \(\text{ cov }(Y_{ij},Y_{ik})\) represent the covariance and \(\text{ corr }(Y_{ij},Y_{ik})\) represent the correlation between \(Y_{ij}\) and \(Y_{ik}.\)

We make three assumptions. First, we assume first-order antedependence, such that each \(Y_{ij}\), given the immediate antecedent \(Y_{ij-1}\), is independent of all further preceding variables (Gabriel 1962). The joint probability mass function of \(Y_{i1},\ldots , Y_{in_i}\) can then be expressed as

$$ \text{P} \left(Y_{i1} =y_{i1},Y_{i2}=y_{i2}, \ldots ,Y_{in_i}=y_{in_i}\right) = \text{P} \left(Y_{i1}=y_{i1}\right) \text{P} \left(Y_{i2}=y_{i2}| Y_{i1}=y_{i1} \right) \cdots \text{P} \left(Y_{in_i}=y_{in_i}| Y_{i{n_i}-1}=y_{i{n_i}-1}\right) . $$
(2)

First-order antedependence is also referred to as the first-order Markov property in the literature (Feller 1968, p. 419).

Second, we assume that the correlation between adjacent measurements on a subject is constant, implying that

$$\begin{aligned} \text{ corr }\left( Y_{ij},Y_{ij-1}\right) = \alpha \end{aligned}$$

where \(i=1\ldots ,m\) and \(j=2,\ldots ,n_i\). Third, we assume that the conditional expectation of \(Y_{ij}\) given \(Y_{ij-1}\) is a linear function of \(Y_{ij-1},\) such that

$$\begin{aligned} \text{ E }\left( Y_{ij} \mid Y_{ij-1}\right) = a_{ij} + b_{ij} Y_{ij-1}, \end{aligned}$$

for \(i=1\ldots ,m\) and \(j=2,\ldots ,n_i\).

These three assumptions imply the following results. From Theorem 2.1 of Guerra and Shults (2014), the conditional expectation is given by

$$\begin{aligned} \text{ E }\left( Y_{ij} | Y_{ij-1} \right) = \mu _{ij} + \alpha \sigma _{ij}/\sigma _{ij-1}\left( Y_{ij-1} - \mu _{ij-1}\right) , \end{aligned}$$
(3)

where \(\mu _{ij} = \text{ E }\left( Y_{ij}\right) ,\) \(\alpha = \text{ corr }\left( Y_{ij-1},Y_{ij}\right) ,\) \({\sigma _{ij}}^2 = \text{ var }\left( Y_{ij}\right) \), and

$$\begin{aligned} {\sigma _{ij}}^2= & {} \frac{1}{1 - {\alpha }^2} \text{ E } \left( \text{ var } \left( Y_{ij}\, | \,Y_{ij-1}\right) \right) , \end{aligned}$$
(4)

where \(i=1,\ldots ,m\) and \(j=2,\ldots ,n_i\).

Next, from Section 2.5 of Zimmerman and Nuñez-Antón (2010), the correlation \(\text{ corr }(Y_{ij},Y_{ij+t})\) between \(Y_{ij}\) and \(Y_{ij+t}\) for \(t>0\) can be expressed as

$$\begin{aligned} \text{ corr }\left( Y_{ij},Y_{ij+t}\right) &= \prod _{k=j}^{j+t-1} \text{ corr }\left( Y_{ij},Y_{ij+1}\right) \\ &= \prod _{k=j}^{j+t-1} \alpha \\ & = \alpha ^{t}. \end{aligned}$$

The induced correlation structure for \(\left( Y_{i1},\ldots ,Y_{in_i} \right) ^\prime \) is therefore an AR(1) structure.

This AR(1) structure is plausible for longitudinal data because it requires the correlation between measurements on a subject to decline with increasing separation in time. For example, if \(\alpha = 0.5\), then the correlation between the 1st and 2nd measurements is 0.5, while the correlation between 1st and 3rd measurements is \((0.5)^2 = 0.25\).

Poisson likelihood

We assume Poisson distributions for the marginal and conditional distributions in Eq. 2. For each \(i=1,\ldots ,m\), the distribution of \(Y_{i1}\) is Poisson with \(\mu _{i1}\) = \(\lambda _{i1}\) = \(\text{ exp }\left( x_{i1}^\prime \beta \right) \) and \({\sigma _{i1}}^2 = \lambda _{i1}\), where \(\beta \) is a \(p \times 1\) vector of regression parameters. Then, for \(j=2,\ldots ,n_i\), the conditional distribution of \(Y_{ij}\) given \(Y_{ij-1}\) is Poisson with conditional mean \(\text{ E }\left( Y_{ij} | Y_{ij-1} \right) \) = \({\lambda _{ij}}^{*}\) given by Eq. 3, with

$$\begin{aligned} \mu _{ij} = \lambda _{ij} = \text{ exp }\left( x_{ij}^\prime \beta \right) , \end{aligned}$$
(5)

and

$$\begin{aligned} {\sigma _{ij}}^2 = \lambda _{ij}/\left( 1 - \alpha ^2\right) , \end{aligned}$$
(6)

for \(j = 2, \ldots ,n_i\) and \(i=1,\ldots ,m\). The \(Y_{ij}\) are over-dispersed relative to the Poisson distribution if \(j \ge 2\) and \(\alpha \ne 0,\) because in this case \({\sigma _{ij}}^2 = \phi \lambda _{ij}\), where \(\phi \) > 1.

The likelihood can then be expressed as

$$\begin{aligned} L(\beta ,\alpha )= & {} \prod _{i=1}^{m} \text{ P }\left( Y_{i1}=y_{i1}\right) \text{ P }\left( Y_{i2}=y_{i2}| Y_{i1}=y_{i1}\right) \cdots \text{ P }\left( Y_{in_i}=y_{in_i}| Y_{in-1}=y_{in-1}\right) \\= & {} \prod _{i=1}^{m} \frac{\text{ exp }\left( -\lambda _{i1}\right) {\lambda _{i1}}^{y_{i1}}}{y_{i1}!} \prod _{j=2}^{n_i} \frac{\text{ exp } \left( -{\lambda _{ij}}^{*}\right) {\left( {\lambda _{ij}}^{*}\right) }^{y_{ij}}}{y_{ij}!} \\= & {} \prod _{i=1}^{m} \text{ exp }\left( y_{i1} \text{ ln }\left( \lambda _{i1}\right) -\lambda _{i1} - \text{ ln }\left( y_{i1}!\right) \right) \prod _{j=2}^{n_i} \text{ exp }\left( y_{ij} \text{ ln }\left( {\lambda _{ij}}^{*}\right) -{\lambda _{ij}}^{*} - \text{ ln }\left( y_{ij}!\right) \right) . \end{aligned}$$

Taking the natural logarithm then yields the log-likelihood,

$$\begin{aligned} \text{ ln }\left( L(\beta ,\alpha ) \right)= & {} \sum _{i=1}^{m} \left( y_{i1} \theta _{i1} - \text{ exp }\left( \theta _{i1}\right) - \text{ ln }\left( y_{i1}!\right) \right) + \sum _{j=2}^{n_i} \left( y_{ij} {\theta _{ij}}^* - \text{ exp }\left( {\theta _{ij}}^*\right) - \text{ ln }\left( y_{ij}!\right) \right) , \end{aligned}$$

where \(\theta _{i1} = \text{ ln }(\lambda _{i1}) = x_{i1}^\prime \beta \) and \({\theta _{ij}}^* = \text{ ln }({\lambda _{ij}}^*).\)

The following constraints must be satisfied in order for the constructed likelihood to be valid: (1) \(\lambda _{ij} > 0\) \((j=1, \ldots , n_i)\); (2) \(-1< \alpha < 1\) \((j=2, \ldots , n_i)\), in order to achieve a positive-definite correlation matrix; and (3) \(\lambda _{ij} - \alpha \sigma _{ij}/\sigma _{ij-1}(\lambda _{ij-1}) > 0\) \((j=2, \ldots , n_i)\) (Guerra and Shults 2014).

Likelihood equations

To obtain maximum likelihood estimates of \(\beta \) and \(\alpha \), we need to obtain simultaneous solutions to the following estimating equations for \(\beta \) and \(\alpha \), respectively:

$$\begin{aligned} \frac{ \partial \text{ ln }\left( L(\beta ,\alpha ) \right) }{\partial \beta }&= \sum _{i=1}^{m} \left( y_{i1} - \text{ exp }\left( \theta _{i1}\right) \right) \frac{\partial \theta _{i1}}{\partial \beta } + \sum _{j=2}^{n_i} \left( y_{ij} - \text{ exp }\left( {\theta _{ij}}^*\right) \right) \frac{\partial {\theta _{ij}}^*}{\partial \beta } \\ &= 0 \nonumber \end{aligned}$$
(7)

and

$$\begin{aligned} \frac{ \partial \text{ ln }\left( L(\beta ,\alpha ) \right) }{\partial \alpha }&= \sum _{i=1}^{m} \left( y_{i1} - \text{ exp }\left( \theta _{i1}\right) \right) \frac{\partial \theta _{i1}}{\partial \alpha } + \sum _{j=2}^{n_i} \left( y_{ij} - \text{ exp }\left( {\theta _{ij}}^*\right) \right) \frac{\partial {\theta _{ij}}^*}{\partial \alpha } \\ &= 0. \nonumber \end{aligned}$$
(8)

The derivatives are provided in Appendix A of the longer, working version of this paper (Gamerman et al. 2016 at http://biostats.bepress.com/upennbiostat/art45). We maximized the likelihood using an adaptive barrier algorithm as implemented in the constrOptim function in R (R Core Team 2014). We applied the Broyden-Fletcher-Goldfarb-Shanno (BFGS) optimization method by Broyden (1970), Fletcher (1970), Goldfarb (1970), and Shanno (1970), Shanno and Kettler (1970), which is implemented in constrOptim when the gradient is provided.

The following algorithm summarizes our estimation procedure for a particular model:

  1. 1.

    Choose initial estimates (starting values) of \(\alpha \) and \(\beta \). Starting values can be obtained using GEE to fit a Poisson model with an AR(1) correlation structure; however, we should check that the starting values satisfy the constraints ("Poisson Likelihood"). If the estimates violate the constraints, change the starting values by choosing a value for \(\alpha \) that is closer to zero or by applying Poisson regression, which is equivalent to assuming that \(\alpha = 0\).

  2. 2.

    Obtain solutions to the likelihood Eqs. 7 and 8 using the adaptive barrier algorithm that is implemented in the R package constrOptim. R code for the log likelihood function and for the gradient function, both of which are implemented in the Application, are provided in Appendix B of Gamerman et al. 2016 (at http://biostats.bepress.com/upennbiostat/art45).

Asymptotic distribution of the estimators

If the model is correctly satisfied and standard regularity conditions are satisfied, the ML approach described here will yield estimates that are consistent and asymptotically normal. Let \(\theta = (\beta , \alpha )^T\) and the maximum likelihood estimators \({\hat{\theta }} = ({\hat{\beta }}, {\hat{\alpha }})^T\). We estimated the asymptotic covariance matrix of \({\hat{\theta }}\) with the inverse of the observed information, \((i({\hat{\theta }}))^{-1},\) that we estimated using the inverse of the negative Hessian matrix, which is defined and implemented in Appendices A and B, respectively, of Gamerman et al. (2016 at http://biostats.bepress.com/upennbiostat/art45).

Application

Doctor visits data

Here we consider an analysis of a subset of data from the German Socio-Economic Panel data (Winkelmann 2004) that we obtained within Stata (http://www.stata-press.com/data/r14/drvisits) and then exported for analysis in R (StataCorp 2013). Here we compare the results of an analysis using the proposed ML approach with the results obtained using Poisson regression and GEE.

The goal of the analysis was to assess the impact of the 1997 health reform on the reduction of government expenditures. A sample of 1518 women who were employed full time in the year before or after the reform was implemented were evaluated. The outcome we considered was the self-reported number of doctor visits in the three months prior to the interview. The main covariate of interest was an indicator variable that took value 1 if the interview took place after the reform was implemented (or took value 0 otherwwise). Additional covariate information was available on each participant’s age, education, marital status, self-reported health status, and the logarithm of household income. Of the 1518 women in the dataset, 709 were interviewed both before and after the reform was implemented; 391 were only interviewed before; and 418 were only interviewed after the reform went into effect. This resulted in a total of 2227 observations available for the analysis.

We assumed Eq. 5 with the following linear predictor:

$$\begin{aligned} x_{ij} = \beta _0 + \beta _1 x_{ ij1} + \beta _2 x_{ij2} + \beta _3 x_{ij3} + \beta _4 x_{ij4} + \beta _5 x_{ij5} + \beta _6 x_{ ij6}, \end{aligned}$$

where \(x_{ij1}\) was the indicator variable for health care reform (1 if after implementation; 0 if before), \(x_{ij2}\) was age in years, \(x_{ij3}\) was education in years, \(x_{ij4}\) was marital status (1 if married; 0 if not married), \(x_{ij5}\) was self-reported health status (1 if bad; 0 if not bad), and \(x_{ij6}\) was the logarithm of household income.

We first fit the above model using Poisson regression as implemented in the glm function in R; the results are provided in Table 1. Among women with the same household income, marital status, self-reported health, and education, there was a reduction in the log count of doctor visits of 0.140 after health care reform was implemented (\(p<0.0001\)).

Next, we used the geeglm function in R to implement GEE with an assumed AR(1) working correlation structure; the results are shown in Table 1. As for Poisson regression, there was a significant reduction in the log count of doctor visits (\({\hat{\beta }}_1 = -0.123, p=0.0202\)). The estimated correlation parameter was 0.213.

When we fit the GEE model we assumed that the scalar parameters \(\phi \) = 1 \(\forall \) i, j. After fitting GEE, we assessed the adequacy of this assumption by obtaining an estimate of \(\phi \) based on the final GEE estimates of \(\beta \):

$$\begin{aligned} {\widehat{\phi }} = \frac{1}{m} \sum _{i=1}^m \frac{Z_i\left( \widehat{{ \varvec{\beta }}}\right) 'Z_i \left( \widehat{{ \varvec{\beta }}}\right) }{n_i}, \end{aligned}$$

where \(Z_i(\widehat{{ \varvec{\beta }}})\) is the \(n_i \times 1\) vector of Pearson residuals \(z_{ij}(\widehat{{ \varvec{\beta }}})\) with \(z_{ij}(\widehat{{ \varvec{\beta }}})\) = \(\frac{ y_{ij} - \widehat{\lambda _{ij}}}{\sqrt{\widehat{\lambda _{ij}}}}\). The estimated \(\phi \) was \({\hat{\phi }} = 4.33,\) which is much greater than 1 and was therefore suggestive of over-dispersion in the data.

Lastly, we fit the proposed ML approach using the algorithm for estimation described in "Likelihood equations" section. We obtained starting values for our approach using GEE, after first confirming that \({\hat{\alpha }}\) satisfied the necessary constraint to guarantee a valid parent distribution, which in this case was \({\hat{\alpha }} < 0.4494\).

Table 1 shows the results for the ML approach. The estimated correlation parameter was 0.313 with a 95% confidence interval of (0.272, 0.354). After adjusting for the correlation among the counts of doctors visits, for over-dispersion, and for the other covariates, we again found that there was a significant impact of initiation of health care reform on the number of doctor visits (\({\hat{\beta }}_1 =-0.113, p<0.0001\)).

Table 1 Estimated parameters from the ML, GEE, and Poisson models in the analysis of the doctor visits data

Overall, the parameter estimates were similar for the proposed ML approach, GEE, and the Poisson regression. While the impact of age was similar across the approaches, it was significant in both the ML and Poisson approaches but not significant in the GEE model (ML \(p = 0.0005\), GEE \(p = 0.1182\), and Poisson \(p = 0.0008\)). Similarly, the logarithm of household income was significant in both the ML and Poisson approaches but not significant in the GEE model (ML \(p<0.0001\), GEE \(p = 0.0809\), and Poisson \(p<0.0001\)).

With estimates of the log-likelihood for Poisson regression and the proposed ML approach, it was possible to calculate the AIC and BIC criteria as measures of the relative quality of the models for this set of data. Both BIC and AIC incorporate a penalty term for the number of parameters used in the model because it is possible to increase the numerical value of the likelihood solely by including additional parameters in the model, which may result in over-fitting the model to the data. This penalty term is larger in the BIC as compared to the AIC. For the Poisson regression model, the AIC and BIC values were 11,899 and 11,939, which were both greater than the AIC and BIC values for the ML approach (AIC = 11,707 and BIC = 11,746), which indicates that the ML approach had improved model fit over Poisson regression.

Epilepsy seizure data

Here we implement the proposed ML method and GEE for analysis of the epilepsy seizure data (Thall and Vail 1990; Farewell and Farewell 2013) that is available as part of the MASS package in R (Venables and Ripley 2002). We assumed Eq. 5 with the following linear predictor:

$$\begin{aligned} x_{ij}'\beta = \beta _0 + \beta _1 x_{ij1}+ \beta _2 x_{ij2}+ \beta _3 x_{ij3} + \beta _4 x_{ij4}, \end{aligned}$$
(9)

where \(x_{ij1}\) represents an indicator for treatment, \(x_{ij2}\) represents baseline seizure count (number of seizures in the 3 month time period prior to the start of the study), \(x_{ij3}\) represents subject age in years, and \(x_{ij4}\) represents two-week time period (coded as 1, 2, 3, 4). We initially included a time period by treatment interaction term, but the interaction term was not significant for the proposed approach or for GEE (both p-values \(> 0.05\)); we therefore initially focused on the simpler model 9 for this demonstration.

Table 2 shows the sample mean and variance of seizure counts at baseline and the four subsequent two-week periods (denoted as Y1 through Y4) for the placebo and drug groups for the seizure counts; it also displays the sample mean and variance of age at baseline. From the table, the sample variance for the outcome variables, Y1 through Y4, were greater than their respective means, which suggested that there was over-dispersion in the seizure counts.

Table 2 Mean and variance for the placebo and treatment groups

Table 3 shows the results of the analysis. The estimates were similar for the proposed ML method and GEE. The estimate of treatment was negative for both approaches, which suggested that the number of seizures was lower for subjects in the treatment group. However, treatment only differed significantly from 0 for the proposed ML approach (\(p =0.0124\) for ML versus \(p=0.3014\) for GEE). In addition, time period only differed significantly from 0 for the proposed ML approach (\(p =0.0032\) for ML versus \(p=0.0580\) for GEE).

Table 3 Estimated parameters from the GEE and ML approaches for analysis of the epilepsy data when Period is included in the models

The likelihood ratio test of the hypothesis that the regression parameter for time period is 0 also suggested that time period should be retained in the model for the proposed ML approach (p = 0.0030.) However, since the GEE analysis suggested that time period might not be important, we removed time period from the model for both GEE and the proposed ML approach. As shown in Table 4, treatment differed significantly from 0 for the proposed ML approach, but was not significant for GEE (\(p=0.0121\) for ML versus \(p=0.2977\) for GEE).

Table 4 Estimated parameters from the GEE and ML approaches for analysis of the epilepsy data when period is not included in the models

We next compared the AIC and BIC for the models that included and excluded time period. As shown in the Tables, both the AIC and BIC values were smaller for the larger model that included time period. The respective AIC and BIC values were 1566 and 1579 for the larger model, versus 1573 and 1583 for the smaller model. The AIC and BIC values indicated that the fit was superior for the larger model, which lent additional support for the larger model with its significant treatment and time period effects.

Simulation studies

In the previous section we identified significant treatment effects for the proposed ML approach that were not observed for GEE. Since the results depended on choice of approach, it was of interest to compare the performance of the methods for finite samples. We therefore performed simulations to assess the properties of the estimators of \(\alpha \) and \(\beta \) for the proposed ML approach and GEE.

Set-up

We compared the performance of the ML and GEE estimators for

$$\begin{aligned} x_{ij}'\beta = \beta _0 + \beta _1 x_{ij1}+ \beta _2 x_{ij2}+ \beta _3 x_{ij3}, \end{aligned}$$
(10)

where the \(x_{ijk}\) were defined in the previous section.

The results shown here are based on \(R=1000\) simulation runs, equal group sizes m/2, \({\beta } = (0.4467, -0.1659, 0.0232, 0.0258)'\) (based on GEE estimates), and \(n_i\) = 4 measurements per subject. For this scenario, the correlation must satisfy the constraint \(\alpha < 0.707\) (see "Poisson likelihood") to ensure the existence of a valid parent distribution. We specified values of \(\alpha \in \{ 0.2, 0.4, 0.6, 0.7 \}.\)

Covariates were simulated based on the observed epilepsy seizure data in the previous section. Treatment was specified as present (equal to 1) for one group and as absent (equal to 0) for the other group. Baseline seizure count was simulated from a Poisson distribution with a random seed and mean \(= 31.22\) based on the mean baseline age from the epilepsy data. Similarly, age was simulated from a normal distribution based on the epilepsy data for which the minimum age was 18, the mean was 28.3, and the standard deviation was 6.261. Simulated age values below 18 were discarded and the next simulated age value was assigned. Age was then rounded to a whole number, as it was recorded in the epilepsy data.

The approach proposed by Guerra and Shults (2014) was used to simulate the correlated Poisson seizure counts with specified means, over-dispersion, and AR(1) correlation structure.

Assessments

We wrote code in R to evaluate mean square error (MSE), percent bias, small sample efficiency, and 95% coverage probabilities using the observed information matrix. The mean square error (MSE) for estimator \({\hat{\theta }}\) is defined as

$$\begin{aligned} \frac{1}{R}\sum _{i=1}^R \left( \theta - {\hat{\theta }}_i\right) ^2, \end{aligned}$$

where \(\theta \) is the true value. The percent bias for estimator \({\hat{\theta }}\) is defined as

$$\begin{aligned} \left\{ \frac{1}{R}\sum _{i=1}^R \left( \theta - {\hat{\theta }}_i\right) /\theta \right\} *100. \end{aligned}$$

Lastly, to evaluate the coverage probabilities, a 95% confidence interval was computed for each parameter estimate within each simulation run. The coverage probabilities represent the proportion of the R simulation runs in which the true parameter fell within the 95% confidence bounds. GEE coverage probabilities were computed similarly using the naïve variance estimates obtained from geeglm in R.

Results

Table 5 displays the MSE and Table 6 displays the percent bias for the simulations. For the ML method, the MSE for \({\hat{\beta }}\) and \({\hat{\alpha }}\) and the percent bias for \({\hat{\alpha }}\) decreased as m increased.

Table 5 Small sample efficiencies for evaluating the AR(1) correlation structure for varying values of \(\alpha \) and sample size per group
Table 6 Percent bias for evaluating the AR(1) correlation structure for varying values of \(\alpha \) and sample size per group

As compared to GEE, the ML approach had lower MSE and percent bias for all sample sizes for \({\hat{\alpha }}\). For \({\hat{\beta }}\), the percent bias was similar for ML and GEE; however, the MSE was slightly smaller for ML than for GEE. For scenarios with high correlation (\(\alpha =0.6\) or 0.7), the intercept and treatment estimates, \({\hat{\beta }}_0\) and \({\hat{\beta }}_1\), had smaller MSE and percent bias for the proposed ML approach than for GEE, for all samples sizes.

Table 7 then displays the estimated coverage probabilities. With respect to \({\widehat{\beta }}\), the coverage probabilities were similar for the ML and GEE approach and were close to the nominal 95% level. With respect to \({\widehat{\alpha }}\), the ML approach model-based coverage probabilities were close to the nominal 95%, which outperformed the GEE approach, whose model-based coverage probabilities were below the nominal 95% level. Coverage probabilities for \(\alpha \) were better for the ML based approach than GEE across all sample sizes and correlations (\(\alpha = 0.2, 0.4, 0.6, 0.7\)).

Table 7 Coverage probabilities for the ML and GEE approaches with the AR(1) correlation structure for varying values of \(\alpha \) and sample size per group

Conclusion

We proposed an ML approach for analysis of equally spaced longitudinal count data that accounts for intra-subject correlation of measurements and over-dispersion. Our application of the ML approach and GEE demonstrated that the results of the analysis differed between approaches, with significant treatment differences observed for some models for the ML approach, but not for GEE. The availability of the AIC and BIC criteria for the ML approach was useful for selecting between nested models. The interested reader can replicate our analyses using code in R that we provided in Appendix B of Gamerman et al. (2016) ( at http://biostats.bepress.com/upennbiostat/art45).

Our simulations demonstrated that the ML approach was similar to or slightly outperformed GEE with respect to MSE, bias, and coverage probabilities, especially for higher values of the correlation (for \({\hat{\beta }}\)). That the ML approach outperformed GEE for larger values of the correlation was not surprising. We assumed over-dispersion that was induced by \(\alpha \) and that was greater for larger values of \(\alpha \). For \(\alpha = 0\) the assumed models for the marginal means and correlations would have been identical for the ML approach and GEE. That the differences between the two approaches were greatest for larger values for the correlation was therefore to be expected.

Winkelmann (2004) implemented the Poisson model and several other approaches, including random effects and hurdle models. In future work it could be of interest to extend our comparisons with GEE to include some of the other methods considered by Winkelmann (2004). However, in this paper we focused our attention on comparisons with GEE because GEE is widely used and, unlike the methods considered by Winkelmann (2004), GEE allows for correct specification of the true AR(1) correlation structure that was induced by the model we used to simulate our data. Our comparisons with GEE therefore allowed us to assess the impact of correctly modeling the marginal mean, correlation structure, and over-dispersion (our approach), versus correctly modeling the marginal mean and correlation structure, but incorrectly ignoring the over-dispersion (GEE).

There are some limitations to the proposed ML approach that should be acknowledged. First, we assumed that the adjacent correlations on subjects are constant. The Pearson correlations of the residuals from a Poisson regression for the epilepsy data suggested that there was a 9% difference between the smallest and largest adjacent correlations, so that it may be worthwhile to relax the assumption of equal adjacent correlations for this data set. In addition, it may be of interest to consider an exchangeable correlation structure that assumes equality of all pairwise correlations on a subject. It is a limitation of the proposed approach that it cannot implement an exchangeable structure. In addition, although the proposed approach accounts for over-dispersion in the distribution of \(Y_{ij}\) for \(j=2,\ldots ,n_i\), it assumes that \(Y_{i1}\) is distributed as Poisson. The proposed approach therefore does not account for over-dispersion in the first measurements on each subject, which is appropriate when the over-dispersion is induced by the intra-subject correlation of measurements. In addition, as noted by a reviewer, the proposed approach assumes that the degree of overdispersion is directly related to the strength of the adjacent correlation coefficient. It would be interesting to explore how the method performs if there is weak correlation but strong overdispersion, or strong correlation with weak overdispersion.

References

  • Akaike H (1974) A new look at the statistical model identification. IEEE Trans Autom Control 19:719–723

    ADS  MathSciNet  MATH  Google Scholar 

  • Broyden CG (1970) The convergence of a class of double-rank minimization algorithms. J Inst Math Appl 6:76–90

    Article  MathSciNet  MATH  Google Scholar 

  • Consul PC, Famoye F (1992) Generalized poisson regression model. Commun Stat Theory Methods 21:89–109

    Article  MATH  Google Scholar 

  • Efron B (1992) Poisson overdispersion estimates based on the method of asymmetric maximum likelihood. J Am Stat Assoc 87:98–107

    Article  MathSciNet  MATH  Google Scholar 

  • Farewell DM, Farewell VT (2013) Dirichlet negative multinomial regression for overdispersed correlated count data. Biostatistics 14:395–404

    Article  PubMed  Google Scholar 

  • Feller W (1968) An introduction to probability theory and its applications, vol I. Wiley, New York

    MATH  Google Scholar 

  • Fitzmaurice G, Davidian M, Verbeke G, Molenberghs G (2008) Longitudinal data analysis. CRC Press, Boca Raton

    MATH  Google Scholar 

  • Fletcher R (1970) A new approach to variable metric algorithms. Comput J 13:317–322

    Article  MATH  Google Scholar 

  • Gabriel KR (1962) Ante-dependence analysis of an ordered set of variables. Ann Math Stat 33(1):201212

    Article  MathSciNet  Google Scholar 

  • Gamerman V, Guerra M, Shults J (2016) Maximum likelihood based analysis of equally spaced longitudinal count data with specified marginal means, first-order antedependence, and linear conditional expectations. UPenn Biostatistics Working Papers. Working Paper 45. http://biostats.bepress.com/upennbiostat/art45

  • Gardiner JC, Luo Z, Roman LA (2009) Fixed effects, random effects and GEE: what are the differences? Stat Med 28(2):221–239

    Article  MathSciNet  PubMed  Google Scholar 

  • Ghisletta P, Spini D (2004) An introduction to generalized estimating equations and an application to assess selectivity effects in a longitudinal study on very old individuals. J Educ Behav Stat 29(4):421–437

    Article  Google Scholar 

  • Goldfarb D (1970) A family of variable metric updates derived by variational means. Math Comput 24:23–26

    Article  MathSciNet  MATH  Google Scholar 

  • Guerra MW, Shults J (2014) A note on the simulation of overdispersed random variables with specified marginal means and product correlations. Am Stat 68:104–107

    Article  MathSciNet  Google Scholar 

  • Liang KY, Zeger SL (1986) Longitudinal data analysis using generalized linear models. Biometrika 73:1322

    Article  MathSciNet  MATH  Google Scholar 

  • Molenberghs G, Kenward MG (2010) Semi-parametric marginal models for hierarchical data and their corresponding full models. Comput Stat Data Anal 54:585–597

    Article  MathSciNet  MATH  Google Scholar 

  • R Core Team (2014) R: a language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. http://www.R-project.org/

  • Schwarz G (1978) Estimating the dimension of a model. Ann Stat 6:461–464

    Article  MathSciNet  MATH  Google Scholar 

  • Serfling R (2011) Asymptotic relative efficiency in estimation. In International encyclopedia of statistical science. Springer, Berlin, pp 68–72

  • Shanno DF (1970) Conditioning of quasi-Newton methods for function minimization. Math Comput 24:647–656

    Article  MathSciNet  MATH  Google Scholar 

  • Shanno DF, Kettler PC (1970) Optimal conditioning of quasi-Newton methods. Math Comput 24:657–664

    Article  MathSciNet  MATH  Google Scholar 

  • Thall PF, Vail SC (1990) Some covariance models for longitudinal count data with overdispersion. Biometrics 46(3):657–671

    Article  MathSciNet  CAS  MATH  PubMed  Google Scholar 

  • Venables WN, Ripley BD (2002) Modern applied statistics with S. Fourth Edition

  • Vinod HD (2002) Econometric applications of generalized estimating equations for panel data and extensions to inference. In: Ullah A, Wan ATK, Chaturvedi A (eds) Handbook of applied econometrics, chapter 26. Marcel Dekker, New York, pp 553–574

  • Winkelmann R (2004) Health care reform and the number of doctor visits- an econometric analysis. J Appl Econ 19(4):455–472

    Article  MathSciNet  Google Scholar 

  • Zimmerman DL, Nuñez-Antón VA (2010) Antedependence models for longitudinal data. Chapman and Hall/CRC Press, Boca Raton

    MATH  Google Scholar 

Download references

Authors' contributions

VG derived results, wrote the first draft, wrote programs in R, ran simulations, conducted analysis, and reviewed the manuscript that she wrote as the third chapter of her Ph.D. thesis in Biostatistics at the University of Pennsylvania. Victoria Gamerman is an employee of Boehringer Ingelheim Pharmaceuticals, Inc. MG wrote programs in R and assisted with derivations, running simulations, writing and review of the manuscript. JS as thesis advisor of Victoria Gamerman, participated in derivations, running analysis, and writing and review of the manuscript. All authors read and approved the final manuscript.

Acknowledgements

We thank the reviewer for a thoughtful and insightful review that led to considerable improvements in this manuscript. This article reflects the views of the authors and should not be construed to represent the FDAs views or polices.

Competing interests

The authors declare that they have no competing interests.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Justine Shults.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Gamerman, V., Guerra, M. & Shults, J. Maximum likelihood based analysis of equally spaced longitudinal count data with first-order antedependence and overdispersion. SpringerPlus 5, 1935 (2016). https://doi.org/10.1186/s40064-016-3564-8

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s40064-016-3564-8

Keywords