Skip to main content

Pooling overdispersed binomial data to estimate event rate



The beta-binomial model is one of the methods that can be used to validly combine event rates from overdispersed binomial data. Our objective is to provide a full description of this method and to update and broaden its applications in clinical and public health research.


We describe the statistical theories behind the beta-binomial model and the associated estimation methods. We supply information about statistical software that can provide beta-binomial estimations. Using a published example, we illustrate the application of the beta-binomial model when pooling overdispersed binomial data.


In an example regarding the safety of oral antifungal treatments, we had 41 treatment arms with event rates varying from 0% to 13.89%. Using the beta-binomial model, we obtained a summary event rate of 3.44% with a standard error of 0.59%. The parameters of the beta-binomial model took the values of 1.24 for alpha and 34.73 for beta.


The beta-binomial model can provide a robust estimate for the summary event rate by pooling overdispersed binomial data from different studies. The explanation of the method and the demonstration of its applications should help researchers incorporate the beta-binomial method as they aggregate probabilities of events from heterogeneous studies.

Peer Review reports


In clinical research and public health, it is frequently necessary to combine findings from multiple interventional or observational studies in order to address important safety and efficacy questions. A single study rarely provides a definitive answer because of limited sample size and the specific attributes of particular study populations. The challenges of combining data from heterogeneous studies are well described in the meta-analysis literature. In the majority of meta-analysis reports, the outcome of interest is a comparative risk estimate such as the odds ratio, relative risk, or risk difference [1]. Absolute risks, however, such as the proportion of clinical events among a cohort of patients or the response rate among patients receiving a certain treatment regimen, are important measures for helping to guide clinical and public health decisions. In the correct epidemiology and statistical terminology, these so-called rates are really proportions, but we will treat rates and proportions as equivalent in this paper as this term is commonly used in medical product safety research. Relevant methods to pool the absolute risks are especially important in safety evaluation of medical products as the risks for serious adverse outcomes are often rare, and precise estimates of the probability of these outcomes are crucial in the risk-benefit evaluation.

In this report we describe the implementation of the beta-binomial method to pool the absolute risks from overdispersed data. This method estimates a summary probability of adverse events and is applicable in medical product safety evaluation as it takes into account the heterogeneity of studies. The application of the beta-binomial method in drug safety settings was previously described by Chuang-Stein in 1993 [2]. Here we aim to provide a detailed description of the method and to update and broaden its applications.

The general setting is that of a clinical trial or cohort study of a specific exposure, such as: drug A with a sample size of n resulted in x number of adverse events (e.g. liver injury). Within each individual study the probability of encountering x number of adverse events out of a sample size of n is characterized by the binomial distribution. To summarize multiple studies of the same exposure, we need to account for their heterogeneity of the studies, for they could differ in their sample sizes, clinical settings, investigators, protocols, and prevalence of comorbidity among study subjects. The assumption of one binomial distribution that can describe the proportions of adverse event from all the studies is not always valid. Numerous factors, including ethnic difference, disease severity, comorbid conditions, and concomitant medications can contribute to the variation of the probability of interest, thus requiring additional assumptions beyond the binomial model. This phenomenon is often referred to as overdispersion [3, 4]. Ignoring overdispersion when pooling overdispersed data that are binomial in nature could result in erroneous estimates of the probability of interest and its confidence interval.

In the clinical trial literature, Chuang-Stein [2] proposed using the beta-binomial model to combine binomial event rates across multiple studies in an article titled "An application of the beta-binomial model to combine and monitor medical event rates in clinical trials." Despite its sound statistical basis, this method has not been widely used in clinical and public health research articles during the years since its publication. Meanwhile, the application of the beta-binomial model in other fields is becoming more prevalent as it has been applied in fields as distant as sensory analysis [5] and computational linguistics [6]. We utilized this method to estimate the risk of liver toxicity among users of oral antifungal treatments [7] and believe that it can be used more widely to help address similar questions. In the rest of this article we describe the statistical assumptions for the beta-binomial model, the process of estimating the probability of interest, methods to test for over-dispersion, and an example of its application.


The Beta-Binomial distribution

Both Chuang-Stein [2] and Ennis [5] provide excellent references for those who are interested in the history of the beta-binomial model. Recall the definition of the binomial distribution:

Prob ( X = x ) = ( n x ) p x ( 1 p ) n x , 0 p 1 MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqbaeqabeGaaaqaaiabbcfaqjabbkhaYjabb+gaVjabbkgaIjabcIcaOiabdIfayjabg2da9iabdIha4jabcMcaPiabg2da9maabmaaeaqabeaacqWGUbGBaeaacqWG4baEaaGaayjkaiaawMcaaiabdchaWnaaCaaaleqabaGaemiEaGhaaOGaeiikaGIaeGymaeJaeyOeI0IaemiCaaNaeiykaKYaaWbaaSqabeaacqWGUbGBcqGHsislcqWG4baEaaGccqGGSaalaeaacqaIWaamcqGHKjYOcqWGWbaCcqGHKjYOcqaIXaqmaaaaaa@4FF4@

where x is the number of successes in a sequence of n independent success/failure experiments, each of which has probability p for success.

Let probability p follow a beta distribution (p|α, β), then

Beta ( p | α , β ) = Γ ( α + β ) Γ ( α ) Γ ( β ) p α 1 ( 1 p ) β 1 MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeeOqaiKaeeyzauMaeeiDaqNaeeyyaeMaeiikaGIaemiCaaNaeiiFaWNaeqySdeMaeiilaWIaeqOSdiMaeiykaKIaeyypa0tcfa4aaSaaaeaacqqHtoWrcqGGOaakcqaHXoqycqGHRaWkcqaHYoGycqGGPaqkaeaacqqHtoWrcqGGOaakcqaHXoqycqGGPaqkcqqHtoWrcqGGOaakcqaHYoGycqGGPaqkaaGccqWGWbaCdaahaaWcbeqaaiabeg7aHjabgkHiTiabigdaXaaakiabcIcaOiabigdaXiabgkHiTiabdchaWjabcMcaPmaaCaaaleqabaGaeqOSdiMaeyOeI0IaeGymaedaaaaa@5A0F@

where Γ is the gamma function over the domain [0, 1]; α and β are two positive parameters. The beta distribution was selected in the past because of its flexibility (capable of a wide range of shapes, see Figure 1) and its ability to provide good approximations. As Skellam [8] stated as early as 1948, "in practice we could, at least in most cases, take this form of distribution as a convenient approximation." As a result, we arrive at a combination of the binomial distribution with a beta density function:

Figure 1

Variety of shapes for beta distributions.

Prob ( X = x ) = ( n x ) Γ ( α + β ) Γ ( α + x ) Γ ( β + n x ) Γ ( α ) Γ ( β ) Γ ( α + β + n ) MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeeiuaaLaeeOCaiNaee4Ba8MaeeOyaiMaeiikaGIaemiwaGLaeyypa0JaemiEaGNaeiykaKIaeyypa0ZaaeWaaqaabeqaaiabd6gaUbqaaiabdIha4baacaGLOaGaayzkaaqcfa4aaSaaaeaacqqHtoWrcqGGOaakcqaHXoqycqGHRaWkcqaHYoGycqGGPaqkcqqHtoWrcqGGOaakcqaHXoqycqGHRaWkcqWG4baEcqGGPaqkcqqHtoWrcqGGOaakcqaHYoGycqGHRaWkcqWGUbGBcqGHsislcqWG4baEcqGGPaqkaeaacqqHtoWrcqGGOaakcqaHXoqycqGGPaqkcqqHtoWrcqGGOaakcqaHYoGycqGGPaqkcqqHtoWrcqGGOaakcqaHXoqycqGHRaWkcqaHYoGycqGHRaWkcqWGUbGBcqGGPaqkaaaaaa@6790@

where x takes on the values 0, 1, 2... n, and α and β are positive. Note in equation (3) that n is the total number of study subjects, and x is the total number of subjects with a certain adverse event, although what most investigators are interested in is the proportion p that varies between 0 and 1 and has the appearance of a continuous distribution.

So let p i = x i /n i , i = 1,2, ... k, where i indexes the different studies, x i is the number of events in the ith study and n i is the sample size of the study. To reiterate, within the context of multiple studies where each study with sample size n i and binomial probability p i (e.g. for adverse events), one binomial distribution cannot adequately describe the additional variation when p i varies and thus the data are fitted with a beta distribution with parameters (α, β), with α > 0 and β > 0. Let μ = α/(α+β), θ = 1/(α+β), where μ is the mean event rate (i.e., the expected value of a variable binomial parameter p) and θ is a measure of the variation in p. In short, we have constructed a two-stage model:

X i | p i ~Bin(n i , p i )

p i ~Beta (μ, θ),i.i.d

The mean and variance of X are and nμ(1-μ){θ/(1+θ)} [9]. One can view the term {θ/(1+θ)} as a multiplier of the binomial variance. In other words, it models the overdispersion. Some authors (e.g. Kleinman [10]) prefer the term γ where γ = θ/(1+θ) = 1/(α+β+1). Then the variance is nμ(1 - μ) γ. In essence, one can derive the same information from θ and γ about the beta-binomial distribution, so it is beneficial to know both and employ whichever is more convenient for computation.

