general design bayesian generalized linear mixed models

18
arXiv:math/0606491v1 [math.ST] 20 Jun 2006 Statistical Science 2006, Vol. 21, No. 1, 35–51 DOI: 10.1214/088342306000000015 c Institute of Mathematical Statistics, 2006 General Design Bayesian Generalized Linear Mixed Models Y. Zhao, J. Staudenmayer, B. A. Coull and M. P. Wand Abstract. Linear mixed models are able to handle an extraordinary range of complications in regression-type analyses. Their most com- mon use is to account for within-subject correlation in longitudinal data analysis. They are also the standard vehicle for smoothing spa- tial count data. However, when treated in full generality, mixed models can also handle spline-type smoothing and closely approximate kriging. This allows for nonparametric regression models (e.g., additive mod- els and varying coefficient models) to be handled within the mixed model framework. The key is to allow the random effects design matrix to have general structure; hence our label general design. For contin- uous response data, particularly when Gaussianity of the response is reasonably assumed, computation is now quite mature and supported by the R, SAS and S-PLUS packages. Such is not the case for binary and count responses, where generalized linear mixed models (GLMMs) are required, but are hindered by the presence of intractable multi- variate integrals. Software known to us supports special cases of the GLMM (e.g., PROC NLMIXED in SAS or glmmML in R) or relies on the sometimes crude Laplace-type approximation of integrals (e.g., the SAS macro glimmix or glmmPQL in R). This paper describes the fitting of general design generalized linear mixed models. A Bayesian approach is taken and Markov chain Monte Carlo (MCMC) is used for estimation and inference. In this generalized setting, MCMC requires sampling from nonstandard distributions. In this article, we demonstrate that the MCMC package WinBUGS facilitates sound fitting of general design Bayesian generalized linear mixed models in practice. Key words and phrases: Generalized additive models, hierarchical cen- tering, kriging, Markov chain Monte Carlo, nonparametric regression, penalized splines, spatial count data, WinBUGS. Y. Zhao is Mathematical Statistician, Division of Biostatistics, Center for Devices and Radiological Health, U.S. Food and Drug Administration, 1350 Piccard Drive, Rockville, Maryland 20850, USA (e-mail: [email protected] ). J. Staudenmayer is Assistant Professor, Department of Mathematics and Statistics, University of Massachusetts, Amherst, Massachusetts 01003, USA (e-mail: [email protected]). B. A. Coull is Associate Professor, Department of Biostatistics, School of Public Health, Harvard University, 665 Huntington Avenue, Boston, Massachusetts 02115, USA (e-mail: [email protected]). M. P. Wand is Professor, Department of Statistics, School of Mathematics, University of New South Wales, Sydney 2052, Australia (e-mail: [email protected]). This is an electronic reprint of the original article published by the Institute of Mathematical Statistics in Statistical Science, 2006, Vol. 21, No. 1, 35–51. This reprint differs from the original in pagination and typographic detail. 1

Upload: tranhanh

Post on 02-Jan-2017

227 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: General Design Bayesian Generalized Linear Mixed Models

arX

iv:m

ath/

0606

491v

1 [

mat

h.ST

] 2

0 Ju

n 20

06

Statistical Science

2006, Vol. 21, No. 1, 35–51DOI: 10.1214/088342306000000015c© Institute of Mathematical Statistics, 2006

General Design Bayesian GeneralizedLinear Mixed ModelsY. Zhao, J. Staudenmayer, B. A. Coull and M. P. Wand

Abstract. Linear mixed models are able to handle an extraordinaryrange of complications in regression-type analyses. Their most com-mon use is to account for within-subject correlation in longitudinaldata analysis. They are also the standard vehicle for smoothing spa-tial count data. However, when treated in full generality, mixed modelscan also handle spline-type smoothing and closely approximate kriging.This allows for nonparametric regression models (e.g., additive mod-els and varying coefficient models) to be handled within the mixedmodel framework. The key is to allow the random effects design matrixto have general structure; hence our label general design. For contin-uous response data, particularly when Gaussianity of the response isreasonably assumed, computation is now quite mature and supportedby the R, SAS and S-PLUS packages. Such is not the case for binaryand count responses, where generalized linear mixed models (GLMMs)are required, but are hindered by the presence of intractable multi-variate integrals. Software known to us supports special cases of theGLMM (e.g., PROC NLMIXED in SAS or glmmML in R) or relies on thesometimes crude Laplace-type approximation of integrals (e.g., the SASmacro glimmix or glmmPQL in R). This paper describes the fitting ofgeneral design generalized linear mixed models. A Bayesian approach istaken and Markov chain Monte Carlo (MCMC) is used for estimationand inference. In this generalized setting, MCMC requires samplingfrom nonstandard distributions. In this article, we demonstrate thatthe MCMC package WinBUGS facilitates sound fitting of general designBayesian generalized linear mixed models in practice.

Key words and phrases: Generalized additive models, hierarchical cen-tering, kriging, Markov chain Monte Carlo, nonparametric regression,penalized splines, spatial count data, WinBUGS.

Y. Zhao is Mathematical Statistician, Division ofBiostatistics, Center for Devices and RadiologicalHealth, U.S. Food and Drug Administration, 1350Piccard Drive, Rockville, Maryland 20850, USA (e-mail:[email protected]). J. Staudenmayer is AssistantProfessor, Department of Mathematics and Statistics,University of Massachusetts, Amherst, Massachusetts01003, USA (e-mail: [email protected]).B. A. Coull is Associate Professor, Department ofBiostatistics, School of Public Health, HarvardUniversity, 665 Huntington Avenue, Boston,Massachusetts 02115, USA (e-mail:

[email protected]). M. P. Wand is Professor,

Department of Statistics, School of Mathematics,

University of New South Wales, Sydney 2052, Australia

(e-mail: [email protected]).

This is an electronic reprint of the original articlepublished by the Institute of Mathematical Statistics inStatistical Science, 2006, Vol. 21, No. 1, 35–51. Thisreprint differs from the original in pagination andtypographic detail.

1

Page 2: General Design Bayesian Generalized Linear Mixed Models

2 ZHAO, STAUDENMAYER, COULL AND WAND

1. INTRODUCTION

The generalized linear mixed model (GLMM) isone of the most useful structures in modern statis-tics, allowing many complications to be handled withinthe familiar linear model framework. The fitting ofsuch models has been the subject of a great deal ofresearch over the past decade. Early contributionsto fitting various forms of the GLMM include Sti-ratelli, Laird and Ware (1984), Anderson and Aitkin(1985), Gilmour, Anderson and Rae (1985), Schall(1991), Breslow and Clayton (1993) and Wolfingerand O’Connell (1993). A summary is provided byMcCulloch and Searle (2001, Chapter 10).

Most of the literature on fitting GLMMs is gearedtoward grouped data. Examples include repeated bi-nary responses on a set of subjects and standardizedmortality ratios in geographical subregions. How-ever, GLMMs are much richer than the subclassneeded for these situations. The key to full gener-ality is the use of general design matrices, for boththe fixed and random components. Once again, werefer to McCulloch and Searle (2001, Chapter 8) foran overview of general design GLMMs. An excel-lent synopsis of general design linear mixed mod-els is provided by Robinson (1991) and the ensuingdiscussion. One of the biggest payoffs from the gen-eral design framework is the incorporation of non-parametric regression, or smoothing, through penal-ized regression splines (e.g., Wahba, 1990; Speed,1991; Verbyla, 1994; Brumback, Ruppert and Wand,1999). Higher dimensional extensions essentially cor-respond to generalized kriging (Diggle, Tawn andMoyeed, 1998). This allows for smoothing-type mod-els such as generalized additive models to be fittedas a GLMM and combined with the more tradi-tional grouped data uses. This is the main thrustof the recent book by Ruppert, Wand and Carroll(2003), a summary of which is provided by Wand(2003). General designs also permit the handling ofcrossed random effects (e.g., Shun, 1997) and mul-tilevel models (e.g., Goldstein, 1995; Kreft and deLeeuw, 1998).

