BUGS ASSISTANCE

BUGS VERSION 0.6
MANUAL ADDENDUM

David Spiegelhalter - Andrew Thomas
- Nicky Best - Wally Gilks
MRC Biostatistics Unit, Institute of Public Health,
Robinson Way, Cambridge CB2 2SR
Tel: 44-1223-330300 Fax: 44-1223-330388
e-mail: bugs@mrc-bsu.cam.ac.uk ftp: ftp.mrc-bsu.cam.ac.uk
http://www.mrc-bsu.cam.ac.uk/bugs

BUGS 0.6 manual

This Addendum specifies additional features of BUGS 0.6, and should be read in conjunction with the current manual for BUGS 0.5 [Spiegelhalter et al.1996a] .

Contents

Getting started

 

Getting the software

BUGS 0.6 may be obtained from World Wide Web   page http://www.mrc-bsu.cam.ac.uk/bugs, or by anonymous ftp from ftp.mrc-bsu.cam.ac.uk   in directory pub/methodology/bugs: login as anonymous and give your full e-mail address as the password. The message and README files will tell you how to obtain the program, examples and documentation.

The script file for `bugs' (Sparc)

 

#!/bin/sh
# runs BUGS interactively
#
case $# in
     0) bugs06.sparc 32 bugs;;
     *) echo 'bugs6' ;;
esac
rm bugs.buf
``32" refers to the number of bins in the metropolis algorithm (Section 2.2).

``bugs" refers to the header for filenames.

An appropriate path name should be added before ``bugs06.sparc''.

The script file for `backbugs' (Sparc)

#!/bin/sh
# runs BUGS taking commands from command file
#
case $# in
     0) echo 'usage backbugs command_file' 
        exit 1 ;;
     1) bugs06.sparc 32 bugs $1;;
     *) echo 'usage backbugs command_file' ;;
esac
rm bugs.buf
An appropriate path name should be added before ``bugs06.sparc''.

So to submit a series of commands from a file job.cmd, use the command backbugs job.cmd.

New Facilities in 0.6

Checkpoint command

  A command now exists to save people wasting a whole run if a crash occurs. If you type, say, checkpoint(1000), then after every 1000 iterations BUGS will

Note that bugs.res can be used as an initial value file for restarting a run.

Metropolis sampling

    A general Metropolis-within-Gibbs routine can now be used for non-log-concave sampling. This routine uses a simple histogram- based proposal distribution [Ritter and Tanner, 1992], and therefore any parameter that requires Metropolis sampling must have bounded range, which is best set up using the I( , ) construct on the prior distribution, although this is not necessary if a uniform or beta prior distribution are assumed. This is best adapted to as narrow a range as possible to bound the posterior distribution. The default number of bins in the histogram is 32, but this can be changed within the BUGS script (see Section 1.2).

If a bounded range is not given, an error message will say that BUGS is Unable to choose update method for node.

Improved Metropolis routines are being written for future versions, and will be available in BUGS for Windows.

Minor changes

  1. Non-integer r and n can be used in binomial sampling.  
  2. Nodes are updated in the reverse order to their specification.  

Corrected bugs from Version 0.5

  1. The adaptive rejection sampling routine has been changed in the hope of avoiding the crashes that have occurred. However, this may have made it slower.
  2. Compilation has been speeded up.
  3. The stats command no longer overwrites the contents of bugs1.out.
  4. The I(,) construct works for all univariate distributions (previously it was ignored when using, for example, the logistic)
  5. The sd function has been fixed.
  6. Some of the more annoying error messages have been fixed: for example a missing data or initial value file no longer leads to a memory fault crash.

Known restrictions still existing in Version 0.6

  1. It is still not possible to place any structure on a covariance matrix given an inverse Wishart distribution. For bivariate normal distributions, such as an intercept and slope of a growth curve model, we recommend modelling as two univariate normals with, say, intercept being a covariate of slope.
  2. The COSMOS example does not fully work.

Examples

Dugongs with Metropolis

   

This problem is described in Spiegelhalter et al. (1996c) [page 4] and comprises a non-linear and non-conjugate model:

eqnarray160

This gives a non-log-concave distribution for tex2html_wrap_inline869 . The problem was previously handled by discretizing tex2html_wrap_inline869 , and specifying equal prior probabilities for each discrete value. The BUGS 0.6 code is shown below.