Estimation of Parameters

Two main methods, one involving moments and the other involving maximum likelihood, are often used to estimate the parameters μ and θ.

The Moment Estimates Method

In terms of actual data observed from different studies, let p i = x i /n i , i = 1,2, ... k, where i indexes the different studies, x i is the number of events in the ith study and n i is the sample size of the study. The n i 's here are almost always unequal in clinical studies.


p ^ = 1 k w i p ^ i w , w = 1 k w i and w i = n i 1 + γ ( n i 1 ) MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqbaeqabeWaaaqaaiqbdchaWzaajaGaeyypa0tcfa4aaSaaaeaadaaeWbqaaiabdEha3naaBaaabaGaemyAaKgabeaacuWGWbaCgaqcamaaBaaabaGaemyAaKgabeaaaeaacqaIXaqmaeaacqWGRbWAaiabggHiLdaabaGaem4DaChaaOGaeiilaWIaem4DaCNaeyypa0ZaaabCaeaacqWG3bWDdaWgaaWcbaGaemyAaKgabeaaaeaacqaIXaqmaeaacqWGRbWAa0GaeyyeIuoaaOqaaiabbggaHjabb6gaUjabbsgaKbqaaiabdEha3naaBaaaleaacqWGPbqAaeqaaOGaeyypa0tcfa4aaSaaaeaacqWGUbGBdaWgaaqaaiabdMgaPbqabaaabaGaeGymaeJaey4kaSIaeq4SdCMaeiikaGIaemOBa42aaSbaaeaacqWGPbqAaeqaaiabgkHiTiabigdaXiabcMcaPaaaaaaaaa@5B8D@

where {w i } represents a set of weights and w is the sum of all the weights [10].

Let also S = i = 1 k w i ( p i p ^ ) 2 MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4uamLaeyypa0ZaaabCaeaacqWG3bWDdaWgaaWcbaGaemyAaKgabeaakiabcIcaOiabdchaWnaaBaaaleaacqWGPbqAaeqaaaqaaiabdMgaPjabg2da9iabigdaXaqaaiabdUgaRbqdcqGHris5aOGaeyOeI0IafmiCaaNbaKaacqGGPaqkdaahaaWcbeqaaiabikdaYaaaaaa@402A@

then the moment estimates of μ and γ are:

μ ^ = p ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiVd0MbaKaacqGH9aqpcuWGWbaCgaqcaaaa@301A@ and

γ ^ = S p ^ q ^ [ w i n i ( 1 w i w ) ] p ^ q ^ [ w i ( 1 w i w ) w i n i ( 1 w i w ) ] MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafq4SdCMbaKaacqGH9aqpjuaGdaWcaaqaaiabdofatjabgkHiTiqbdchaWzaajaGafmyCaeNbaKaadaWadaqaamaaqaeabaWaaSaaaeaacqWG3bWDdaWgaaqaaiabdMgaPbqabaaabaGaemOBa42aaSbaaeaacqWGPbqAaeqaaaaaaeqabeGaeyyeIuoacqGGOaakcqaIXaqmcqGHsisldaWcaaqaaiabdEha3naaBaaabaGaemyAaKgabeaaaeaacqWG3bWDaaGaeiykaKcacaGLBbGaayzxaaaabaGafmiCaaNbaKaacuWGXbqCgaqcamaadmaabaWaaabqaeaacqWG3bWDcqWGPbqAcqGGOaakcqaIXaqmcqGHsisldaWcaaqaaiabdEha3naaBaaabaGaemyAaKgabeaaaeaacqWG3bWDaaGaeiykaKIaeyOeI0YaaabqaeaadaWcaaqaaiabdEha3naaBaaabaGaemyAaKgabeaaaeaacqWGUbGBdaWgaaqaaiabdMgaPbqabaaaaiabcIcaOiabigdaXiabgkHiTmaalaaabaGaem4DaC3aaSbaaeaacqWGPbqAaeqaaaqaaiabdEha3baacqGGPaqkaeqabeGaeyyeIuoaaeqabeGaeyyeIuoaaiaawUfacaGLDbaaaaaaaa@68FC@

where q ^ = 1 p ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafmyCaeNbaKaacqGH9aqpcqaIXaqmcqGHsislcuWGWbaCgaqcaaaa@31AC@ . To derive θ, we can simply perform the following conversion:

θ = γ/(1 - γ)

Providing the proper set of weights is challenging because {w i } is a function of the unknown parameter γ. Kleinman [10] first offered an empirical weighting procedure and suggested to set w i = n i or w i = 1 to obtain an initial approximation of estimates of μ and γ using equation (4). Using this estimation of γ to compute {w i }, one then can use these "empirical" weights to arrive at a new estimate of μ. In cases where γ estimates are negative, they are to be set to zero. Chuang-Stein [2] proposed an improvement on Kleinman's procedure by suggesting that the iteration be carried further until the differences between two consecutive sets of estimates for μ and γ are both smaller than some predetermined value. The example that was given in the paper [2] was 10-6.

Notations are simpler in cases where all n i 's are equal, then

p ^ = ( i = 1 k p i ) / k and S = i = 1 k ( p i p ^ ) 2 MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqbaeqabeWaaaqaaiqbdchaWzaajaGaeyypa0ZaaeWaaeaadaaeWbqaaiabdchaWnaaBaaaleaacqWGPbqAaeqaaaqaaiabdMgaPjabg2da9iabigdaXaqaaiabdUgaRbqdcqGHris5aaGccaGLOaGaayzkaaGaei4la8Iaem4AaSgabaGaeeyyaeMaeeOBa4MaeeizaqgabaGaem4uamLaeyypa0ZaaabCaeaacqGGOaakcqWGWbaCdaWgaaWcbaGaemyAaKgabeaaaeaacqWGPbqAcqGH9aqpcqaIXaqmaeaacqWGRbWAa0GaeyyeIuoakiabgkHiTiqbdchaWzaajaGaeiykaKYaaWbaaSqabeaacqaIYaGmaaaaaaaa@51A8@

The moment estimates of μ and γ are

μ ^ = p ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiVd0MbaKaacqGH9aqpcuWGWbaCgaqcaaaa@301A@ and

γ ^ = n S p ^ ( 1 p ^ ) k ( n 1 ) 1 n 1 . MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafq4SdCMbaKaacqGH9aqpjuaGdaWcaaqaaiabd6gaUjabdofatbqaaiqbdchaWzaajaGaeiikaGIaeGymaeJaeyOeI0IafmiCaaNbaKaacqGGPaqkcqWGRbWAcqGGOaakcqWGUbGBcqGHsislcqaIXaqmcqGGPaqkaaGccqGHsisljuaGdaWcaaqaaiabigdaXaqaaiabd6gaUjabgkHiTiabigdaXaaakiabc6caUaaa@459B@

The Maximum Likelihood Estimates Method

As is written above, let p i = x i /n i , i = 1,2, ... k, where i indexes the different studies, x i is the number of events in the ith study and n i is the sample size of the study. The maximum likelihood (ML) function involving α and β can be written as

L ( α , β ) = x = 0 k ( n x ) B ( α + x , β + n x ) B ( α , β ) MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemitaWKaeiikaGIaeqySdeMaeiilaWIaeqOSdiMaeiykaKIaeyypa0ZaaebCaeaadaqadaabaeqabaGaemOBa4gabaGaemiEaGhaaiaawIcacaGLPaaajuaGdaWcaaqaaiabdkeacjabcIcaOiabeg7aHjabgUcaRiabdIha4jabcYcaSiabek7aIjabgUcaRiabd6gaUjabgkHiTiabdIha4jabcMcaPaqaaiabdkeacjabcIcaOiabeg7aHjabcYcaSiabek7aIjabcMcaPaaaaSqaaiabdIha4jabg2da9iabicdaWaqaaiabdUgaRbqdcqGHpis1aaaa@54EB@

where B ( α , β ) = Γ ( α ) Γ ( β ) Γ ( α + β ) MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemOqaiKaeiikaGIaeqySdeMaeiilaWIaeqOSdiMaeiykaKIaeyypa0tcfa4aaSaaaeaacqqHtoWrcqGGOaakcqaHXoqycqGGPaqkcqqHtoWrcqGGOaakcqaHYoGycqGGPaqkaeaacqqHtoWrcqGGOaakcqaHXoqycqGHRaWkcqaHYoGycqGGPaqkaaaaaa@4508@ is the beta function of α and β and is used here to simplify equation (3). The log likelihood function is then

c i = 1 k n i ln ( B ( α , β ) ) + i = 0 k ln ( B ( α + x i , β + n i x i ) ) MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4yamMaeyOeI0YaaabCaeaacqWGUbGBdaWgaaWcbaGaemyAaKgabeaakiGbcYgaSjabc6gaUjabcIcaOiabdkeacjabcIcaOiabeg7aHjabcYcaSiabek7aIjabcMcaPiabcMcaPiabgUcaRmaaqahabaGagiiBaWMaeiOBa4MaeiikaGIaemOqaiKaeiikaGIaeqySdeMaey4kaSIaemiEaG3aaSbaaSqaaiabdMgaPbqabaGccqGGSaalcqaHYoGycqGHRaWkcqWGUbGBdaWgaaWcbaGaemyAaKgabeaakiabgkHiTiabdIha4naaBaaaleaacqWGPbqAaeqaaOGaeiykaKIaeiykaKcaleaacqWGPbqAcqGH9aqpcqaIWaamaeaacqWGRbWAa0GaeyyeIuoaaSqaaiabdMgaPjabg2da9iabigdaXaqaaiabdUgaRbqdcqGHris5aaaa@6282@

