Appendix: Gibbs-sampling of Linear Mixed-Effects Models
This appendix describes how to perform single-site Gibbs-sampling in the Linear Mixed-Effects Model used in [3]. The reason of not applying standard software and techniques in this case, is the huge dimension of the data. Single site Gibbs-sampling is a particular algorithm in a wider class of algorithms which is suitable for such models, named Markov chain Monte Carlo (MCMC) methods. For an introduction to MCMC methodology, see for example [1,2].
The model discussed in the paper, is of the following form
for
Only the cell line effect (
), the dye effect (
), the
protocol effect (
) and the cell line protocol interaction
(
) are modeled to be fixed effects (since the first three
have only two levels and the last is a combination of two fixed
effects).
is confounded with
and
, so we only
estimate
.
All other effects are
modeled as random effects. This means that
are modeled as
independent Gaussian random variables with zero mean and (unknown)
variance
, and similarly for all the other random
effects.
The model defined in Eq. (1) is quite involved, so we will
discuss how to perform Gibbs-sampling using this very simple model
instead,
The unknown parameters in Eq. (2) are
, the overall mean
-
, the random effect
, the variance for the random effect
-
, the variance for the measurement
error
In the entry ``Monitor all variables and update statistics'', we
compute the mean of
for example, to obtain after a huge number
of iterations (N_Iterations=
, for example), our (posterior
mean) estimate of
. We usually start collecting statistics
after, say
of the iterations are done, to avoid any effect of
the initial values.
Bibliography
-
- 1
-
W. R. Gilks, S. Richardson, and D. J. Spiegelhalter.
Markov Chain Monte Carlo in Practice.
London: Chapman & Hall, 1996. - 2
-
C. P. Robert and G. Casella.
Monte Carlo statistical methods.
Springer-Verlag New York, 1999. - 3
-
V. Nygaard et. al.
Effects of mRNA amplification on gene expression ratios in cDNA experiments estimated by analysis of variance.
Footnotes
- ... conditional1
- The full conditional
for
, say, is the conditional density for
given all
other variables and data.
Anders Løland
2003-01-07