The simplest method for fitting general designGLMMs involves Laplace approximation of integrals(Breslow and Clayton, 1993; Wolfinger and O’Connell,1993) and is commonly referred to as penalized quasi-likelihood (PQL). However, the approximation canbe quite inaccurate in certain circumstances. Bres-low and Lin (1995) and Lin and Breslow (1996)

showed that PQL leads to estimators that are asymp-totically biased. For situations such as paired bi-nary data the PQL approximation is particularlypoor. In their summary of PQL, McCulloch andSearle (2001, Chapter 10, pages 283–284) concludedby stating that they “cannot recommend the useof simple PQL methods in practice.” In this arti-cle we take a Bayesian approach and explore theMarkov chain Monte Carlo (MCMC) fitting of gen-eral design GLMMs. One advantage of a Bayesianapproach over its frequentist counterpart includesthe fact that uncertainty in variance componentsis more easily taken into account (e.g., Handcockand Stein, 1993; Diggle, Tawn and Moyeed, 1998).As summarized in Section 9.6 of McCulloch andSearle (2001), the frequentist approach to this prob-lem is thwarted by largely intractable distributiontheory. Under a Bayesian approach, posterior dis-tributions of parameters of interest take this vari-ability into account. The hierarchical structure ofthe Bayesian GLMMs lends itself to Gibbs samplingschemes, albeit with some nonconjugate full condi-tionals, to sample from these posteriors. In addi-tion, it is computationally simpler to obtain varianceestimates of the predictions of the random effects.Booth and Hobert (1998) showed that, in a frequen-tist framework, second-order estimation of the con-ditional standard error of prediction for the randomeffects requires bootstrapping the maximum likeli-hood estimates of the fixed effects and variance com-ponents. For complicated random effects structures,computation of a single maximum likelihood fit canbe expensive, making the bootstrap computation-ally prohibitive. In the Bayesian framework, inter-est focuses on the posterior variance of the randomeffects given the data, which is a by-product of theMCMC output. Note, however, that the Bayesianapproach involves specification of prior distributionsof all model parameters. This requires some care, es-pecially when sample sizes are small.

There have been a few other contributions to Bayesi-an formulations of GLMMs in the literature. Thoseknown to us are Zeger and Karim (1991), Clayton(1996), Diggle, Tawn and Moyeed (1998) and Fahrmeirand Lang (2001). However, each of these articles isgeared toward special cases of GLMMs. The GLMMsdescribed in this article are much more general andallow for random effects models for longitudinal data,crossed random effects, smoothing of spatial countdata, generalized additive models, generalized geo-statistical models, additive models with interactions,

Page 3: General Design Bayesian Generalized Linear Mixed Models

GENERAL DESIGN BAYESIAN GLMM 3

varying coefficient models and various combinationsof these (Wand, 2003).

Section 2 lays out notation for general designGLMMs and gives several important examples.MCMC implementation is described in Section 3,with a focus on the WinBUGS package. Section 4 pro-vides three illustratory data analyses. We close withsome discussion in Section 5.

2. MODEL FORMULATION

The GLMMs for canonical one-parameter expo-nential families (e.g., Poisson, logistic) and Gaussianrandom effects take the general form

[y|β,u] = exp{y⊤(Xβ + Zu)(1)

− 1⊤b(Xβ + Zu) + 1⊤c(y)},[u|G] ∼ N(0,G),(2)

where here and throughout the distribution of a ran-dom vector x is denoted by [x] and the conditionaldistribution of y given x is denoted by [y|x].

In the Poisson case b(x) = ex, while in the logis-tic case b(x) = log(1+ ex). A few other models (e.g.,gamma, inverse Gaussian) also fit into this structure(McCullagh and Nelder, 1989). A number of exten-sions and modifications are possible. One is to allowfor overdispersion, especially in the Poisson case. Inthis paper we will restrict attention to the canoni-cal one-parameter exponential family structure. Inmost situations, the main parameters of interest arecontained in β and G, and prior distributions forthem need to be specified; see Sections 2.1 and 2.2.

It is important to separate out random effectsstructure for handling grouping. One reason is thatthis allows for the possibility of hierarchical center-ing in the MCMC implementations (Section 2.3).It also recognizes the different covariance structuresused in longitudinal data modeling, smoothing andspatial statistics. Such considerations suggest thebreakdown

Xβ + Zu = XRβR + ZRuR

(3)+ XGβG + ZGuG + ZCuC ,

where

XR ≡

XR

1...

XRm

, ZR ≡ blockdiag1≤i≤m

(XRi )

and

Cov(uR)≡ blockdiag1≤i≤m

(ΣR)≡ Im ⊗ΣR

correspond to random intercepts and slopes, as typ-ically used for repeated measures data on m groupswith sample sizes n1, . . . , nm. Here XR

i is an ni × qR

matrix for the random design corresponding to theith group, ΣR is an unstructured qR×qR covariancematrix and ⊗ denotes Kronecker product.

Next, XG and ZG are general design matrices,usually of different form than those arising in ran-dom effects models. In many of our examples, XG

contains indicator variables or polynomial basis func-tions of a continuous predictor, while ZG containsspline basis functions (e.g., Brumback, Ruppert andWand, 1999). The ZGuG term may be further de-composed as

ZGuG =L∑

ℓ=1

ZGℓ uG

with each ZGℓ , 1 ≤ ℓ≤ L, usually corresponding to a

smooth term in an additive model. Also, in keepingwith spline penalization, we only consider

Cov(uG) = blockdiag1≤ℓ≤L

(σ2uℓI).

Note that the decomposition (3) is not unique fora particular model. For instance, in the crossed ran-dom effects model given in the following Example 3,we present two methods of decomposition.

The ZCuC component represents random effectswith spatial correlation structure. This can be donein a number of ways (e.g., Wakefield, Best and Waller,2001); we will just describe one of the more commonapproaches here. Suppose disease incidence data areavailable over N contiguous regions. The random ef-fect uC vector is of dimension N with entries UC

1 ,. . . ,UC

N . The conditional distribution of UCi given

UCj , j 6= i, is a univariate normal distribution with

mean equal to the average UCj values of UC

i ’s neigh-

boring regions and variance equal to σ2c divided by

the number of neighboring regions. This is knownas the intrinsic Gaussian autoregression distribution(Besag, York and Mollie, 1991). This leads to uC

having an improper density proportional to

exp

{

−∑

i∼j

12σ−2

c (UCi −UC

j )2}

,(4)

where i∼ j denotes spatially adjacent regions.The versatility of (3) can be appreciated by con-

sidering the following set of examples. Note that weuse truncated linear basis functions for smoothingcomponents to keep the formulations simple (e.g.,

Page 4: General Design Bayesian Generalized Linear Mixed Models

4 ZHAO, STAUDENMAYER, COULL AND WAND

Brumback, Ruppert and Wand, 1999). In practicethese may be replaced by B-splines (Durban andCurrie, 2003) or radial basis functions (French, Kam-mann and Wand, 2001). Knots are denoted by κk

