The covariate x is normal with marginal distribution N(0,1+tau2).
The treatment indicator is Bernoulli(1/2).
The beta parameters are fixed and the study random effects are drawn from a MVN with varcov = D. If these components are zero than the corresponding study effect is set to zero. The shape of the Weibull is drawn from a Uniform(.5,3) and is the same for all studies.
Censoring is a non-informative exponential random variable. The rate is set to be the rate at which the probability of the censoring time being less than the median of the data set is censor.rate.