model dugongs;
const
   N = 27;  # number of observations
var
  x[N],Y[N],mu[N],alpha,beta,gamma,tau,sigma,U1,U2,U3;
data x, Y in "dugongs.dat";
inits in "dugongs.in";
{
  for (i in 1:N) {
     mu[i] <- alpha - beta*pow(gamma,x[i]);
     Y[i] ~ dnorm(mu[i],tau)
  }
  alpha ~ dnorm(0.0,1.0E-4);
  beta ~ dnorm(0.0,1.0E-4);
  tau ~ dgamma(1.0E-3,1.0E-3); sigma <- 1.0/sqrt(tau);
  gamma ~ dunif(0.5,1.0);
 
# Transform alpha, beta and gamma to scale used by Carlin and Gelfand
  U1 <- log(alpha);
  U2 <- log(beta);
  U3 <- logit(gamma);
}

We note that tex2html_wrap_inline869 has been given a bounded domain by using a uniform prior distribution. BUGS 0.6 detects that the Metropolis sampler is required and reports during compilation: Metropolis method choosen for node gamma.

Analysis

After a 500 iteration burn-in, 1000 iterations took 31 seconds using the default 32 bins for the Metropolis sampler.

tabular174

(The C & G posterior refers to that in Carlin and Gelfand (1991)).

We note that the Metropolis sampler is considerably faster than using discretisation, and the results are virtually indistinguishable.

Epilepsy with hierarchical centering

 