where c is a constant. Next we will need to take the partial derivative of the log likelihood function with respect to α and β. The ML equations involving α and β are

0 = ln L α = i = 1 k Δ 1 ( α , x i ) i = 1 k Δ 1 ( α + β , n i ) 0 = ln L β = i = 1 k Δ 1 ( β , n i x i ) i = 1 k Δ 1 ( α + β , n i ) MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqbaeaabiqaaaqaaiabicdaWiabg2da9KqbaoaalaaabaGaeyOaIyRagiiBaWMaeiOBa4MaemitaWeabaGaeyOaIyRaeqySdegaaOGaeyypa0ZaaabCaeaacqqHuoardaWgaaWcbaGaeGymaedabeaakiabcIcaOiabeg7aHjabcYcaSiabdIha4naaBaaaleaacqWGPbqAaeqaaOGaeiykaKIaeyOeI0caleaacqWGPbqAcqGH9aqpcqaIXaqmaeaacqWGRbWAa0GaeyyeIuoakmaaqahabaGaeuiLdq0aaSbaaSqaaiabigdaXaqabaGccqGGOaakcqaHXoqycqGHRaWkcqaHYoGycqGGSaalcqWGUbGBdaWgaaWcbaGaemyAaKgabeaakiabcMcaPaWcbaGaemyAaKMaeyypa0JaeGymaedabaGaem4AaSganiabggHiLdaakeaacqaIWaamcqGH9aqpjuaGdaWcaaqaaiabgkGi2kGbcYgaSjabc6gaUjabdYeambqaaiabgkGi2kabek7aIbaakiabg2da9maaqahabaGaeuiLdq0aaSbaaSqaaiabigdaXaqabaGccqGGOaakcqaHYoGycqGGSaalcqWGUbGBdaWgaaWcbaGaemyAaKgabeaakiabgkHiTiabdIha4naaBaaaleaacqWGPbqAaeqaaOGaeiykaKIaeyOeI0caleaacqWGPbqAcqGH9aqpcqaIXaqmaeaacqWGRbWAa0GaeyyeIuoakmaaqahabaGaeuiLdq0aaSbaaSqaaiabigdaXaqabaGccqGGOaakcqaHXoqycqGHRaWkcqaHYoGycqGGSaalcqWGUbGBdaWgaaWcbaGaemyAaKgabeaakiabcMcaPaWcbaGaemyAaKMaeyypa0JaeGymaedabaGaem4AaSganiabggHiLdaaaaaa@91B8@


Δ 1 ( m , n ) = 1 m + n 1 + 1 m + n 2 + ... + 1 m MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeuiLdq0aaSbaaSqaaiabigdaXaqabaGccqGGOaakcqWGTbqBcqGGSaalcqWGUbGBcqGGPaqkcqGH9aqpjuaGdaWcaaqaaiabigdaXaqaaiabd2gaTjabgUcaRiabd6gaUjabgkHiTiabigdaXaaakiabgUcaRKqbaoaalaaabaGaeGymaedabaGaemyBa0Maey4kaSIaemOBa4MaeyOeI0IaeGOmaidaaOGaey4kaSIaeiOla4IaeiOla4IaeiOla4Iaey4kaSscfa4aaSaaaeaacqaIXaqmaeaacqWGTbqBaaaaaa@4B92@

The second derivatives of lnL are:

2 ln L α 2 = i = 1 k Δ 2 ( α , x i ) + i = 1 k Δ 2 ( α + β , n i ) MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqcfa4aaSaaaeaacqGHciITdaahaaqabeaacqaIYaGmaaGagiiBaWMaeiOBa4MaemitaWeabaGaeyOaIyRaeqySde2aaWbaaeqabaGaeGOmaidaaaaakiabg2da9iabgkHiTmaaqahabaGaeuiLdq0aaSbaaSqaaiabikdaYaqabaGccqGGOaakcqaHXoqycqGGSaalcqWG4baEdaWgaaWcbaGaemyAaKgabeaakiabcMcaPiabgUcaRaWcbaGaemyAaKMaeyypa0JaeGymaedabaGaem4AaSganiabggHiLdGcdaaeWbqaaiabfs5aenaaBaaaleaacqaIYaGmaeqaaOGaeiikaGIaeqySdeMaey4kaSIaeqOSdiMaeiilaWIaemOBa42aaSbaaSqaaiabdMgaPbqabaGccqGGPaqkaSqaaiabdMgaPjabg2da9iabigdaXaqaaiabdUgaRbqdcqGHris5aaaa@5E09@
2 ln L β 2 = i = 1 k Δ 2 ( β , n i x i ) + i = 1 k Δ 2 ( α + β , n i ) MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqcfa4aaSaaaeaacqGHciITdaahaaqabeaacqaIYaGmaaGagiiBaWMaeiOBa4MaemitaWeabaGaeyOaIyRaeqOSdi2aaWbaaeqabaGaeGOmaidaaaaakiabg2da9iabgkHiTmaaqahabaGaeuiLdq0aaSbaaSqaaiabikdaYaqabaGccqGGOaakcqaHYoGycqGGSaalcqWGUbGBdaWgaaWcbaGaemyAaKgabeaakiabgkHiTiabdIha4naaBaaaleaacqWGPbqAaeqaaOGaeiykaKIaey4kaScaleaacqWGPbqAcqGH9aqpcqaIXaqmaeaacqWGRbWAa0GaeyyeIuoakmaaqahabaGaeuiLdq0aaSbaaSqaaiabikdaYaqabaGccqGGOaakcqaHXoqycqGHRaWkcqaHYoGycqGGSaalcqWGUbGBdaWgaaWcbaGaemyAaKgabeaakiabcMcaPaWcbaGaemyAaKMaeyypa0JaeGymaedabaGaem4AaSganiabggHiLdaaaa@61F0@
2 ln L α β = i = 1 k Δ 2 ( α + β , n i ) MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqcfa4aaSaaaeaacqGHciITdaahaaqabeaacqaIYaGmaaGagiiBaWMaeiOBa4MaemitaWeabaGaeyOaIyRaeqySdeMaeyOaIyRaeqOSdigaaOGaeyypa0ZaaabCaeaacqqHuoardaWgaaWcbaGaeGOmaidabeaakiabcIcaOiabeg7aHjabgUcaRiabek7aIjabcYcaSiabd6gaUnaaBaaaleaacqWGPbqAaeqaaOGaeiykaKcaleaacqWGPbqAcqGH9aqpcqaIXaqmaeaacqWGRbWAa0GaeyyeIuoaaaa@4D68@


Δ 2 ( m , n ) = 1 ( m + n 1 ) 2 + 1 ( m + n 2 ) 2 + ... + 1 m 2 MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeuiLdq0aaSbaaSqaaiabikdaYaqabaGccqGGOaakcqWGTbqBcqGGSaalcqWGUbGBcqGGPaqkcqGH9aqpjuaGdaWcaaqaaiabigdaXaqaaiabcIcaOiabd2gaTjabgUcaRiabd6gaUjabgkHiTiabigdaXiabcMcaPmaaCaaabeqaaiabikdaYaaaaaGccqGHRaWkjuaGdaWcaaqaaiabigdaXaqaaiabcIcaOiabd2gaTjabgUcaRiabd6gaUjabgkHiTiabikdaYiabcMcaPmaaCaaabeqaaiabikdaYaaaaaGccqGHRaWkcqGGUaGlcqGGUaGlcqGGUaGlcqGHRaWkjuaGdaWcaaqaaiabigdaXaqaaiabd2gaTnaaCaaabeqaaiabikdaYaaaaaaaaa@5234@

These second derivatives of the log likelihood function can be used to form the Hessian matrix which, in turn, can be used to derive the standard errors for the parameters. An example will be given in a following section. Most often μ is the main parameter of interest, and therefore we present a direct estimation of it rather than proceeding through α and β.

Define f x (x) (x = 0,1,2, ..., k) as the observed frequencies of events from k trials. Then the likelihood of beta-binomial can be also written as

L ( α , β ) = x = 0 k [ P ( x ) ] f x . MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemitaWKaeiikaGIaeqySdeMaeiilaWIaeqOSdiMaeiykaKIaeyypa0ZaaebCaeaacqGGBbWwcqWGqbaucqGGOaakcqWG4baEcqGGPaqkcqGGDbqxdaahaaWcbeqaaiabdAgaMnaaBaaameaacqWG4baEaeqaaaaaaSqaaiabdIha4jabg2da9iabicdaWaqaaiabdUgaRbqdcqGHpis1aOGaeiOla4caaa@4603@