with possible superscripting. Ruppert (2002) dis-cussed choice of knots of univariate smoothings, whereasNychka and Saltzman (1998) described the choice ofknots for multivariate smoothing and kriging. In theexamples we use 1d to denote a d× 1 vector of ones.

Example 1. Random intercept:

(Xβ + Zu)ij = β0 + Ui + β1xij,

1≤ j ≤ ni, 1 ≤ i≤ m,

XRi = 1ni

, XG = [xij],

ZG = ZC = ∅, ΣR = σ2u.

Example 2. Random intercept and slope:

(Xβ + Zu)ij = β0 + Ui + (β1 + Vi)xij ,

1≤ j ≤ ni, 1 ≤ i≤ m,

XRi =

1 xi1...

...1 xini

, XG = ZG = ZC = ∅,

ΣR =

[σ2

u ρuvσuσv

ρuvσuσv σ2v

].

Example 3. Crossed random effects model:

(Xβ + Zu)ii′ = β0 + Ui + U ′i′ ,

1 ≤ i≤ n, 1≤ i′ ≤ n′,

XG = 1nn′ , ZG = [In ⊗ 1n′ |1n ⊗ In′ ],

XR = ZR = ZC = ∅,

uG = [U1, . . . ,Un,U ′1, . . . ,U

′n′ ]⊤,

Cov(uG) = blockdiag(σ2uIn, σ2

u′In′).

An alternative representation of this model is

XRi = 1n′×1, ZG = [1n ⊗ In′ ], XG = ZC = ∅,

ΣR = σ2u, Cov(uG) = σ2

u′In′ .

This allows for implementation of hierarchical cen-tering as described in Section 2.3.

Example 4. Nested random effects model:

(Xβ + Zu)ijk = β0 + Ui + Vj(i) + β1 xijk,

1 ≤ i ≤m, 1 ≤ j ≤ n, 1 ≤ k ≤ p,

XG = [1 xijk ]1≤i≤m,1≤j≤n,1≤k≤p,

ZG = [Im ⊗ 1np|Im ⊗ (In ⊗ 1p)],

XR = ZR = ZC = ∅,

uG = [U1, . . . ,Um, V1(1), . . . ,

Vn(1), . . . , V1(m), . . . , Vn(m)]⊤,

Cov(uG) = blockdiag(σ2uIm, σ2

vInp).

Example 5. Generalized scatterplot smoothing:

(Xβ + Zu)i = β0 + β1xi +K∑

k=1

uk(xi − κk)+,

XG = [1 xi ]1≤i≤n,

ZG =

[(xi − κk)+

1≤k≤K

]

1≤i≤n,

XR = ZR = ZC = ∅,

Cov(uG) = σ2uIK .

Example 6. Generalized additive model:

(Xβ + Zu)i = β0 + βssi +Ks∑

k=1

usk(si − κs

k)+

+ βtti +Kt∑

k=1

utk(ti − κt

k)+,

XG = [1 si ti ]1≤i≤n,

ZG =

[(si − κs

k)+1≤k≤Ks

(ti − κtk)+

1≤k≤Kt

]

1≤i≤n,

XR = ZR = ZC = ∅,

Cov(uG) = blockdiag(σ2usIKs, σ2

utIKt).

Example 7. Generalized additive semiparamet-ric mixed model:

(Xβ + Zu)ij = β0 + Ui + (βq + Vi)qij

+ (βr + Wi)rij + β1xij

+ βssij +Ks∑

k=1

usk(sij − κs

k)+

+ βttij +Kt∑

k=1

utk(tij − κt

k)+,

XRi =

1 qi1 ri1...

......

1 qinirini

,

XG = [sij tij xij ]1≤j≤ni,1≤i≤m,

Page 5: General Design Bayesian Generalized Linear Mixed Models

GENERAL DESIGN BAYESIAN GLMM 5

ZG =

[(sij − κs

k)+1≤k≤Ks

(tij − κtk)+

1≤k≤Kt

],

ZC = ∅,

ΣR = unstructured 3× 3 covariance matrix,

Cov(uG) = blockdiag(σ2usIKs , σ2

utIKt).

Example 8. Generalized bivariate smoothing/low-rank kriging:

(Xβ + Zu)i = β0 + β⊤1 xi +

K∑

k=1

ukC(‖xi − κk‖),

XG = [1 x⊤i ]1≤i≤n,

ZG =

[C

(‖xi −κk‖

1≤k≤K

)]

1≤i≤n,

XR = ZR = ZC = ∅,

Cov(uG) = σ2uI.

Here ‖v‖ ≡√

v⊤v, C(r) = r2 log |r| corresponds tolow-rank thin plate splines with smoothness parame-ter set to 2 (as defined in Wahba, 1990) and C(r) =exp(−|r/ρ|)(1 + |r/ρ|) corresponds to Matern low-rank kriging with range ρ > 0 and smoothness pa-rameter set to 3/2 (as defined in Stein, 1999; Kam-mann and Wand, 2003). Several more examples couldbe added, including some where ZC 6= ∅.

2.1 Fixed Effects Priors

Throughout we take the prior distribution of thefixed effects vector β to be of the form

[β] ∼N(0,F)

for some covariance matrix F. In practice it is com-mon to take F to be diagonal with very large en-tries, corresponding to noninformative priors on theentries of β. Such a strategy ensures that, with ap-propriate choice of prior for the variance compo-nents, the resulting joint posterior distribution ofthe parameters will be proper. Even so, the result-ing posterior distributions approximate those basedon uniform priors for β. For normal models, Gel-man (2005) noted that because we typically haveenough data to estimate these coefficients from thedata, any noninformative prior is adequate. For bi-nary response models, Natarajan and Kass (2000)showed that, under mild regularity conditions thatusually amount to soft requirements on the numberof successes and failures in the data set, use of auniform distribution for β in conjunction with an

appropriate prior for the variance components re-sults in a proper posterior. For logistic regression,Bedrick, Christensen and Johnson (1997) noted thatthe normal prior for β is convenient in large samplesituations in which the posterior is approximatelynormal. In other situations, one should be cautiousabout using a normal prior with large covariances,because the induced prior distributions for each P (y =1) can have point masses at zero and one. In suchcases, it may be preferable to use the conditionalmeans priors proposed by Bedrick, Christensen andJohnson (1996), which specify prior distributions onthe success probabilities directly.

2.2 Covariance Matrix Priors

Over the last decade and-a-half, prior elicitationfor the variance components in Bayesian GLMMshas been an active area of statistical research. Sev-eral authors have demonstrated that the use of im-proper priors for these parameters can lead to im-proper posteriors, with Gibbs samplers unable to de-tect such ill-conditioning (Hobert and Casella, 1996).As a result, a popular choice is the use of properbut “diffuse” conditionally conjugate priors. In theGLMM setting with normal random effects, this cor-responds to an inverse gamma (IG) distribution fora single variance component and an inverse Wishartdistribution for a variance–covariance matrix. Forhierarchical versions of GLMMs, however, recent re-search has shown that these priors can actually bequite informative, leading to inferences that are sen-sitive to choice of the hyperparameters for these dis-tributions (Natarajan and McCulloch, 1998; Natara-jan and Kass, 2000; Gelman, 2005). Natarajan andKass (2000) and Gelman (2005) have proposed alter-native prior elicitation strategies that improve uponthe conditionally conjugate priors. In Section 4 weoutline a sensitivity analysis approach that takesthese latest proposals into account.

2.3 Hierarchical Centering

