tau2
depends on whether object
is a MarginalModel
or a BatchModel
. For
BatchModel
, tau2
is a vector with length equal to the
number of components. Each element of the tau2
vector can
be interpreted as the within-component variance of the batch means
(theta
). For objects of class MarginalModel
(assumes no batch effect), tau2
is a length-one vector that
describes the variance of the component means between batches. The
hyperparameters of tau2
are eta.0
and m2.0
. See the
following examples for setting the hyperparameters, accessing the current
value of tau2
from a MixtureModel
-derived object, and
for plotting the chain of tau2
values.
tau2(object)
"tau2"(object)
"tau2"(object)
"tau2"(object)
showMethods(tau2)
Hyperparameters
k(BatchModelExample)
tau2(BatchModelExample)
plot.ts(tau2(chains(BatchModelExample)))
Run the code above in your browser using DataLab