Where P(x) has already been stated in (3). Let S i = x = 0 i f x ( i = 0 , 1 , 2 , ... , n ) MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4uam1aaSbaaSqaaiabdMgaPbqabaGccqGH9aqpdaaeWbqaaiabdAgaMnaaBaaaleaacqWG4baEaeqaaOGaeiikaGIaemyAaKMaeyypa0JaeGimaaJaeiilaWIaeGymaeJaeiilaWIaeGOmaiJaeiilaWIaeiOla4IaeiOla4IaeiOla4IaeiilaWIaemOBa4MaeiykaKcaleaacqWG4baEcqGH9aqpcqaIWaamaeaacqWGPbqAa0GaeyyeIuoaaaa@481D@ so that S k = i = 1 k n i MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4uam1aaSbaaSqaaiabdUgaRbqabaGccqGH9aqpdaaeWbqaaiabd6gaUnaaBaaaleaacqWGPbqAaeqaaaqaaiabdMgaPjabg2da9iabigdaXaqaaiabdUgaRbqdcqGHris5aaaa@3972@ is the total sample size of all the individual trials combined.

The log likelihood function in terms of μ and θ is

c S n i = 1 n 1 ln ( 1 + i θ ) + i = 0 n 1 { S n S i ) ln ( μ + i θ ) + S n 1 i ln ( 1 μ + i θ ) } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4yamMaeyOeI0Iaem4uam1aaSbaaSqaaiabd6gaUbqabaGcdaaeWbqaaiGbcYgaSjabc6gaUjabcIcaOiabigdaXiabgUcaRiabdMgaPjabeI7aXjabcMcaPiabgUcaRmaaqahabaGaei4EaSNaem4uam1aaSbaaSqaaiabd6gaUbqabaGccqGHsislcqWGtbWudaWgaaWcbaGaemyAaKgabeaakiabcMcaPiGbcYgaSjabc6gaUjabcIcaOiabeY7aTjabgUcaRiabdMgaPjabeI7aXjabcMcaPiabgUcaRiabdofatnaaBaaaleaacqWGUbGBcqGHsislcqaIXaqmcqGHsislcqWGPbqAaeqaaOGagiiBaWMaeiOBa4MaeiikaGIaeGymaeJaeyOeI0IaeqiVd0Maey4kaSIaemyAaKMaeqiUdeNaeiykaKIaeiyFa0haleaacqWGPbqAcqGH9aqpcqaIWaamaeaacqWGUbGBcqGHsislcqaIXaqma0GaeyyeIuoaaSqaaiabdMgaPjabg2da9iabigdaXaqaaiabd6gaUjabgkHiTiabigdaXaqdcqGHris5aaaa@754F@

where c is a constant and the ML estimators of μ ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiVd0MbaKaaaaa@2D9B@ and θ ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiUdeNbaKaaaaa@2D9B@ are solutions of

0 = ln L μ | μ ^ , θ ^ = i = 0 k 1 { S k S i μ + i θ S k 1 i 1 μ + i θ } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeGimaaJaeyypa0tcfa4aaSaaaeaacqGHciITcyGGSbaBcqGGUbGBcqWGmbataeaacqGHciITcqaH8oqBaaGcdaabbaqaaiqbeY7aTzaajaGaeiilaWIafqiUdeNbaKaaaiaawEa7aiabg2da9maaqahabaGaei4EaSxcfa4aaSaaaeaacqWGtbWudaWgaaqaaiabdUgaRbqabaGaeyOeI0Iaem4uam1aaSbaaeaacqWGPbqAaeqaaaqaaiabeY7aTjabgUcaRiabdMgaPjabeI7aXbaakiabgkHiTKqbaoaalaaabaGaem4uam1aaSbaaeaacqWGRbWAcqGHsislcqaIXaqmcqGHsislcqWGPbqAaeqaaaqaaiabigdaXiabgkHiTiabeY7aTjabgUcaRiabdMgaPjabeI7aXbaakiabc2ha9bWcbaGaemyAaKMaeyypa0JaeGimaadabaGaem4AaSMaeyOeI0IaeGymaedaniabggHiLdaaaa@6682@
0 = ln L μ | μ ^ , θ ^ = i = 0 k 1 i { S k S i μ + i θ + S k 1 i 1 μ + i θ S k 1 i 1 + i θ } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeGimaaJaeyypa0tcfa4aaSaaaeaacqGHciITcyGGSbaBcqGGUbGBcqWGmbataeaacqGHciITcqaH8oqBaaGcdaabbaqaaiqbeY7aTzaajaGaeiilaWIafqiUdeNbaKaaaiaawEa7aiabg2da9maaqahabaGaemyAaKMaei4EaSxcfa4aaSaaaeaacqWGtbWudaWgaaqaaiabdUgaRbqabaGaeyOeI0Iaem4uam1aaSbaaeaacqWGPbqAaeqaaaqaaiabeY7aTjabgUcaRiabdMgaPjabeI7aXbaakiabgUcaRKqbaoaalaaabaGaem4uam1aaSbaaeaacqWGRbWAcqGHsislcqaIXaqmcqGHsislcqWGPbqAaeqaaaqaaiabigdaXiabgkHiTiabeY7aTjabgUcaRiabdMgaPjabeI7aXbaakiabgkHiTKqbaoaalaaabaGaem4uam1aaSbaaeaacqWGRbWAcqGHsislcqaIXaqmcqGHsislcqWGPbqAaeqaaaqaaiabigdaXiabgUcaRiabdMgaPjabeI7aXbaakiabc2ha9bWcbaGaemyAaKMaeyypa0JaeGimaadabaGaem4AaSMaeyOeI0IaeGymaedaniabggHiLdaaaa@751E@

These equations can be solved iteratively using the Newton-Raphson method [11].

Again, the second partial derivatives of the log likelihood function can be used to form the Hessian matrix (H) at the ML solution

H ( μ ^ , θ ^ ) = [ 2 ln L μ ^ 2 2 ln L μ ^ θ ^ 2 ln L μ ^ θ ^ 2 ln L θ ^ 2 ] MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemisaGKaeiikaGIafqiVd0MbaKaacqGGSaalcuaH4oqCgaqcaiabcMcaPiabg2da9maadmaajuaGbaqbaeqabiGaaaqaamaalaaabaGaeyOaIy7aaWbaaeqabaGaeGOmaidaaiGbcYgaSjabc6gaUjabdYeambqaaiabgkGi2kqbeY7aTzaajaWaaWbaaeqabaGaeGOmaidaaaaaaeaadaWcaaqaaiabgkGi2oaaCaaabeqaaiabikdaYaaacyGGSbaBcqGGUbGBcqWGmbataeaacqGHciITcuaH8oqBgaqcaiabgkGi2kqbeI7aXzaajaaaaaqaamaalaaabaGaeyOaIy7aaWbaaeqabaGaeGOmaidaaiGbcYgaSjabc6gaUjabdYeambqaaiabgkGi2kqbeY7aTzaajaGaeyOaIyRafqiUdeNbaKaaaaaabaWaaSaaaeaacqGHciITdaahaaqabeaacqaIYaGmaaGagiiBaWMaeiOBa4MaemitaWeabaGaeyOaIyRafqiUdeNbaKaadaahaaqabeaacqaIYaGmaaaaaaaaaOGaay5waiaaw2faaaaa@65EE@

which, after being inverted, can be used to derive the covariance matrix and the standard errors for the parameters:

C o v ( μ ^ , θ ^ ) = [ σ ^ μ ^ 2 ρ σ ^ μ ^ σ ^ θ ^ ρ σ ^ μ ^ σ ^ θ ^ σ ^ θ ^ 2 ] MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4qamKaem4Ba8MaemODayNaeiikaGIafqiVd0MbaKaacqGGSaalcuaH4oqCgaqcaiabcMcaPiabg2da9maadmaabaqbaeqabiGaaaqaaiqbeo8aZzaajaWaa0baaSqaaiqbeY7aTzaajaaabaGaeGOmaidaaaGcbaGaeqyWdiNafq4WdmNbaKaadaWgaaWcbaGafqiVd0MbaKaaaeqaaOGafq4WdmNbaKaadaWgaaWcbaGafqiUdeNbaKaaaeqaaaGcbaGaeqyWdiNafq4WdmNbaKaadaWgaaWcbaGafqiVd0MbaKaaaeqaaOGafq4WdmNbaKaadaWgaaWcbaGafqiUdeNbaKaaaeqaaaGcbaGafq4WdmNbaKaadaqhaaWcbaGafqiUdeNbaKaaaeaacqaIYaGmaaaaaaGccaGLBbGaayzxaaaaaa@5574@

And the confidence intervals for μ ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiVd0MbaKaaaaa@2D9B@ and θ ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiUdeNbaKaaaaa@2D9B@ can be obtained by

μ ^ ± Z 1 α / 2 σ ^ μ ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiVd0MbaKaacqGHXcqScqWGAbGwdaWgaaWcbaGaeGymaeJaeyOeI0IaeqySdeMaei4la8IaeGOmaidabeaakiqbeo8aZzaajaWaaSbaaSqaaiqbeY7aTzaajaaabeaaaaa@3A63@
θ ^ ± Z 1 α / 2 σ ^ θ ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiUdeNbaKaacqGHXcqScqWGAbGwdaWgaaWcbaGaeGymaeJaeyOeI0IaeqySdeMaei4la8IaeGOmaidabeaakiqbeo8aZzaajaWaaSbaaSqaaiqbeI7aXzaajaaabeaaaaa@3A63@