Hierarchical centering of parameters can improveconvergence of Markov chain Monte Carlo schemes(Section 3) for fitting Bayesian mixed models (e.g.,Gelfand, Sahu and Carlin, 1995). In the context ofthis section, hierarchical centering involves repara-metrization of (βR,uR) to (βR,γ), where

γ ≡ {(ZR)⊤ZR}−1(ZR)⊤XRβR + uR.

The new vector of parameters γ can be further di-vided into m subvectors γi with γi = βR + uR

i , so

Page 6: General Design Bayesian Generalized Linear Mixed Models

6 ZHAO, STAUDENMAYER, COULL AND WAND

that

γ =

γ1...

γm

.

Then the general design generalized linear mixedmodel becomes

Xβ + Zu = ZRγ + XGβG +L∑

ℓ=1

ZGℓ uG

ℓ + ZCuC .

Note that hierarchical centering is not a well-definedconcept for general design or spatial structures,because uG and uC cannot be centered in a hier-archical way similarly to that for uR. As a result,the general design and spatial structures do not con-tribute to the model for the mean in a conditionallyhierarchical manner.

2.4 Applications

This section describes three public health appli-cations that benefit from general design BayesianGLMM analysis. The analyses are postponed to Sec-tion 4.

2.4.1 Respiratory infection in Indonesian children.Our first example involves longitudinal measurementson 275 Indonesian children. Analyses of these datahave appeared previously in the literature (e.g., Dig-gle, Liang and Zeger, 1994; Lin and Carroll, 2001),so our description of them will be brief. The responsevariable is binary: the indicator of respiratory infec-tion. The covariate of most interest is the indica-tor of vitamin A deficiency. However, the age of thechild has been seen in previous analyses to have anonlinear effect.

A plausible model for these data is the Bayesianlogistic additive mixed model

logit{P (respiratory infectionij = 1)}(5)

= β0 + Ui + β⊤xij + f(ageij),

where 1 ≤ i ≤ 275 indexes child and 1 ≤ j ≤ ni in-

dexes the repeated measures within child. Here Uiind.∼

N(0, σ2U ) is a random child effect, xij denote mea-

surements on a vector of nine covariates—height andindicators for vitamin A deficiency, sex, stuntingand visit number—and f is modeled using penalized

splines with spline basis coefficients ukind.∼ N(0, σ2

u).

2.4.2 Caregiver stress and respiratory health. TheHome Allergen and Asthma study is an ongoing lon-gitudinal study that is investigating risk factors forincidence of childhood respiratory problems includ-ing asthma, allergy and wheeze (Gold et al., 1999).The portion of the study data that we will considerconsists of 483 families who were followed for twoand-a-half years after the birth of a child. At thestart of the study, a number of demographic vari-ables were measured on each family, including race,categorized household income, categorized caregivereducational level and child’s gender. Additionally,one of the hypothesized risk factors for childhoodrespiratory problems is exposure to a stressful en-vironment (Wright et al., 2004). Each child’s envi-ronmental stress level was measured approximatelybimonthly by a telephone interview and assessed ona discrete ordinal scale from 0 (no stress) to 16 (veryhigh stress). This assessment was based on the four-item Perceived Stress Scale (PSS-4) (Cohen, 1988).

Let 1 ≤ i ≤ 483 index family and let 1 ≤ j ≤ ni in-dex the repeated measurements within each family.We arrived at the following Bayesian Poisson addi-tive mixed model for stress experience by caregiveri when the child was ageij :

stressij(6)

∼Poisson[exp{β0 + Ui + β⊤xij + f(ageij)}].

The random intercept, Uiind.∼ N(0, σ2

U ), is a randomfamily effect, and xi includes indicators of annualfamily income and race (see Figure 4 for details).The term f(ageij) is a nonparametric term that wemodel using penalized splines with spline coefficients

ukind.∼ N(0, σ2

u). We include the nonparametric termin the model for the effect of stress as a function ofchild’s age because, outside of anecdotal evidence,we do not know of a biologically motivated para-metric model for stress as a function of child’s age.We arrived at the other terms in the model (andremoved other demographic terms and interactionsfrom the model) based on discussions with the inves-tigators in the study and exploratory data analysesthat we fitted via maximum PQL.

2.4.3 Standardized cancer incidence and proxim-ity to a pollution source. Elevated cancer rates wereobserved in a region of Massachusetts, USA, knownas Upper Cape Cod, during the mid-1980s, and onerisk factor of interest is a fuel dump at the Mas-sachusetts Military Reservation (MMR) (Kammann

Page 7: General Design Bayesian Generalized Linear Mixed Models

GENERAL DESIGN BAYESIAN GLMM 7

and Wand, 2003; French and Wand, 2004). For nearly20 years the Massachusetts Department of PublicHealth (MDPH) has maintained a cancer registrydata base which records incident cases for 22 typesof cancers, including lung, breast and prostate can-cers. In this example we focus on female lung cancerbetween 1986 and 1994.

We use a semiparametric Poisson spatial modelto investigate the relationship between census tractlevel female lung cancer standardized incidence rates(SIRs) and distance to the MMR. Let i = 1, . . . ,45represent the census tracts in the study, and letobservedi and expectedi be the observed and ex-pected number of incident cases of female lung can-cer in tract i (i.e., numerator and denominator of theSIR), respectively. After fitting a number of modelsthat included terms for additional demographic fac-tors and water source, we arrived at the semipara-metric Poisson spatial model

observedi

∼ Poisson[expectedi exp{β0 + UCi + β1xi(7)

+ f(disti)}],where xi is the percentage of women in tract i whowere over 15 and employed outside the home in 1989,and disti is the distance from the centroid of cen-sus tract i to the centroid of the MMR. Here, uC =(UC

1 , . . . ,UC45)

⊤ is a vector of spatially correlated ran-dom effects with intrinsic Gaussian autoregressiondistribution parametrized by variance component σ2

c ,as defined in (4). To complete the specification ofthe spatial correlation model, we choose a cutoff dis-tance value d and treat two census tracts as neigh-bors if the distance between their centroids is lessthan or equal to d. We choose d = 7.5 km, which cor-responds to the cutoff such that every census tracthas at least one neighbor. We model the nonpara-metric term f(disti) using penalized splines with

coefficients ukind.∼ N(0, σ2

u).

3. FITTING VIA MARKOV CHAIN MONTE

CARLO

In the general design GLMM (1) and (2), the pos-terior distribution of

ν⊤ ≡ [β⊤ u⊤ ]

is

[ν|y] =

(∫exp{y⊤Cν − 1⊤b(Cν)

− 12(log |G|+ ν⊤V−1ν)} [G]dG

)(8)

·(∫ ∫

exp{y⊤Cν − 1⊤b(Cν)

− 12 (log |G|+ ν⊤V−1ν)}

· [G]dGdν

)−1

,

where C≡ [X Z ], V≡ blockdiag(F,G) and [G] isthe prior on the variance components in G. Theseintegrals are analytically intractable for most prob-lems. Furthermore, in the applications we consider,the dimensionality precludes the use of numerical in-tegration. A standard remedy is to apply a Markovchain Monte Carlo algorithm to draw samples from (8).An overview of MCMC is provided by Gilks, Richard-son and Spiegelhalter (1996).

The MCMC methods break up the model param-eters into subsets and then sample from the condi-tional distributions given the remaining parametersand data, which are often called full conditionals. Inthe general design GLMM, the natural breakdownof the parameters is into ν and G, leading to thefull conditionals