This example is described in Spiegelhalter et al. (1996b)[page 30], in which convergence problems are noted. Gelfand et al (1995) and Gelfand et al (1996) discuss the method of hierarchical centering for such models, in which each stochastic variable is, as far as possible, considered as arising from a stochastic mean. In effect, covariates are entered as `high' in the model as possible. They argue this procedure should often improve convergence, and further evidence is provided by Roberts and Sahu (1997).

For Model III in the epilepsy example, rather than having both random effects entering into a single regression for the Poisson mean, we may separate out the random effects to create an additional level on the model. The model is thus given by:

eqnarray199

Coefficients and precisions are given independent ``noninformative'' priors. The appropriate graph is shown in Figure 1.

  figure228
Figure 1:   Graphical model for epil example, using a hierarchically centered parameterisation

Model specification for epil example with hierarchical centering. The part indicated +++++ is identical to that given in Spiegelhalter et al (1996b) [page 30].

    for(j in 1:N) {
      for(k in 1:T) {
         mu[j,k] <- a0 + alpha.Base * (log.Base4[j]-log.Base4.bar)   
                                + alpha.Trt * (Trt[j]-Trt.bar)  
                                + alpha.BT  * (BT[j] - BT.bar)  
                                + alpha.Age * (log.Age[j]-log.Age.bar)  
                                + alpha.V4  * (V4[k] - V4.bar) 
                                + b1[j];
         y[j,k] ~ dpois(m[j,k]);
	 log(m[j,k]) <- b[j,k];
         b[j,k] ~ dnorm(mu[j,k],tau.b);       # subject*visit random effects
      }
      b1[j]         ~ dnorm(0.0,tau.b1);        # subject random effects
 +++++

Analysis

A burn-in of 3000 iterations was followed by a further 7000 iterations. This took approximately 30 minutes.

tabular241

We have generally found that hierarchical centering leads to both quicker sampling and earlier convergence.

Orange trees - non-linear hierarchical models

   

This example is analysed in Lindstrom and Bates (1990) as an example of a mixed non-linear growth curve model. The data describe the growth of each of five orange trees, with measurements at seven common times:

tabular262

A logistic growth curve model, with an unknown maximum, is assumed. We first standardise the covariate tex2html_wrap_inline953 to tex2html_wrap_inline955 in order to improve convergence and stability of estimates, and to make the random effects assumptions more reasonable.

eqnarray271

Lindstrom and Bates (1990) only take tex2html_wrap_inline957 as a random effect with a Gaussian population distribution. We shall allow all three growth parameters to vary between trees; means and precisions are given independent ``noninformative'' priors.

As mentioned in Section 2.2, we need to specify a range for each of the tex2html_wrap_inline959 parameters to be sampled using the Metropolis algorithm. It is convenient to first run a fixed-effect model in which five independent growth curves are fitted to the data, specifying only that the tex2html_wrap_inline959 's are all between -20 and +20. This gives rise to estimates for tex2html_wrap_inline959 that suggest generous lower and upper bounds of (4,6) for tex2html_wrap_inline965 's, (-2,0) for tex2html_wrap_inline967 's and (-3,0) for tex2html_wrap_inline969 's. These are then placed in the data file as the lower and upper vectors.

  figure292
Figure 2:   Graph of the orange tree example.

Model specification for orange example

model otree;
const
n = 7, 
K = 5;
var
tauC,mu[3],tau[3], Y[K,n],m[K,n],phi[K,3],theta[K,3],
lower[3],upper[3],sigmaC,sigma[3],x[n],x.bar,x.sd;
data in "otree.dat";
inits in "otree.in";
{
x.bar <- mean(x[]);
x.sd <- sd(x[]);
for (i in 1:K) {
   for (j in 1:n) {
      Y[i, j] ~ dnorm(m[i, j], tauC)
      m[i, j] <- exp(theta[i,1]) / 
                (1 +  exp(theta[i,2] + theta[i, 3] * (x[j]-x.bar)/x.sd));
      }
   for (k in 1:3) {
   theta[i, k] ~ dnorm(mu[k], tau[k])I(lower[k], upper[k])
    }
}
tauC ~ dgamma(1.0E-3, 1.0E-3)
sigmaC <- 1 / sqrt(tauC)
for (k in 1:3) {
   mu[k] ~ dnorm(0, 1.0E-4)
   tau[k] ~ dgamma(1.0E-3, 1.0E-3)
   sigma[k] <- 1 / sqrt(tau[k])
   }
}

Analysis

A burn-in of 500 iterations followed by a further 1000 iterations took approximately 2.25 minutes.

tabular304

From the size and standard deviations of the random effects tex2html_wrap_inline999 's, the assumption of Lindstrom and Bates (1990) that a random effect is only required for tex2html_wrap_inline1001 appears reasonable.

ddIddC: a longitudinal Laird-Ware mixed model

Consider the Gaussian linear mixed model [Laird and Ware, 1982],

  eqnarray316

where the tex2html_wrap_inline1009 are vectors of length tex2html_wrap_inline1011 containing the observations on the tex2html_wrap_inline1013 unit, and the tex2html_wrap_inline1015 are error vectors of the same length independently distributed as tex2html_wrap_inline1017 : note that all our Normal parameterisations are in terms of precisions. In this mixed model, tex2html_wrap_inline1019 is an tex2html_wrap_inline1021 design matrix of covariates and tex2html_wrap_inline1023 is a corresponding tex2html_wrap_inline1025 vector of fixed effects. In contrast, tex2html_wrap_inline1027 is a tex2html_wrap_inline1029 design matrix (q typically less than p), and tex2html_wrap_inline1035 is a tex2html_wrap_inline1037 vector of subject-specific random effects. The tex2html_wrap_inline1035 model the subject-specific means, as well as enabling the model to capture marginal dependence among the observations on the tex2html_wrap_inline1013 unit. The hierarchical specification of this model is completed by adding the prior distributions tex2html_wrap_inline1043 , tex2html_wrap_inline1045 , and tex2html_wrap_inline1047 .

We apply this model to continuous longitudinal data from a clinical trial originally described by Abrams et al (1994), which compared the effectiveness of two antiretroviral drugs (didanosine, ddI, and zalcitabine, ddC) in 467 persons with advanced HIV infection. The response variable tex2html_wrap_inline1049 for patient i at time j is the square root of the patient's CD4 count, a seriological measure of immune system health and prognostic factor for AIDS-related illness and mortality. The dataset records patient CD4 counts at study entry and again at 2, 6, 12, and 18 months after entry, though a great many of these observations are missing for many patients (the sample sizes at the five time points for the two drug groups are (230, 182, 153, 102, 22) and (236, 186, 157, 123, 14), respectively).

Following a Bayesian reanalysis of these data [Carlin, 1996, Carlin and Louis, 1996], we seek to fit model (1) where the tex2html_wrap_inline1055 row of the patient i's design matrix tex2html_wrap_inline1027 takes the form

displaymath1005

where tex2html_wrap_inline1061 and tex2html_wrap_inline1063 . Thus the three columns of tex2html_wrap_inline1027 correspond to individual-level intercept, slope, and possible change in slope after the two month visit (by which time the drugs are expected to produce a detectable benefit). We further account for the effect of two covariates by including them in the fixed effect design matrix tex2html_wrap_inline1019 . These covariates are tex2html_wrap_inline1069 , a binary variable indicating whether patient i received ddI ( tex2html_wrap_inline1073 ) or ddC ( tex2html_wrap_inline1075 ), and tex2html_wrap_inline1077 , a binary variable telling whether the patient was diagnosed as having AIDS at baseline ( tex2html_wrap_inline1079 ) or not ( tex2html_wrap_inline1081 ). Each of these covariates is allowed to influence the intercept, slope and change, and hence

displaymath1006

so that p = 3q = 9.

We complete our model specification with minimally informative priors, taking care to ensure that they do not lead to improper posterior distributions for the variance components tex2html_wrap_inline1085 and D. Following previous work, we set tex2html_wrap_inline1089 and tex2html_wrap_inline1091 , which should preserve identifiability while still allowing the random effects a reasonable amount of freedom. For the prior on tex2html_wrap_inline1093 we take a = 1, b=100 (a prior with both mean and standard deviation equal to tex2html_wrap_inline1097 ), while for tex2html_wrap_inline1023 we set

eqnarray341

a prior biased strongly away from 0 only for the baseline intercept, tex2html_wrap_inline1101 , and the intercept adjustment for a positive AIDS diagnosis, tex2html_wrap_inline1103 . This prior also forces the drug group intercept (i.e., the effect at baseline) tex2html_wrap_inline1105 to be very small, since patients were assigned to drug group at random.

  figure344
Figure 3:   Graph of the ddIddc example.

Here is the BUGS code to fit this model, where ind indexes the individual in the study, and i and j index the rows and columns of the design matrices, respectively. By placing NA's in the data file, the W matrix is common to all individuals, but the X matrix is still individual-specific.

model ddIddC;
const
   N = 467,  # number of patients
   s = 5,    # number of time points
   q = 3,    # number of random effects
   p = 9;    # number of fixed effects
var
   X[N,s,p],W[s,q],Y[N,s],alpha[p],beta[N,q],d[N],a[N],Omega[q,q],V[q,q],
   Sigma2[q,q],sigma,tau,R[q,q],rho,c[p],Omega.alpha[p,p],
   mu[N,s],mu.beta[q];
data d,a in "drugaids.dat", Y in "Y.dat",
  W in "W.dat", c in "priormean.dat", Omega.alpha in "priorprec.dat";
inits in "ddIddC.in"; 
{
    for (ind in 1:N) {
      for (i in 1:s) {

        for (j in 1:q) {
          X[ind,i,j] <- W[i,j];
          X[ind,i,j+3] <- d[ind]*W[i,j];
          X[ind,i,j+6] <- a[ind]*W[i,j];
}
        Y[ind,i] ~ dnorm(mu[ind,i],tau);
        mu[ind,i] <- inprod(X[ind,i,],alpha[]) + inprod(W[i,],beta[ind,]);
}
     beta[ind,] ~ dmnorm(mu.beta[],Omega[,]);  # trivariate Normal
}
  tau  ~ dgamma(1, 100);  sigma <- 1.0/sqrt(tau);
  Omega[,]  ~ dwish(R[,],24);    # Wishart prior on precision matrix
  R[1,1] <- 96.0;  R[1,2] <- 0.0;  R[1,3] <- 0.0;   
  R[2,1] <- 0.0;   R[2,2] <- 1.5;  R[2,3] <- 0.0;   
  R[3,1] <- 0.0;   R[3,2] <- 0.0;  R[3,3] <- 1.5;   
  V[,] <- inverse(Omega[,])

  mu.beta[1] <- 0.0; mu.beta[2] <- 0.0; mu.beta[3] <- 0.0; 
#  for (j in 1:p){alpha[j] ~ dnorm(c[j],Omega.alpha[j,j]);}  #  univ normals
  alpha[] ~ dmnorm(c[],Omega.alpha[,]);  #  mv normal -- better convergence!
}

Running this BUGS code for 5000 iterations produces the summaries in Table 1. The results are quite comparable to those given by Carlin and Louis (1996) [pp.280-281]. Interestingly, this original work took several hundred lines of code in Fortran 77, augmented with IMSL subroutine calls for matrix manipulation and random variate generation - a stark contrast with the fewer than 40 lines of BUGS code above.

   table362
Table 1: Posterior summaries, ddI/ddC data model

The single line that is commented out in the above BUGS code can be used to specify the (independence) prior for tex2html_wrap_inline1023 componentwise using dnorm, instead of all at once using dmnorm. While mathematically equivalent, Table 2 shows that the univariate specification to be inferior in terms of convergence speed, since BUGS then updates the tex2html_wrap_inline1143 one at a time, instead of as a vector. Laboring against the cross-correlations within this vector, overall performance deteriorates.

We remark that the hierarchically centered version of this model recommended for this dataset by Gelfand et al (1995), namely

displaymath1145

where tex2html_wrap_inline1147 , tex2html_wrap_inline1149 , and tex2html_wrap_inline1151 , is not possible within the current version of BUGS. This is because BUGS cannot calculate the proper multivariate normal mean and precision matrix when the ``data'' (in the centered version, the tex2html_wrap_inline1153 ) are not univariate, unless the data mean is identical to the multivariate normal prior. BUGS can however accommodate some simpler, univariate centering forms, as in the revised epil example.

   table395
Table 2: Lag 1 sample autocorrelations, algorithms for ddI/ddC data model

PK: a nonlinear population pharmacokinetic model

Wakefield et al (1994) consider the data in Table 3, which record the plasma concentration tex2html_wrap_inline1049 of the drug Cadralazine at various time lags tex2html_wrap_inline1193 following the administration of a single dose of 30 mg in 10 cardiac failure patients. Here, tex2html_wrap_inline1195 indexes the patient, while tex2html_wrap_inline1197 indexes the observations, tex2html_wrap_inline1199 . These authors suggest a ``one-compartment'' nonlinear pharmacokinetic model wherein the mean plasma concentration tex2html_wrap_inline1201 is given by

displaymath1203

Subsequent unpublished work by these same authors suggests this model is best fit on the log scale. That is, we suppose

displaymath1205

where tex2html_wrap_inline1207 . The mean structure for the tex2html_wrap_inline1209 's thus emerges as

eqnarray547

where tex2html_wrap_inline1211 and tex2html_wrap_inline1213 .

   table438
Table 3: Cadralazine concentration data

Following the analysis by Wakefield et al (1994), we assume the subject-specific random effects tex2html_wrap_inline1215 are i.i.d. from a tex2html_wrap_inline1217 distribution, where tex2html_wrap_inline1219 . These authors also recommend the usual conjugate prior specification, namely tex2html_wrap_inline1221 , tex2html_wrap_inline1223 , and tex2html_wrap_inline1225 . Since the full conditional distributions of the random effects tex2html_wrap_inline1227 are neither simple conjugate forms nor guaranteed to be log-concave, the new Metropolis capability of BUGS 0.6 is required. This Metropolis routine requires bounds to be placed on variables using the I(,) construction, so unfortunately, the model for tex2html_wrap_inline1227 cannot be specifed bivariately as above, since BUGS currently cannot handle multivariate range restrictions. However, the model may still be specified in BUGS using the product formulation of the bivariate normal, namely

eqnarray553

where tex2html_wrap_inline1231 and tex2html_wrap_inline1233 are broad truncation regions to enable the grid-based Metropolis algorithm, and c is a constant used to roughly center the tex2html_wrap_inline1077 's (hence reduce correlation between the intercept tex2html_wrap_inline1239 and slope tex2html_wrap_inline1241 ). Under this formulation, we replace the normal prior for tex2html_wrap_inline1243 and the Wishart prior for tex2html_wrap_inline1245 with gamma priors for tex2html_wrap_inline1247 and tex2html_wrap_inline1249 and normal priors for tex2html_wrap_inline1251 and tex2html_wrap_inline1241 .

  figure457
Figure 4:   Graph of the PK example.

The BUGS code to fit this model follows. As can be seen, we adopt the tuning constants c=3, tex2html_wrap_inline1257 , and tex2html_wrap_inline1259 . The latter values comfortably contain all the posterior mass for the tex2html_wrap_inline1077 and tex2html_wrap_inline1263 ; significantly more widely dispersed values (say, tex2html_wrap_inline1265 and tex2html_wrap_inline1267 ) do in fact lead to sharp drops in the Metropolis acceptance rate, hence reductions in efficiency.

model PK;
const
   N = 10,   # number of patients
   T = 8;    # number of time points
var
   X[T],Z[N,T],theta[N,2],a[N],b[N],lnu[N,T],tau[N],sigma[N],Y[N,T],
   mu.a,tau.a,mub[N],tau.b,int.b,slope.b,mu.b;
data Z in "PKZ.dat", X in "PKX.dat";
inits in "PK.in"; 
{
    for (i in 1:N) {
      for (j in 1:T) {
        Z[i,j] ~ dnorm(lnu[i,j],tau[i]);
        Y[i,j] <- exp(Z[i,j]);
        lnu[i,j] <- log(30) - a[i] - exp(b[i]-a[i])*X[j];
} # end of j loop

    a[i] ~ dnorm(mu.a,tau.a) I(-5, 10);
    b[i] ~ dnorm(mub[i],tau.b) I(-5, 10);
    mub[i] <- int.b + slope.b * (a[i] - 3.0);  #  center the a_i's

    tau[i]  ~ dgamma(.0001, .0001);  sigma[i] <- 1.0/sqrt(tau[i]);
} # end of i loop

  mu.a ~ dnorm(0.0, 0.0001); 
  int.b ~ dnorm(0.0, 0.0001);  slope.b ~ dnorm(0.0, 0.0001);  
  mu.b <- int.b + slope.b * (mu.a - 3.0);
  tau.a ~ dgamma(1, 0.04); tau.b ~ dgamma(1, 0.04); # vague Wakefield prior

} # end of PK.bug program

Using a sequence of univariate Metropolis (Gaussian proposals) and Gibbs steps, Sargent et al (1997) fit the original Wishart formulation of this model using the priors recommended by Wakefield et al (1994), namely tex2html_wrap_inline1269 , tex2html_wrap_inline1271 , tex2html_wrap_inline1273 , tex2html_wrap_inline1275 , and tex2html_wrap_inline1277 . We attempt a comparable prior in our formulation by taking G(0.0001, 0.0001) priors for the tex2html_wrap_inline1281 , N(0, 0.0001) priors for tex2html_wrap_inline1251 and tex2html_wrap_inline1241 , and G(1, 0.04) priors for tex2html_wrap_inline1247 and tex2html_wrap_inline1249 .

   table467
Table 4: Posterior summaries and lag 1 sample autocorrelations, PK data model

Running this BUGS code for 5000 iterations (following a 250 iteration burn-in period) produces the posterior summaries and lag 1 sample autocorrelations given in Table 4. Also shown are the results produced by Sargent et al (1997), to which the BUGS results are quite comparable, given the slight differences in model and prior formulation. (Results for tex2html_wrap_inline1335 in the Wishart model are given in the tex2html_wrap_inline1247 row of the table; however, results for tex2html_wrap_inline1339 are not shown in the tex2html_wrap_inline1249 row since tex2html_wrap_inline1249 is a conditional precision, given the tex2html_wrap_inline1077 .) The relatively large posterior means for tex2html_wrap_inline1347 and tex2html_wrap_inline1349 (and correspondingly large posterior variances for tex2html_wrap_inline1351 , and tex2html_wrap_inline1353 ) at first seem counter-intuitive, since these two patients had the most data available for study. However, their final 2 to 3 observations fit the overall model poorly (with those for patient 8 not even being monotone), explaining this oddity. Finally (and relatedly), note the predicted values of the final observations for patients 2 (whose clearance rate is the slowest) and 7 (whose rate is amongst the fastest). The former has mean somewhat larger than that suggested by the posterior predictive distribution under the ``power model'' fit on the original (unlogged) scale by Wakefield et al (1994) [page 216].

Acknowledgements

We are grateful to all those people who have proposed ways of improving the BUGS software, and apologise for implementing so few of their suggestions. We are particularly grateful for Brad Carlin for providing the ddIddC and the PK examples.

References

Abrams et al.1994
Abrams, D., Goldman, A., Launer, C., Korvick, J., Neaton, J., Crane, L., Grodesky, M., Wakefield, S., Muth, K., Kornegay, S., Cohn, D., Harris, A., R., L.-H., Markowitz, N., Sampson, J., Thompson, M., Deyton, L., and the Terry Beirn Community Programs for Clinical Research on AIDS (1994). Comparative trial of Didanosine and Zalcitabine in patients with human immunodeficiency virus infection who are intolerant of or have failed Zidovudine therapy. New England J Medicine, 330, 657-62.

Carlin1996
Carlin, B. P. (1996). Hierarchical longitudinal modelling. In Markov Chain Monte Carlo Methods in Practice, (ed. W. R. Gilks, S. Richardson, and D. J. Spiegelhalter), pp. 303-19. Chapman and Hall, New York.

Carlin and Gelfand1991
Carlin, B. P. and Gelfand, A. E. (1991). An iterative Monte Carlo method for nonconjugate Bayesian analysis. Statistics and Computing, 1, 119-28.

Carlin and Louis1996
Carlin, B. P. and Louis, T. A. (1996). Bayes and Empirical Bayes Methods for Data Analysis. Chapman and Hall, London, U.K.

Gelfand et al.1995
Gelfand, A. E., Sahu, S. K., and Carlin, B. P. (1995). Efficient parameterization for normal linear mixed models. Biometrika, 82, 479-88.

Gelfand et al.1996
Gelfand, A. E., Sahu, S. K., and Carlin, B. P. (1996). Efficient parameterizations for generalised linear models (with discussion). In Bayesian Statistics 5, (ed. J. M. Bernardo, J. O. Berger, A. P. Dawid, and A. F. M. Smith), pp. 165-80. Clarendon Press, Oxford, UK.

Laird and Ware1982
Laird, N. M. and Ware, J. H. (1982). Randon effects models for longitudinal data. Biometrics, 38, 963-74.

Lindstrom and Bates1990
Lindstrom, M. J. and Bates, D. M. (1990). Nonlinear mixed effects models for repeated measures data. Biometrics, 46, 673-87.

Ritter and Tanner1992
Ritter, C. and Tanner, M. A. (1992). Facilitating the Gibbs sampler: the Gibbs stopper and the griddy-Gibbs sampler. Journal of the American Statistical Association, 87, 861-8.

Roberts and Sahu1997
Roberts, G. O. and Sahu, S. K. (1997). Updating schemes, correlation structures, blocking and parameterization of the Gibbs sampler. Journal of the Royal Statistical Society, Series B, 59, 291-317.

Sargent et al.1997
Sargent, D., Hodges, J., and Carlin, B. (1997). Structured Markov chain Monte Carlo. Technical report, Research Report 97-009, Division of Biostatistics, University of Minnesota.

Spiegelhalter et al.1996a
Spiegelhalter, D. J., Thomas, A., Best, N. G., and Gilks, W. R. (1996a). BUGS: Bayesian inference Using Gibbs Sampling, Version 0.5, (version ii) . MRC Biostatistics Unit, Cambridge.

Spiegelhalter et al.1996b
Spiegelhalter, D. J., Thomas, A., Best, N. G., and Gilks, W. R. (1996b). BUGS Examples Volume 1, Version 0.5, (version ii). MRC Biostatistics Unit, Cambridge.

Spiegelhalter et al.1996c
Spiegelhalter, D. J., Thomas, A., Best, N. G., and Gilks, W. R. (1996c). BUGS Examples Volume 2, Version 0.5, (version ii). MRC Biostatistics Unit, Cambridge.

Wakefield et al.1994
Wakefield, J., Smith, A., Racine-Poon, A., and Gelfand, A. (1994). Bayesian analysis of linear and non-linear population models by using the Gibbs sampler. Applied Statistics, 43, 201-21.

Index

Binomial sampling
Minor changes
checkpoint
Checkpoint command
ftp address
Getting the software
hierarchcial centering
Epilepsy with hierarchical centering
logistic growth curves
Orange trees - non-linear
Metropolis sampling
Metropolis sampling
non log-concave distributions
Dugongs with Metropolis
non-linear models
Dugongs with Metropolis, Orange trees - non-linear
Updating order
Minor changes
World Wide Web address
Getting the software
...0.6
BUGS ©copyright MRC Biostatistics Unit 1997. ALL RIGHTS RESERVED. The support of the Economic and Social Research Council (UK) is gratefully acknowledged. The work was funded in part by ESRC (UK) Award Number H519 25 5023.
 


Comments to ...