where Z 1-α/2 is the 1-α/2 percentile of a standard normal distribution function.

Once μ ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiVd0MbaKaaaaa@2D9B@ and θ ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiUdeNbaKaaaaa@2D9B@ are estimated, one can also derive α ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqySdeMbaKaaaaa@2D84@ and β ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqOSdiMbaKaaaaa@2D86@ from the relationships that μ = α/(α+β), θ = 1/(α+β). It can easily be shown that the estimate of α ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqySdeMbaKaaaaa@2D84@ is μ ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiVd0MbaKaaaaa@2D9B@ / θ ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiUdeNbaKaaaaa@2D9B@ and the estimate of β ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqOSdiMbaKaaaaa@2D86@ is (1 - μ ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiVd0MbaKaaaaa@2D9B@ )/ θ ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiUdeNbaKaaaaa@2D9B@ . If we substitute these estimates for α and β in the beta-binomial model (3), then the cumulative distribution can be calculated.

As we have shown above, either method can be used to estimate the parameters of the beta-binomial distribution. Readers who are interested in more details should consult Griffiths [9] and Kleinman [10]. Researchers have implemented the maximum likelihood estimation (MLE) method in two popular commercial statistical software packages. In addition, free statistical software, such as R and WinBUGS, have methods for fitting the beta-binomial model, but they require some programming.

One of those two popular commercial statistical software packages is SAS (SAS Institute Inc., Cary, NC, USA). The macro BETABIN written by Ian Wakeling [12] is freely available. It borrows the existing SAS procedure NLMIXED to provide a maximum likelihood estimation of μ and θ. It provides not only the standard beta-binomial model, but also Brockhoff's [13] corrected beta-binomial model. Interested readers can also experiment directly with Proc NLMIXED to fit the beta-binomial model as others have done [14].

The other software is Stata (College Station, Texas). Guimarães provided the necessary computer commands for beta-binomial estimations using the Stata command xtnbreg with conditional maximum likelihood [15]. In addition, Guimarães emphasized the common knowledge that the beta-binomial distribution was a special case of the more general Dirichlet-multinomial (DM) distribution – with two parameters in this case. In the general Dirichlet-multinomial distribution there are m parameters, allowing far more than two (α and β) in the beta-binomial distribution. In situations where one is indeed concerned with multiple types of adverse events associated with the same exposure, expanding to the Dirichlet-multinomial distribution is a logical solution. Technical details of the multinomial model have been given by others [1517].

Test of overdispersion

Using the binomial model when the variability in the data exceeds what the binomial model can accommodate could result in an underestimation of the standard error of the pooled event rate and thus increase the chance of a Type I error. Ennis and Bi [5] described an experiment with 10,000 sets of simulated overdispersed binomial data where they found that the Type I error was 0.44 and not the false assumption of 0.05. It is precisely because the binomial model is unable to fit overdispersed binomial data that the application of the beta-binomial is necessary. So before one adopts the beta-binomial for the analysis of certain datasets, one must first examine whether the data are overdispersed to the extent that the beta-binomial model would be a better fit than the simple binomial model. There are several ways to examine overdispersion. We know that

E ( p i ) = μ = α α + β , V ( p i ) = μ ( 1 μ ) γ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemyrauKaeiikaGIaemiCaa3aaSbaaSqaaiabdMgaPbqabaGccqGGPaqkcqGH9aqpcqaH8oqBcqGH9aqpjuaGdaWcaaqaaiabeg7aHbqaaiabeg7aHjabgUcaRiabek7aIbaakiabcYcaSiabdAfawjabcIcaOiabdchaWnaaBaaaleaacqWGPbqAaeqaaOGaeiykaKIaeyypa0JaeqiVd0MaeiikaGIaeGymaeJaeyOeI0IaeqiVd0MaeiykaKIaeq4SdCgaaa@4C76@

where γ = 1/(1 + α + β). If we are able to estimate γ, we can test whether γ is zero. If it is close to zero, then there is no significant overdispersion, and the binomial model will adequately describe the data. This test, however, has been found to be less sensitive in detecting departure from the binomial model because boundary problems arise as we test whether a positive-valued parameter is greater than 0 (recall that α and β are positive parameters, and consequently so are θ and γ) [5].

As one would expect, a likelihood ratio test can also be used to test for overdispersion, but the same boundary problem applies [18, 19]. The null hypothesis is that the underlying distribution is binomial while the alternative hypothesis is that the distribution is beta-binomial. The log-likelihood for the binomial model (interpreted to be pooling the data from all studies without weighting) is

ln L = ln ( n x ) + y ln ( p ) + ( n x ) ln ( 1 p ) . MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGagiiBaWMaeiOBa4MaemitaWKaeyypa0JagiiBaWMaeiOBa42aaeWaaqaabeqaaiabd6gaUbqaaiabdIha4baacaGLOaGaayzkaaGaey4kaSIaemyEaKNagiiBaWMaeiOBa4MaeiikaGIaemiCaaNaeiykaKIaey4kaSIaeiikaGIaemOBa4MaeyOeI0IaemiEaGNaeiykaKIagiiBaWMaeiOBa4MaeiikaGIaeGymaeJaeyOeI0IaemiCaaNaeiykaKIaeiOla4caaa@4F83@

The likelihood ratio test is

χ 1 2 = 2 (L BB - L B )

where L BB is the log-likelihood value for the beta-binomial model (9) and L B is log-likelihood value for the binomial model (15).

Although a solution for the boundary problem has been offered [20], there is no consensus on the optimal solution [21]. To avoid the boundary problem, we can use the alternative – Tarone's Z statistic [22] – to test for overdispersion. This has been shown to be more sensitive than the parameter test (e.g. test for γ being zero) and the log-likelihood ratio test [5]:

Z = E i = 1 k n i 2 i = 1 k n i ( n i 1 ) MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemOwaOLaeyypa0tcfa4aaSaaaeaacqWGfbqrcqGHsisldaaeWbqaaiabd6gaUnaaBaaabaGaemyAaKgabeaaaeaacqWGPbqAcqGH9aqpcqaIXaqmaeaacqWGRbWAaiabggHiLdaabaWaaOaaaeaacqaIYaGmdaaeWbqaaiabd6gaUnaaBaaabaGaemyAaKgabeaaaeaacqWGPbqAcqGH9aqpcqaIXaqmaeaacqWGRbWAaiabggHiLdGaeiikaGIaemOBa42aaSbaaeaacqWGPbqAaeqaaiabgkHiTiabigdaXiabcMcaPaqabaaaaaaa@4BEC@


E = i = 1 k ( x i n i p ^ ) 2 p ^ ( 1 p ^ ) and p ^ = i = 1 k x i n k . MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqbaeqabeWaaaqaaiabdweafjabg2da9maaqahajuaGbaWaaSaaaeaacqGGOaakcqWG4baEdaWgaaqaaiabdMgaPbqabaGaeyOeI0IaemOBa42aaSbaaeaacqWGPbqAaeqaaiqbdchaWzaajaGaeiykaKYaaWbaaeqabaGaeGOmaidaaaqaaiqbdchaWzaajaGaeiikaGIaeGymaeJaeyOeI0IafmiCaaNbaKaacqGGPaqkaaaaleaacqWGPbqAcqGH9aqpcqaIXaqmaeaacqWGRbWAa0GaeyyeIuoaaOqaaiabbggaHjabb6gaUjabbsgaKbqaaiqbdchaWzaajaGaeyypa0ZaaabCaKqbagaadaWcaaqaaiabdIha4naaBaaabaGaemyAaKgabeaaaeaacqWGUbGBdaWgaaqaaiabdUgaRbqabaaaaaWcbaGaemyAaKMaeyypa0JaeGymaedabaGaem4AaSganiabggHiLdGccqGGUaGlaaaaaa@5C3A@

This statistic Z has an asymptotic standard normal distribution under the null hypothesis of a binomial distribution. In short, we recommend caution in using the likelihood ratio test. It is better to combine it with Tarone's Z statistics. The Z statistics can also be used as a goodness-of-fit test. It has been shown to be superior to other goodness-of-fit measures [21]. We will be calculating Tarone's Z in our application example.

The Bayesian Approach

In the preceding sections we describe the beta-binomial model within the frequentist framework of statistics. Interestingly, in the Bayesian statistics field, the beta-binomial model is commonly described in Bayesian statistics textbooks as an example [23, 24]. Since Bayesian statistical methods are now increasingly used in clinical and public health research, we hereby briefly describe the derivation of the beta-binomial model in the Bayesian framework. Some have noted that the Bayesian approach can provide more accurate estimates for small samples [25, 26].

Recall that the binomial distribution (in equation 1) is the following:

Prob ( X = x | p ) = ( n x ) p x ( 1 p ) n x MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeeiuaaLaeeOCaiNaee4Ba8MaeeOyaiMaeiikaGIaemiwaGLaeyypa0JaemiEaGNaeiiFaWNaemiCaaNaeiykaKIaeyypa0ZaaeWaaqaabeqaaiabd6gaUbqaaiabdIha4baacaGLOaGaayzkaaGaemiCaa3aaWbaaSqabeaacqWG4baEaaGccqGGOaakcqaIXaqmcqGHsislcqWGWbaCcqGGPaqkdaahaaWcbeqaaiabd6gaUjabgkHiTiabdIha4baaaaa@4B35@