[ν|G,y] and [G|ν,y].

The latter full conditional has a standard form whenthe prior on the variance components is inverse gammaor Wishart, which are “conditionally conjugate” pri-ors for this model, but not when, say, a folded-Cauchy prior is used (e.g., Gelman, 2005). The firstfull conditional has the general form

[ν|G,y] ∝ exp{y⊤Cν − 1⊤b(Cν)− 12ν⊤V−1ν},

which is a nonstandard distribution unless y is con-ditionally Gaussian. Clever strategies such as adap-tive rejection sampling (Gilks and Wild, 1992) andslice sampling (e.g., Besag and Green, 1993; Neal,2003) are required to draw samples. The most com-mon versions of these algorithms work with the fullconditionals of the components ν. When V is diag-onal, these full conditionals are of the form

[νk|ν−k,G,y]

∝ exp{(C⊤y)kνk − 1⊤b(ckνk + C−kν−k)(9)

− 12ν2

k/(V)kk}.Here ck is the kth column of C, C−k is C with thekth column omitted, νk is the kth entry of ν andν−k is ν with the kth entry omitted. It is easily

Page 8: General Design Bayesian Generalized Linear Mixed Models

8 ZHAO, STAUDENMAYER, COULL AND WAND

shown that (9) is log-concave, which permits use ofadaptive rejection sampling and simplifies slice sam-pling. These algorithms can also be used to samplefrom the full conditionals for the variance compo-nents when necessary.

Zhao (2003) provides a detailed account of MCMCfor general design GLMM and compares several strate-gies via simulation. One of the conclusions drawnfrom the simulations is that the WinBUGS package(Spiegelhalter, Thomas and Best, 2000) performsexcellently among various “off-the-shelf” competi-tors. This is very good news because it saves theuser having to write his or her own MCMC code.However, it should be noted that for large modelsWinBUGS can take quite some time to obtain a fit.Also, the analysis must be performed on a particu-lar platform (Windows). Assuming that computationtime is not an issue and that Windows is available, wecan report that fitting of general design GLMMs viaWinBUGS has a large chance of success. For our anal-yses we had access to several personal computersand ran multiple chains in parallel to assess conver-gence and prior sensitivity. This reduced the elapsedtime it took to compute each one of the analyses byan order of magnitude.

4. DATA ANALYSES

4.1 Input Values and Prior Distributions

We used WinBUGS to fit the models described inSection 2.4. However, several input values and priordistributions needed to be specified, so we prefacethe analyses with the particular choices that weremade. A more detailed study on the use of WinBUGSfor fitting models of this type is provided by Crainiceanu,Ruppert and Wand (2005).

Based on the recommendations of Gelfand, Sahuand Carlin (1995), we used hierarchical centeringof random effects. All continuous covariates werestandardized to have zero mean and unit standarddeviation. A strategy such as this is necessary forthe method to be scale invariant given fixed choicesfor the hyperparameters. We used radial cubic ba-sis functions for smooth function components. Apartfrom making the fitted functions smooth and requir-ing a relatively small number of knots, Crainiceanu,Ruppert and Wand (2005) reported that they hadgood mixing properties in MCMC analysis. Radialcubic basis function modeling of a function f entails

putting f(x) = β0 + β1 x + Zxu, where

Zx =

[|x− κk|3

1≤k≤K

][|κk − κk′ |31≤k,k′≤K

]−1/2

and

(10)u∼ N(0, σ2

uI)

(French, Kammann and Wand, 2001), with κk =( k+1

K+2)th quantile of the unique predictor values. Ingeneral, K can be chosen using rules such as

K = min( 14(number of unique predictor values),35)

or those given in Ruppert (2002). However, oftenconsiderably smaller K can be used through experi-mentation with the benefit of faster MCMC fitting.This approach was taken in our analyses.

We considered several common variance compo-nent priors. These were inverse gamma with equalscale and shape,

[σ2]∝ (σ2)−(a+1)e−a/σ2,

denoted by IG(a, a) for a = 0.001,0.01,0.1(Spiegelhalter et al., 2003), and the folded-t classof priors for σ (Gelman, 2005)

[σ]∝(

1 +1

ν

s

)2)−(ν+1)/2

,

where s and ν are fixed scale and degrees of freedomhyperparameters, respectively. We investigated thesensitivity of the model fit to the choice of the hy-perparameters. Results showed that fits based onthe IG priors were stable for a≥ 0.01, but those ob-tained assuming a = 0.001 behaved erratically. Outof the remaining choices, the folded-Cauchy prior,a member of the folded-t class of priors, performedwell.

As a result of these empirical comparisons, in ourexamples we take the approach of fitting models un-der multiple prior distributions for the variance com-ponents and assessing the sensitivity of the resultsto these assumptions. Due to its popularity, we fitgeneral design GLMMs using independent IG(0.01,0.01) priors for each variance component. Resultssuggest this prior performs well for the examplesconsidered in this paper. We also refitted the modelsusing independent folded-Cauchy prior distributionsfor each variance component. For a variance compo-nent square root σ and fixed scale parameter s, thefolded-Cauchy distribution has probability distribu-tion

[σ] ∝ (σ2 + s2)−1.

Page 9: General Design Bayesian Generalized Linear Mixed Models

GENERAL DESIGN BAYESIAN GLMM 9

Following Gelman (2005), we take s = 25 in our ex-

amples and check the sensitivity of results to this

choice by also fitting the models for s = 12. This

prior can be implemented in WinBUGS using the flex-

ible feature that allows a user to code an arbitrary

prior distribution for the model parameters (see the

Appendix). We also ran the models using a Uni-

form(0, 100) prior on σ. A theoretical comparison

of such priors in the general design GLMM settingis a topic worthy of future research.

Table 1 summarizes the input values and priordistributions that were used.

4.2 Respiratory Infection in Indonesian Children

Using the prior distributions and input values givenin Table 1, WinBUGS produced the output for the β

coefficients summarized in Figure 1. It is seen that,

Fig. 1. Summary of WinBUGS output for parametric components of (5). The full titles for columns are name of variable,trace plot of sample of corresponding coefficient, plot of sample against 1-lagged sample, sample autocorrelation function,

Gelman–Rubin√

R diagnostic, kernel estimate of posterior density and basic numerical summaries.

Page 10: General Design Bayesian Generalized Linear Mixed Models

10 ZHAO, STAUDENMAYER, COULL AND WAND

Table 1

Input values and prior distributions used in WinBUGS foranalyses

Hierarchical centering used for random intercepts.Continuous covariates standardized to havezero mean and unit standard deviation.Radial cubic basis functions for smooth functions.

length of burn-in 5000length of “kept” chain 5000thinning factor 5prior for fixed effects N(0, 108)

prior for variance components

