tau2 {CNPBayes} | R Documentation |
The interpretation of 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) ## S4 method for signature 'McmcChains' tau2(object) ## S4 method for signature 'MixtureModel' tau2(object)
object |
see |
A vector of variances
Hyperparameters
k(MultiBatchModelExample) tau2(MultiBatchModelExample) plot.ts(tau2(chains(MultiBatchModelExample)))