Let the conjugate prior π(p|α, β) be a beta distribution (i.e., if p in equation 1 follows the beta distribution)

Beta ( p | α , β ) = Γ ( α + β ) Γ ( α ) Γ ( β ) p α 1 ( 1 p ) β 1 MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeeOqaiKaeeyzauMaeeiDaqNaeeyyaeMaeiikaGIaemiCaaNaeiiFaWNaeqySdeMaeiilaWIaeqOSdiMaeiykaKIaeyypa0tcfa4aaSaaaeaacqqHtoWrcqGGOaakcqaHXoqycqGHRaWkcqaHYoGycqGGPaqkaeaacqqHtoWrcqGGOaakcqaHXoqycqGGPaqkcqqHtoWrcqGGOaakcqaHYoGycqGGPaqkaaGccqWGWbaCdaahaaWcbeqaaiabeg7aHjabgkHiTiabigdaXaaakiabcIcaOiabigdaXiabgkHiTiabdchaWjabcMcaPmaaCaaaleqabaGaeqOSdiMaeyOeI0IaeGymaedaaaaa@5A0F@

where Γ is the gamma function. The beta priors are selected because they are very flexible on (0, 1) and can represent a wide range of prior beliefs. These are similar to the reasons for selecting the beta distribution in the frequentist framework. In addition, by starting with the beta distribution as the conjugate prior, we ensure that the posterior distribution is always a beta distribution, and thus mathematically tractable for estimating the parameters.

For notational convenience, let μ = α/(α+β), M = α+β (i.e. M = 1/θ), so that

Beta ( p | α , β ) = Γ ( M ) Γ ( μ M ) Γ ( M ( 1 μ ) ) p M μ 1 ( 1 p ) M ( 1 μ ) 1 MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeeOqaiKaeeyzauMaeeiDaqNaeeyyaeMaeiikaGIaemiCaaNaeiiFaWNaeqySdeMaeiilaWIaeqOSdiMaeiykaKIaeyypa0tcfa4aaSaaaeaacqqHtoWrcqGGOaakcqWGnbqtcqGGPaqkaeaacqqHtoWrcqGGOaakcqaH8oqBcqWGnbqtcqGGPaqkcqqHtoWrcqGGOaakcqWGnbqtcqGGOaakcqaIXaqmcqGHsislcqaH8oqBcqGGPaqkcqGGPaqkaaGccqWGWbaCdaahaaWcbeqaaiabd2eanjabeY7aTjabgkHiTiabigdaXaaakiabcIcaOiabigdaXiabgkHiTiabdchaWjabcMcaPmaaCaaaleqabaGaemyta0KaeiikaGIaeGymaeJaeyOeI0IaeqiVd0MaeiykaKIaeyOeI0IaeGymaedaaaaa@6312@

In short, we again have a two-stage model:

X i |p i ~Bin(n i , p i )

p i ~Beta (μ, M), i.i.d

In the Bayesian terminology, the beta prior distribution, when updated with binomial data, gives a beta posterior distribution. The Bayesian estimator can then be chosen as the mean, median, or the mode of this marginal posterior. In many situations, as long as the sample sizes are reasonably large (n = 50 or more), our previous methods of moment estimation and maximum likelihood are still preferred in the Bayesian framework for the estimations of mean and variance. There are other detailed mathematical equations involved in Bayesian estimation of the beta-binomial model for specific cases. Interested readers could consult Lee and Sabavala [25] as well as Lee and Lio [26].


We will illustrate the application of the beta-binomial method using an analysis that examined the adverse effects of oral anti-fungal agents. Oral anti-fungal agents, including terbinafine, itraconazole, and fluconazole, have become the treatment of choice for onychomycosis and dermatophytosis not responding to topical therapy. In order to study the safety profiles of these agents, we reviewed data from randomized and non-randomized controlled trials, case series, and cohort studies that enrolled patients having superficial dermatophytosis (tinea pedis, tinea mannus, tinea copora, and tinea cruris) or onychomycosis, aged 18 or above, receiving oral antifungal therapy for two or more weeks. One outcome of interest was the cumulative incidence of patients who withdrew from the study because of adverse reactions [7]. Data for 41 treatment arms of terbinafine from 37 studies (Table 1 and Appendix) are used as an example.

Table 1 Treatment arms of terbinafine included in pooled estimates

Event rates from different studies varied from 0 % to 13.89%. We apply the beta-binomial model with the maximum likelihood method to estimate the pooled event rates using SAS and SAS macro BETABIN. From all the eligible studies, we combine the data and obtain the summary estimate of risks and its 95% confidence intervals (CI).

The ML estimates for parameters μ and θ are μ ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiVd0MbaKaaaaa@2D9B@ = 0.0344 and θ ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiUdeNbaKaaaaa@2D9B@ = 0.0278. The estimate of the covariance matrix for μ ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiVd0MbaKaaaaa@2D9B@ and θ ^ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiUdeNbaKaaaaa@2D9B@ is

C o v ( μ ^ , θ ^ ) = [ 0.00004 0.00002 0.00002 0.00013 ] . MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4qamKaem4Ba8MaemODayNaeiikaGIafqiVd0MbaKaacqGGSaalcuaH4oqCgaqcaiabcMcaPiabg2da9maadmaabaqbaeqabiGaaaqaaiabicdaWiabc6caUiabicdaWiabicdaWiabicdaWiabicdaWiabisda0aqaaiabicdaWiabc6caUiabicdaWiabicdaWiabicdaWiabicdaWiabikdaYaqaaiabicdaWiabc6caUiabicdaWiabicdaWiabicdaWiabicdaWiabikdaYaqaaiabicdaWiabc6caUiabicdaWiabicdaWiabicdaWiabigdaXiabiodaZaaaaiaawUfacaGLDbaacqGGUaGlaaa@5410@

In Table 2, we present different estimations of a pooled proportion (event rates) using the binomial model and the beta-binomial model. Using the binomial model, we compute a binomial probability and variance as if all the data were from a single study with a sample size of over 3,000. The pooled estimate is 3.70%, 8% higher than the beta-binomial estimate of 3.44%. The standard error from the collapsed data is 0.34%, misleadingly smaller than that of the beta-binomial estimation of 0.59%.

Table 2 Estimation of proportion and tests of overdispersion

The important issue naturally is the test of overdispersion since that is the basis for preferring the beta-binomial model in these situations. Results from different methods to evaluate overdispersion are presented in Table 2. As discussed in previous sections, θ and γ are indicators of overdispersion. They are significantly greater than zero in this case (p < 0.05), indicating the presence of overdispersion. We also conduct a likelihood-ratio test between the beta-binomial and the binomial, and again the test shows that there is significant overdispersion (p < 0.001). Finally, we calculate Tarone's Z statistic, and the result is consistent with other tests. It shows that the beta-binomial has better goodness-of-fit than the binomial (p < 0.001). The fit that the beta-binomial model gives for our example is also graphically presented in Figure 2.

Figure 2

Beta distribution for the binomial proportions based on example.

As we have shown above, under the beta-binomial model the summary event rate is 3.44% with an estimated standard error of 0.59%. The θ is estimated to be 2.78% (Table 2), which gives an α estimate of 1.24 and a β estimate of 34.72. Once these parameters are estimated, we can use the estimated beta-binomial model to examine the probability of observing, for example, 105 or more adverse events in a new study of 1,000 subjects. Using equation 3, that probability is 5% under our estimated beta-binomial model.


Along with the development of drugs, vaccines, and medical products for unmet medical needs, more robust analytic methods are needed to quantify the risks associated with the use of these agents, so that regulators and clinicians can rigorously assess the risk-benefit profiles of medical products. While randomized controlled trials have been established as the gold standard for efficacy evaluation, comprehensive safety assessment requires a collection of different methods. As any single trial is rarely large enough to estimate precisely the probability of serious adverse events, large observational datasets or aggregations of clinical trial results are necessary. A recent high profile example [27] illustrated the need to combine results from multiple studies to unearth safety signals that may not be apparent in individual studies. Developing on prior work by Chuang-Stein [2], we provide a more comprehensive background of the beta-binomial model, a model that could have wider application in clinical and public health research. In order to show new developments in the beta-binomial field over the past decade, we explain and demonstrate that the beta-binomial method can be used for the combination of heterogeneous studies to estimate event rates.

Estimating the correct summary event rate based on heterogeneous binomial data is so far the main reason for adopting the beta-binomial distribution. Once this is accomplished, one might wish to examine whether specific attributes of the studies will have any meaningful impact. The beta-binomial model can incorporate these attributes into a regression model as covariates. For example, the main purpose of the study might be to evaluate the proportion of adverse events from all clinical trials involving drug A. Different studies might have different proportions of female subjects, and one may link the covariate, the proportion of female subjects, to the α parameter. In addition, different studies might include or exclude certain comorbid conditions. The comorbidity, defined as a binary variable, could also be included as a covariate. One can then evaluate the likelihood of the comorbidity increasing a specific side effect. As current meta-regression methods are mainly applied to comparative measures like relative risks, the advantage of the beta-binomial model is that it can assess the correlation between study attributes and absolute risks of events.