{IG(0.01, 0.01)folded-Cauchy with s = 12,25Uniform(0,100)

Fig. 2. Summary of WinBUGS output for estimate of f(age). The top left panel is the posterior mean of the estimatedprobability of respiratory infection with all other covariates set to their average values. The shaded region is a correspondingpointwise 95% credible set. The remaining panels are trace plots of samples used to produce the top left plot at quartiles of theage data.

Page 11: General Design Bayesian Generalized Linear Mixed Models

GENERAL DESIGN BAYESIAN GLMM 11

for this model, the chains mix quite well with little

significant autocorrelation and Gelman–Rubin√

Rvalues (Gelman and Rubin, 1992) all less than 1.01.Vitamin A deficiency is seen to have a borderlinepositive effect on respiratory infection, which is inkeeping with previous analyses. Similar commentsapply to sex and some of the visit numbers.

The estimated effect of age is summarized in thetop left panel of Figure 2 and is seen to be signifi-cant and nonlinear. The remaining panels show goodmixing of the chains corresponding to the estimatedage effect at quartiles of the age data. Gelman–

Rubin√

R plots (not shown here) support conver-gence of these chains.

To assess the sensitivity of our conclusions to thechoice of variance component priors, we also ranthe Gibbs samplers assuming the folded-Cauchy andUniform priors for the random effects standard de-viations (see Section 2.2). Figure 3 shows the pos-

terior estimates and 95% credible intervals for theregression coefficients of interest using the defaultindependent IG priors, independent folded-Cauchypriors with s = 25, independent folded-Cauchy pri-ors with s = 12 and independent U(0,100) priors.This figure shows that results are not sensitive tothis choice, with the changes in the posterior meansnever more than 2% of that obtained from the IGspecification and the credible intervals never morethan 6.5% wider than their IG counterparts.

4.3 Caregiver Stress and Respiratory Health

For this example, we also used the priors and inputvalues given in Table 1 and we provide the WinBUGS

code in the Appendix. For the spline we used 12knots that were spaced evenly on the percentiles ofage. We found that the fit did not change noticeablyif we used more knots and we chose a small numberof knots for computational efficiency.

Fig. 3. Results of sensitivity analysis for variance component priors for model (5).

Page 12: General Design Bayesian Generalized Linear Mixed Models

12 ZHAO, STAUDENMAYER, COULL AND WAND

Fig. 4. Summary of WinBUGS output for parametric components of (6). The full titles of columns are name of variable,trace plot of sample of corresponding coefficient, plot of sample against 1-lagged sample, sample autocorrelation function,

Gelman–Rubin√

R diagnostic, kernel estimate of posterior density and basic numerical summaries. The coefficients can beinterpreted as time invariant offsets to the time varying population mean.

Figure 4 shows the Bayes estimates and credible

intervals for the β coefficients as well as an assess-

ment of the convergence of the chains. The coeffi-

cients can be interpreted as category-specific offsets

from the population mean. The chains had a mod-

erate autocorrelation and the Gelman–Rubin√

R

values were all less than 1.04. Figure 5 contains the

estimated age effect and trace plots for the effect of

age at the quartiles of the data. Again, the Gelman–

Rubin√

R values were less than 1.04 and support

convergence. The figures are based on the chain that

used the independent inverse gamma priors for the

variance components. Fits that used independent

Cauchy (s = 25) priors for the square root of the

variance components changed neither the posterior

means nor the widths of the credible intervals for

Page 13: General Design Bayesian Generalized Linear Mixed Models

GENERAL DESIGN BAYESIAN GLMM 13

Fig. 5. Summary of WinBUGS output for estimate of f(age). The top left panel is the posterior mean of the mean stress(PSS-4) as a function of age with all other covariates set to their average values. The shaded region is a correspondingpointwise 95% credible set. The remaining panels are trace plots of samples used to produce the top left plot at quartiles of theage data.

the parameters of interest by more than 4.7%. The

posterior mean and confidence set for f(age) was

also relatively insensitive to the prior on the vari-

ance components in this example.

Two aspects of the fit that were of interest to the

investigators in the study included the inverse dose

response relationship between income and stress, and

that race was significantly related to environmental

stress even after accounting for the effect of income.

The nonparametric estimate of stress as a function

of the child’s age was also interesting and suggests

that relatively stressful times include the first few

months, when the child is approximately a year old,

and beyond age two.

4.4 Standardized Cancer Incidence and

Proximity to a Pollution Source

As in the previous examples, we started with theprior distributions and inputs in Table 1. In thiscase though, the chain required a longer burn in.We found that a burn in of length 15,000 was suf-ficient to produce acceptable convergence. Figure 6(bottom panel) contains the resulting convergencediagnostics and inferences for the parameters in themodel. The middle panel of Figure 6 contains an es-timate of the contribution of distance to the MMRto the standardized incidence and trace plots of thefunction estimate at the quartiles of distance. The

Gelman–Rubin√

R values for the estimates at thesequartiles were less than 1.04 and support conver-gence. Finally, the top panel of Figure 6 maps the

Page 14: General Design Bayesian Generalized Linear Mixed Models

14 ZHAO, STAUDENMAYER, COULL AND WAND

Fig. 6. Summary of WinBUGS output for the fit of (7). The top panel contains a spatial plot of the smoothed SIRs ( posteriormeans of the Uc

i ’s). The middle panel shows the estimated f(dist) and a corresponding pointwise 95% credible set along withtrace plots of the samples of the function at the quartiles of distance. The bottom panel displays summaries of other parameters

of interest and convergence diagnostics. Additionally, the Gelman–Rubin√

R diagnostics were less than 1.03 for all the Uc

i ’sand for the f(dist) at the quartiles of distance. The MMR is the area in the center of the map that is excluded from theanalysis.

Page 15: General Design Bayesian Generalized Linear Mixed Models

GENERAL DESIGN BAYESIAN GLMM 15

estimated SIRs based on the model fit, demonstrat-ing the smoothing achieved by the spatial model.The figures are based on fits that used independentIG(0.01, 0.01) priors for the variance components.Fits that used independent Cauchy (s = 25) priorsfor the square root of the variance components de-creased the length of the credible interval for theeffect of percent working by 6.7% and lowered theposterior mean by 3.1%. The posterior mean andconfidence set for f(disti) also changed very little.

The fitted model suggests a nominally positive re-lationship between the percentage of women whowere working outside the home in 1989 and stan-dardized lung cancer incidence rates at the censustract level. Further, the estimated curve f(disti)suggests an increased standardized incidence ratefor census tracts that are closer than about 10 kmto the MMR after controlling for other factors, andthe map suggests that areas immediately east of theMMR exhibit the highest SIRs. None of the esti-mated effects of the model covariates is strongly sig-nificant. Regardless of statistical significance, how-ever, we emphasize that this type of “cancer clus-ter” study should be viewed as exploratory since thestudy design is ecological (e.g., Kelsey, Whittemore,Evans and Thompson, 1996, Chapter 10). Addition-ally, reanalyses of similar studies have demonstratedthat unmeasured confounders could radically changethe conclusions in these types of analyses (e.g., Ah-erns et al., 2001).

5. DISCUSSION

As illustrated by the analyses in the previous sec-tion, general design Bayesian GLMMs are a veryuseful structure. In this article we have demonstratedthat WinBUGS provides good off-the-shelf MCMC fit-ting of these models. Some of the reviewers havepointed out the possibility of designing MCMC al-gorithms that take advantage of the special struc-ture of Bayesian GLMMs that is summarized in Sec-tion 2. We have done some exploration in this direc-tion (Zhao, 2003), but would welcome such researchfrom MCMC specialists. In the meantime, use ofWinBUGS is our recommended fitting method.

APPENDIX: WINBUGS CODE

In this Appendix we list the WinBUGS code used forthe data analyses of Section 4. Note that the splinebasis functions and hyperparameters are inputs.

The following code was used to fit (5) to the dataon respiratory infection of Indonesian children. Hereinverse gamma priors are used on all variance com-ponents.model

{

for (i in 1:num.obs)

{

X[i,1] <- age[i]

X[i,2] <- vitAdefic[i]

X[i,3] <- sex[i]

X[i,4] <- height[i]

X[i,5] <- stunted[i]

X[i,6] <- visit2[i]

X[i,7] <- visit3[i]

X[i,8] <- visit4[i]

X[i,9] <- visit5[i]

logit(mu[i])

<- gamma[subject[i]]

+ inprod(beta[],X[i,])

+ inprod(u.spline[],Z.spline[i,])

resp[i] ~ dbern(mu[i])

}

for (i.subj in 1:num.subj)

{

gamma[i.subj] <- beta0 + u.subj[i.subj]

u.subj[i.subj] ~ dnorm(0,tau.u.subj)

}

for (k in 1:num.knots)

{

u.spline[k] ~ dnorm(0,tau.u.spline)

}

beta0 ~ dnorm(0,tau.beta)

for (j in 1:num.pred)

{

beta[j] ~ dnorm(0,tau.beta)

}

tau.u.spline ~ dgamma(A.u.spline,

B.u.spline)

tau.u.subj ~ dgamma(A.u.subj,B.u.subj)

}

The following code was used to fit (6) to the data oncaregiver stress and respiratory health. This code il-lustrates the use of folded-Cauchy priors on variancecomponents. As noted in the WinBUGS user man-ual (Spiegelhalter, Thomas and Best, 2000), a singlezero Poisson observation with mean φ contributes aterm exp(φ) to the likelihood for σ, which is thencombined with a flat prior over the positive real lineto produce the folded-Cauchy distribution.model

{

for (i in 1:num.obs)

{

X[i,1] <- age[i]

X[i,2] <- income1[i]

X[i,3] <- income2[i]

X[i,4] <- race[i]

Page 16: General Design Bayesian Generalized Linear Mixed Models

16 ZHAO, STAUDENMAYER, COULL AND WAND

log(mu[i])

<- gamma[house[i]]

+ inprod(beta[],X[i,])

+ inprod(u.spline[],Z.spline[i,])

y[i] ~ dpois(mu[i])

}

for (i.house in 1:num.house)

{

gamma[i.house] <- beta0+u.subj[i.house]

u.subj[i.house] ~ dnorm(0,tau.u.subj)

}

for (k in 1:num.knots)

{

u.spline[k] ~ dnorm(0,tau.u.spline)

}

beta0 ~ dnorm(0,tau.beta)

for (j in 1:num.pred)

{

beta[j] ~ dnorm(0,tau.beta)

}

tau.u.spline <- pow(sigma.u.spline,-2)

zero.u.spline <- 0

sigma.u.spline ~ dunif(0,1000)

phi.u.spline <- log((pow(sigma.u.spline,2)

+ pow(phi.scale.u.spline,2)))

zero.u.spline ~ dpois(phi.u.spline)

tau.u.subj <- pow(sigma.u.subj,-2)

zero.u.subj <- 0

sigma.u.subj ~ dunif(0,1000)

phi.u.subj

< - log((pow(sigma.u.subj,2)

+ pow(phi.scale.u.subj,2)))

zero.u.subj ~ dpois(phi.u.subj)

}

Below is the code that we used to fit the spatialmodel (7) to the Cape Cod female lung cancer data.Please note that the variance components have in-verse gamma priors, and adj, weights, and num areinputs to car.normal, the normal conditional au-toregressive function in WinBUGS.model

{

for (i in 1:num.regions)

{

X[i,1] <- working[i,1]

X[i,2] <- distance[i,1]

theta[i] <- beta0+u.spatial[i]

+ inprod(beta[],X[i,])

+ inprod(u.spline[],

Z.spline[i,])

log(mu[i]) <- log(E[i])+theta[i]

O[i] ~ dpois(mu[i])

SIRhat[i] <- 100*mu[i]/E[i]

}

u.spatial[1:num.regions]

~car.normal(adj[],weights[],

num[],tau.u.spatial)

for (k in 1:num.knots)

{

u.spline[k] ~ dnorm(0.0,tau.u.spline)

}

for (j in 1:num.pred)

{

beta[j] ~ dnorm(0.0,tau.beta)

}

beta0 ~ dnorm(0.0,tau.beta)

tau.u.spatial~dgamma(A.u.spatial,

B.u.spatial)

tau.u.spline~dgamma(A.u.spline,B.u.spline)

}

ACKNOWLEDGMENTS

We are grateful for comments from CiprianCrainiceanu, Jim Hodges, Scott Sisson and the re-viewers. This research was partially supported byNational Institute of Environmental Health Sciences GrantR01-ES10844-01, National Science Foundation GrantDMS-03-06227 and National Institutes of Health GrantES-01-2044.

REFERENCES

Aherns, C., Altman, N., Casella, G., Eaton, M.,

Hwang, J. T. G., Staudenmayer, J. and Stefansescu,

C. (2001). Leukemia clusters in upstate New York: Howadding covariates changes the story. Environmetrics 12

659–672.Anderson, D. A. and Aitkin, M. (1985). Variance compo-

nent models with binary response: Inteviewer variability.J. Roy. Statist. Soc. Ser. B 47 203–210.MR0816084

Bedrick, E. J., Christensen, R. and Johnson, W. (1996).A new perspective on priors for generalized linear models.J. Amer. Statist. Assoc. 91 1450–1460.MR1439085

Bedrick, E. J., Christensen, R. and Johnson, W. (1997).Bayesian binomial regression: Predicting survival at atrauma center. Amer. Statist. 51 211–218.

Besag, J. and Green, P. J. (1993). Spatial statistics andBayesian computation. J. Roy. Statist. Soc. Ser. B 55 25–37.MR1210422

Besag, J., York, J. and Mollie, A. (1991). Bayesian imagerestoration, with two applications in spatial statistics (withdiscussion). Ann. Inst. Statist. Math. 43 1–59.MR1105822

Booth, J. G. and Hobert, J. P. (1998). Standard errorsof prediction in generalized linear mixed models. J. Amer.Statist. Assoc. 93 262–272.MR1614632

Breslow, N. E. and Clayton, D. G. (1993). Approximateinference in generalized linear mixed models. J. Amer.Statist. Assoc. 88 9–25.

Breslow, N. E. and Lin, X. (1995). Bias correction in gen-eralised linear mixed models with a single component ofdispersion. Biometrika 82 81–91.MR1332840

Brumback, B. A., Ruppert, D. and Wand, M. P. (1999).Comment on “Variable selection and function estimationin additive nonparametric regression using a data-basedprior,” by T. S. Shively, R. Kohn and S. Wood. J. Amer.Statist. Assoc. 94 794–797.MR1723272

Page 17: General Design Bayesian Generalized Linear Mixed Models

GENERAL DESIGN BAYESIAN GLMM 17

Clayton, D. (1996). Generalized linear mixed models. InMarkov Chain Monte Carlo in Practice (W. R. Gilks, S.Richardson and D. J. Spiegelhalter, eds.) 275–301. Chap-man and Hall, London.MR1397972

Cohen, S. (1988). Psychosocial models of the role of socialsupport in the etiology of physical disease. Health Psychol-ogy 7 269–297.

Crainiceanu, C., Ruppert, D. and Wand, M. P. (2005).Bayesian analysis for penalized spline regression using Win-BUGS. J. Statistical Software 14(14).

Diggle, P., Liang, K.-L. and Zeger, S. (1994). Analysis ofLongitudinal Data. Oxford Univ. Press.

Diggle, P. J., Tawn, J. A. and Moyeed, R. A. (1998).Model-based geostatistics (with discussion). Appl. Statist.47 299–350.MR1626544

Durban, M. and Currie, I. (2003). A note on P-spline ad-ditive models with correlated errors. Comput. Statist. 18

251–262.MR1994651Fahrmeir, L. and Lang, S. (2001). Bayesian inference for

generalized additive mixed models based on Markov ran-dom field priors. Appl. Statist. 50 201–220.MR1833273

French, J. L., Kammann, E. E. and Wand, M. P.

(2001). Comment on “Semiparametric nonlinear mixed-effects models and their applications,” by C. Ke and Y.Wang. J. Amer. Statist. Assoc. 96 1285–1288.

French, J. L. and Wand, M. P. (2004). Generalized addi-tive models for cancer mapping with incomplete covariates.Biostatistics 5 177–191.

Gelfand, A. E., Sahu, S. K. and Carlin, B. P. (1995).Efficient parameterisations for normal linear mixed models.Biometrika 82 479–488.MR1366275

Gelman, A. (2005). Prior distribution for variance parame-ters in hierarchical models. Bayesian Analysis. To appear.

Gelman, A. and Rubin, D. B. (1992). Inference from itera-tive simulation using multiple sequences (with discussion).Statist. Sci. 7 457–472, 483–501, 503–511.MR1196276

Gilks, W. R., Richardson, S. and Spiegelhalter, D. J.,eds. (1996). Markov Chain Monte Carlo in Practice. Chap-man and Hall, London.MR1397966

Gilks, W. R. and Wild, P. (1992). Adaptive rejection sam-pling for Gibbs sampling. Appl. Statist. 41 337–348.

Gilmour, A. R., Anderson, R. D. and Rae, A. L. (1985).The analysis of binomial data by a generalized linear mixedmodel. Biometrika 72 593–599.MR0817573

Gold, D. R., Burge, H. A., Carey, V., Milton, D. K.,

Platts-Mills, T. and Weiss, S. T. (1999). Predictors ofrepeated wheeze in the first year of life: The relative rolesof cockroach, birth weight, acute lower respiratory illness,and maternal smoking. Amer. J. Respiratory and CriticalCare Medicine 160 227–236.

Goldstein, H. (1995). Multilevel Statistical Models, 2nd ed.Edward Arnold, London.

Handcock, M. S. and Stein, M. L. (1993). A Bayesian anal-ysis of kriging. Technometrics 35 403–410.

Hobert, J. P. and Casella, G. (1996). The effect ofimproper priors on Gibbs sampling in hierarchical lin-ear mixed models. J. Amer. Statist. Assoc. 91 1461–1473.MR1439086

Kammann, E. E. and Wand, M. P. (2003). Geoadditivemodels. Appl. Statist. 52 1–18.MR1963210

Kelsey, J., Whittemore, A., Evans, A. andThompson, W. D. (1996). Methods in ObservationalEpidemiology. Oxford Univ. Press.

Kreft, I. and de Leeuw, J. (1998). Introducing MultilevelModeling. Sage, London.

Lin, X. and Breslow, N. E. (1996). Bias correction ingeneralized linear mixed models with multiple compo-nents of dispersion. J. Amer. Statist. Assoc. 91 1007–1016.MR1424603

Lin, X. and Carroll, R. J. (2001). Semiparamet-ric regression for clustered data. Biometrika 88 1179–1185.MR1872228

McCullagh, P. and Nelder, J. A. (1989). General-ized Linear Models, 2nd ed. Chapman and Hall, Lon-don.MR0727836

McCulloch, C. E. and Searle, S. R. (2001). Generalized,Linear and Mixed Models. Wiley, New York.MR1884506

Natarajan, R. and Kass, R. E. (2000). Reference Bayesianmethods for generalized linear mixed models. J. Amer.Statist. Assoc. 95 227–237.MR1803151

Natarajan, R. and McCulloch, C. E. (1998). Gibbs sam-pling with diffuse proper priors: A valid approach to data-driven inference? J. Comput. Graph. Statist. 7 267–277.

Neal, R. M. (2003). Slice sampling (with discussion). Ann.Statist. 31 705–767.MR1994729

Nychka, D. and Saltzman, N. (1998). Design of air qual-ity monitoring networks. Case Studies in EnvironmentalStatistics. Lecture Notes in Statist. 132 51–76. Springer,Berlin.

Robinson, G. K. (1991). That BLUP is a good thing: Theestimation of random effects (with discussion). Statist. Sci.6 15–51.MR1108815

Ruppert, D. (2002). Selecting the number of knots forpenalized splines. J. Comput. Graph. Statist. 11 735–757.MR1944261

Ruppert, D., Wand, M. P. and Carroll, R. J.

(2003). Semiparametric Regression. Cambridge Univ.Press.MR1998720

Schall, R. (1991). Estimation in generalized linear modelswith random effects. Biometrika 78 719–727.

Shun, Z. (1997). Another look at the salamander mat-ing data: A modified Laplace approximation approach. J.Amer. Statist. Assoc. 92 341–349.

Speed, T. (1991). Comment on “That BLUP is a good thing:The estimation of random effects,” by G. K. Robinson.Statist. Sci. 6 42–44.MR1108815

Spiegelhalter, D. J., Thomas, A. and Best, N. G.

(2000). WinBUGS Version 1.3 User Manual. Available atwww.mrc-bsu.cam.ac.uk/bugs.

Spiegelhalter, D. J., Thomas, A., Best, N. G.,

Gilks, W. R. and Lunn, D. (2003). BUGS:Bayesian inference using Gibbs sampling. MRC Bio-statistics Unit, Cambridge, England. Available atwww.mrc-bsu.cam.ac.uk/bugs.

Stein, M. L. (1999). Interpolation of Spatial Data: SomeTheory for Kriging. Springer, New York.MR1697409

Stiratelli, R., Laird, N. M. and Ware, J. H. (1984). Ran-dom effects models for serial observations with binary re-sponse. Biometrics 40 961–971.

Page 18: General Design Bayesian Generalized Linear Mixed Models

18 ZHAO, STAUDENMAYER, COULL AND WAND

Verbyla, A. P. (1994). Testing linearity in generalized linearmodels. In Proc. 17th International Biometric Conference,Hamilton, Ontario 2 177.

Wahba, G. (1990). Spline Models for Observational Data.SIAM, Philadelphia.MR1045442

Wakefield, J. C., Best, N. G. and Waller, L. (2001).Bayesian approaches to disease mapping. In Spatial Epi-demiology : Methods and Applications (P. Elliott, J. C.Wakefield, N. G. Best and D. J. Briggs, eds.) 104–127. Ox-ford Univ. Press.

Wand, M. P. (2003). Smoothing and mixed models. Comput.Statist. 18 223–249.

Wolfinger, R. and O’Connell, M. (1993). Generalized lin-ear mixed models: A pseudo-likelihood approach. J. Statist.Comput. Simulation 48 233–243.

Wright, R. J., Finn, P., Contreras, J. P., Cohen,

S., Wright, R. O., Staudenmayer, J., Wand, M. P.,

Perkins, D., Weiss, S. T. and Gold, D. R. (2004).Chronic caregiver stress and IgE expression, allergen-induced proliferation, and cytokine profiles in a birth co-hort predisposed to atopy. J. Allergy and Clinical Immunol-ogy 113 1051–1057.

Zeger, S. L. and Karim, M. R. (1991). Generalized linearmodels with random effects: A Gibbs sampling approach.J. Amer. Statist. Assoc. 86 79–86.MR1137101

Zhao, Y. (2003). General design Bayesian generalized linearmixed models with applications to spatial statistics. Ph.D.dissertation, Dept. Biostatistics, Harvard Univ.