Traditional meta-analysis can also combine event rates from heterogeneous sources by using the DerSimonian and Laird method [28]. We applied this method to the same dataset and placed the summary rate in Table 2, with an estimate of 3.90% with a standard error of 0.51%. This is in good agreement with our estimation using the beta-binomial model. In medical product safety assessment, however, being able to derive a clear probability distribution offers advantages that traditional meta-analysis cannot, because the distributions allow the computation of absolute risks or probabilities involved in decision analysis. In the Bayesian framework, the beta-binomial model also enables better incorporation of prior knowledge and its associated uncertainty. In other words, even though traditional meta-analysis can also combine event rates, the adoption of the beta-binomial model can serve multiple purposes.


In the process of pooling event rates from multiple studies, one must consider the existence of overdispersion and the adequacy of the binomial model. In the example that we have presented, we estimated the pooled proportion of adverse events using the beta-binomial model. While we mainly discussed the application in safety assessment, the same method can be applied to assessment of efficacy of treatment response [29].


Studies Included in Table 1

1. Alpsoy E, Yilmaz E, Basaran E. Intermittent therapy with terbinafine for dermatophyte toe-onychomycosis: a new approach. J Dermatol. 1996:23:259–262.

2. Arca E, Taştan HB, Akar A, Kurumlu Z, Gür AR. An open, randomized, comparative study of oral fluconazole, itraconazole and terbinafine therapy in onychomycosis. J Dermatolog Treat. 2002:13:3–9.

3. Arenas R, Dominguez-Cherit J, Fernandez LM. Open randomized comparison of itraconazole versus terbinafine in onychomycosis. Int J Dermatol. 1995:34:138–143.

4. Avner S, Nir N, Henri T. Combination of oral terbinafine and topical ciclopirox compared to oral terbinafine for the treatment of onychomycosis. J Dermatolog Treat. 2005;16:327–330.

5. Baldari U, Righini MG, Raccagni AA, et al. Comparative double blind, double dummy study on the efficacy and safety of fluconazole 100 mg/day versus terbinafine 250 mg/day in the treatment of dermatomycoses. G Ital Dermatol Venereol. 2000;135:229–235.

6. Baran R, Belaich S, Beylot C, et al. Comparative multicentre doubleblind study of terbinafine (250 mg per day) versus griseofulvin (1 g per day) in the treatment of dermatophyte onychomycosis. J Dermatolog Treat. 1997;8:93–97.

7. Baran R, Feuilhade M, Combernale P, et al. A randomized trial of amorolfine 5% solution nail lacquer combined with oral terbinafine compared with terbinafine alone in the treatment of dermatophytic toenail onychomycoses affecting the matrix region. Br J Dermatol. 2000;142:1177–1183.

8. Brautigam M, Nolting S, Schopf RE, Weidinger G. Randomised double blind comparison of terbinafine and itraconazole for treatment of toenail tinea infection. Seventh Lamisil German Onychomycosis Study Group. BMJ. 1995;311:919–922.

9. De Backer M, De Vroey C, Lesaffre E, et al. Twelve weeks of continuous oral therapy for toenail onychomycosis caused by dermatophytes: a double-blind comparative trial of terbinafine 250 mg/day versus itraconazole 200 mg/day. J Am Acad Dermatol. 1998;38 (5 Pt 3):S57–S63.

10. De Keyser P, De Backer M, Massart DL, Westelinck KJ. Two-week oral treatment of tinea pedis, comparing terbinafine (250 mg/day) with itraconazole (100 mg/day): a double-blind, multicentre study. Br J Dermatol. 1994;130(Suppl 43):22–25.

11. Degreef H, del Palacio A, Mygind S, et al. Randomized double-blind comparison of short-term itraconazole and terbinafine therapy for toenail onychomycosis. Acta Derm Venereol. 1999;79:221–223.

12. del Palacio Hernandez A, Lopez Gomez S, Gonzalez Lastra F, et al. A comparative double-blind study of terbinafine (Lamisil) and griseofulvin in tinea corporis and tinea cruris. Clin Exp Dermatol. 1990;15:210–216.

13. Drake LA, Shear NH, Arlette JP, et al. Oral terbinafine in the treatment of toenail onychomycosis: North American multicenter trial. J Am Acad Dermatol. 1997;37(5 Pt 1):740–745.

14. Evans EG, Sigurgeirsson B. Double blind, randomised study of continuous terbinafine compared with intermittent itraconazole in treatment of toenail onychomycosis. The LION Study Group. BMJ. 1999;318:1031–1035.

15. Faergemann J, Anderson C, Hersle K, et al. Double-blind, paralle-lgroup comparison of terbinafine and griseofulvin in the treatment of toenail onychomycosis. J Am Acad Dermatol. 1995;32(5 Pt 1):750–753.

16. Goodfield MJ, Andrew L, Evans EG. Short term treatment of dermatophyte onychomycosis with terbinafine. BMJ. 1992;304:1151–1154.

17. Goodfield MJ, Rowell NR, Forster RA, et al. Treatment of dermatophyte infection of the finger- and toe-nails with terbinafine (SF86-327, Lamisil), an orally active fungicidal agent. Br J Dermatol. 1989;121:753–757.

18. Gupta AK, Gregurek-Novak T. Efficacy of itraconazole, terbinafine, fluconazole, griseofulvin and ketoconazole in the treatment of Scopulariopsis brevicaulis causing onychomycosis of the toes. Dermatology. 2001;202:235–238.

19. Gupta AK, Konnikov N, Lynde CW, et al. Single-blind, randomized, prospective study on terbinafine and itraconazole for treatment of dermatophyte toenail onychomycosis in the elderly. J Am Acad Dermatol 2001; 44: 479–484.

20. Haneke E, Tausch I, Brautigam M, et al. Short-duration treatment of fingernail dermatophytosis: a randomized, double-blind study with terbinafine and griseofulvin. LAGOS III Study Group. J Am Acad Dermatol. 1995;32:72–77.

21. Havu V, Heikkila H, Kuokkanen K, et al. A double-blind, randomized study to compare the efficacy and safety of terbinafine (Lamisil) with fluconazole (Diflucan) in the treatment of onychomycosis. Br J Dermatol. 2000;142:97–102.

22. Hay RJ, McGregor JM, Wuite J, et al. A comparison of 2 weeks of terbinafine 250 mg/day with 4 weeks of itraconazole 100 mg/day in plantar-type tinea pedis. Br J Dermatol. 1995;132:604–608.

23. Hofmann H, Brautigam M, Weidinger G, Zaun H. Treatment of toenail onychomycosis. A randomized, double-blind study with terbinafine and griseofulvin. LAGOS II Study Group. Arch Dermatol. 1995;131:919–922.

24. Honeyman JF, Talarico FS, Arruda LHF, et al. Itraconazole versus terbinafine (LAMISIL(registered trademark)): which is better for the treatment of onychomycosis? J Eur Acad Dermatol Venereol. 1997; 9:215–221.

25. Kim JH, Yoon KB. Single-blind randomized study of terbinafine vs itraconazole in tinea pedis (two weeks vs four weeks). Terbinafine in the treatment of superficial fungal infections, edited by S. Shuster and M. H. Jafary, 1993; p17-20 Royal Society of Medicine Services International Congress and Symposium Series No. 205, published by Royal Society of Medicine Services Limited.

26. Savin R. Successful treatment of chronic tinea pedis (moccasin type) with terbinafine (Lamisil). Clin Exp Dermatol. 1989;14:116–119.

27. Savin RC, Zaias N. Treatment of chronic moccasin-type tinea pedis with terbinafine: a double-blind, placebo-controlled trial. J Am Acad Dermatol. 1990;23(4 Pt 2):804–807.

28. Svejgaard EL, Brandrup F, Kragballe K, et al. Oral terbinafine in toenail dermatophytosis. A double-blind, placebo-controlled multicenter study with 12 months' follow-up. Acta Derm Venereol. 1997; 77:66–69.

29. Tausch I, Brautigam M, Weidinger G, Jones TC. Evaluation of 6 weeks treatment of terbinafine in tinea unguium in a double-blind trial comparing 6 and 12 weeks therapy. The Lagos V Study Group. Br J Dermatol. 1997;136:737–742.

30. Tausch I, Decroix J, Gwiezdzinski Z, et al. Short-term itraconazole versus terbinafine in the treatment of tinea pedis or manus. Int J Dermatol. 1998;37:140–142.

31. Tosti A, Piraccini BM, Stinchi C, et al. Treatment of dermatophyte nail infections: an open randomized study comparing intermittent terbinafine therapy with continuous terbinafine treatment and intermittent itraconazole therapy. J Am Acad Dermatol. 1996;34:595–600.

32. van der Schroeff JG, Cirkel PK, Crijns MB, et al. A randomized treatment duration-finding study of terbinafine in onychomycosis. Br J Dermatol. 1992;126(Suppl 39):36–39.

33. Voravutinon V. Oral treatment of tinea corporis and tinea cruris with terbinafine and griseofulvin: a randomized double blind comparative study. J Med Assoc Thai. 1993;76:388–393.

34. Warshaw, E.M., D.D. Fett, H.E. Bloomfield, J.P. Grill, D.B. Nelson, V. Quintero, S.M. Carver, G.R. Zielke and F.A. Lederle. Pulse versus continuous terbinafine for onychomycosis: a randomized, double-blind, controlled trial. J Am Acad Dermatol. 2005;53:578–584.

35. Watson A, Marley J, Ellis D, Williams T. Terbinafine in onychomycosis of the toenail: a novel treatment protocol. J Am Acad Dermatol. 1995;33(5 Pt 1):775–779.

36. Widyanto BU, Kuswadji KB. A randomized, double blind comparative study of terbinafine vs griseofulvin in tinea pedis. Terbinafine in the treatment of superficial fungal infections, edited by S. Shuster and M. H. Jafary, 1993, p21-24; Royal Society of Medicine Services International Congress and Symposium Series No. 205, published by Royal Society of Medicine Services Limited.

37. Won YH, Kim SJ, Lee HW, Chun IK. Clinical comparative study of terbinafine and itraconazole in the treatment of tinea pedis. Terbinafine in the treatment of superficial fungal infections, edited by S. Shuster and M. H. Jafary, 1993, p7-10; Royal Society of Medicine Services International Congress and Symposium Series No. 205, published by Royal Society of Medicine Services Limited.


  1. 1.

    Rothman JJ, Greenland S: Modern Epidemiology. 1998, Lippincott Williams & Wilkins. Boston, 2

    Google Scholar 

  2. 2.

    Chuang-Stein C: An application of the beta-binomial model to combine and monitor medical event rates in clinical trials. Drug Inf J. 1993, 27: 515-523.

    Google Scholar 

  3. 3.

    Cox DR: Some remarks on overdispersion. Biometrika. 1983, 70: 269-274. 10.1093/biomet/70.1.269.

    Article  Google Scholar 

  4. 4.

    Anderson DA: Some models for overdispersed Binomial data. Austral J Statist. 1988, 30: 125-148. 10.1111/j.1467-842X.1988.tb00844.x.

    Article  Google Scholar 

  5. 5.

    Ennis DM, Bi J: The beta-binomial model: accounting for inter-trial variation in replicated difference and preference tests. Journal of Sensory Studies. 1998, 13: 389-412. 10.1111/j.1745-459X.1998.tb00097.x.

    Article  Google Scholar 

  6. 6.

    Jansche M: Parametric models of linguistic count data. Computational Linguistics. 2003, 288-295.

    Google Scholar 

  7. 7.

    Chang CH, Young-Xu Y, Kurth T, Orav JE, Chan AK: The Safety of Oral Antifungal Treatments for Superficial Dermatophytosis and Onychomycosis: A Meta-analysis. Am J Med. 2007, 120 (9): 791-798. 10.1016/j.amjmed.2007.03.021.

    CAS  Article  PubMed  Google Scholar 

  8. 8.

    Skellam JG: A probability Distribution derived from the binomial distribution by regarding the probability of success as variable between the sets of trials. J Royal Statistical Soc Series B. 1948, 10: 257-261.

    Google Scholar 

  9. 9.

    Griffiths DA: Maximum likelihood estimation for the beta-binomial distribution and an application to the household distribution of the total number of cases of a disease. Biometrics. 1973, 29: 637-648. 10.2307/2529131.

    CAS  Article  PubMed  Google Scholar 

  10. 10.

    Kleinman JC: Proportions with extraneous variance: single and independent samples. J Am Statistical Assoc. 1973, 68: 46-54. 10.2307/2284137.

    Google Scholar 

  11. 11.

    Lindstrom MJ, Bates DM: Newton-Raphson and EM algorithms for linear mixed-effects models for repeated-measures data. Journal of the American Statistical Association. 1988, 83: 1014-1022. 10.2307/2290128.

    Google Scholar 

  12. 12.

    Wakelin I: MACRO Betabin. []

  13. 13.

    Brockhoff PB: The statistical power of replications in difference tests. Food Quality & Preference. 2003, 14: 405-417. 10.1016/S0950-3293(03)00003-X.

    Article  Google Scholar 

  14. 14.

    Nelson KP, Fitzmaurice G, Strawderman P: Use of the Probability Integral Transformation to Fit Nonlinear Mixed-Effects Models With Nonnormal Random Effects. Journal of Computational & Graphical Statistics. 2006, 15 (1): 39-57. 10.1198/106186006X96854.

    Article  Google Scholar 

  15. 15.

    Guimarães P: A simple approach to fit the beta-binomial model. Stata Journal. 2005, 5 (3): 385-394.

    Google Scholar 

  16. 16.

    Neerchal NK, Morel JG: Large cluster results for two parametric multinomial extra variation models. Journal of the American Statistical Association. 1998, 93 (443): 1078-1087. 10.2307/2669851.

    Article  Google Scholar 

  17. 17.

    Leonard T: A Bayesian approach to some multinomial estimation and pretesting problems. Journal of the American Statistical Association. 1977, 72 (360): 869-874. 10.2307/2286478.

    Article  Google Scholar 

  18. 18.

    Garren ST, Simith RL, Piegorsch WW: On a Likelihood-Based Goodness-of-Fit Test of the Beta-Binomial Model. Biometrics. 2000, 56 (3): 947-950. 10.1111/j.0006-341X.2000.947_1.x.

    CAS  Article  PubMed  Google Scholar 

  19. 19.

    Paul SR: Analysis of proportions of affected foetuses in teratological experiments. Biometrics. 1982, 38 (2): 361-370. 10.2307/2530450.

    CAS  Article  PubMed  Google Scholar 

  20. 20.

    Gutierrez RG, Carter S, Drukker DM: On boundary-value likelihood-ratio tests. Stata Technical Bulletin. 60 (2001): 15-18.

  21. 21.

    Paul SR, Liang KY, Self SG: On testing departure from the binomial and multinomial assumptions. Biometrics. 1989, 45 (1): 231-236. 10.2307/2532048.

    CAS  Article  PubMed  Google Scholar 

  22. 22.

    Tarone RE: Testing the goodness of fit of the binomial distribution. Biometrika. 1979, 66 (3): 585-590. 10.1093/biomet/66.3.585.

    Article  Google Scholar 

  23. 23.

    Carlin BP, Louis TA: Bayes and Empirical Bayes Methods for Data Analysis. 2000, Chapman and Hall/CRC Press. Boco Raton, 2

    Google Scholar 

  24. 24.

    Congdon P: Applied Bayesian Modelling. 2004, John Wiley & Sons. New York

    Google Scholar 

  25. 25.

    Lee JC, Sabavala DJ: Bayesian Estimation and Prediction for the Beta-Binomial Model. Journal of Business and Economic Statistics. 1987, 5: 357-367. 10.2307/1391611.

    Google Scholar 

  26. 26.

    Lee JC, Lio YL: A note on Bayesian estimation and prediction for the beta-binomial model. Journal of Statistical Computation and Simulation. 1997, 63: 73-91. 10.1080/00949659908811950.

    Article  Google Scholar 

  27. 27.

    Nissen SE, Wolski K: Effect of Rosiglitazone on the Risk of Myocardial Infarction and Death from Cardiovascular Causes. N Engl J Med. 2007, 356: 2457-2471. 10.1056/NEJMoa072761.

    CAS  Article  PubMed  Google Scholar 

  28. 28.

    DerSimonian R, Laird N: Meta analysis in clinical trials. Controlled Clin Trials. 1986, 7: 177-188. 10.1016/0197-2456(86)90046-2.

    CAS  Article  PubMed  Google Scholar 

  29. 29.

    Chang CH, Chen KY, Young-Xu Y, Kurth T, John Orav E, Yang PC, Chan KA: The safety and efficacy of gefitinib versus platinum-based doublets chemotherapy as the first-line treatment for advanced non-small-cell lung cancer patients in East Asia: A meta-analysis. Lung Cancer. 2008, 2008, Apr 17.

    Google Scholar 

Pre-publication history

  1. The pre-publication history for this paper can be accessed here:

Download references


We thank Dr. Chia-Hsuin Chang for acquisition of data. The study was funded by the Research and Teaching account of K. Arnold Chan at Harvard School of Public Health and the Harvard Pharmacoepidemiology Program. The Harvard Pharmacoepidemiology Program, which has received unrestricted funds from pharmaceutical companies, had no influence on study design or planning; on collection, analysis, or interpretation of data; on the writing of the manuscript; or on the decision to submit the manuscript for publication.

Author information



Corresponding author

Correspondence to Yinong Young-Xu.

Additional information

Competing interests

Both authors work part-time for for-profit companies (YYX for EpiPatterns and KAC for i3 Drug Safety). KAC received support from the Harvard Pharmacoepidemiology program, which has received unrestricted funds from pharmaceutical companies.

Authors' contributions

YYX and KAC conceived of the study. YYX performed the statistical analysis and wrote the manuscript. KAC participated in the analysis of the study and the writing of the manuscript. Both authors read and approved the final manuscript.

Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

Authors’ original file for figure 1

Authors’ original file for figure 2

Rights and permissions

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and Permissions

About this article

Cite this article

Young-Xu, Y., Chan, K.A. Pooling overdispersed binomial data to estimate event rate. BMC Med Res Methodol 8, 58 (2008).

Download citation


  • Itraconazole
  • Terbinafine
  • Griseofulvin
  • Dermatophytosis
  • Tinea Pedis