tau2-method: Accessor for the tau2 parameter in the hierarchical mixture...

Description Usage Arguments Value See Also Examples

Description

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.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
tau2(object)

## S4 method for signature 'McmcChains'
tau2(object)

## S4 method for signature 'MultiBatchModel'
tau2(object)

## S4 method for signature 'SingleBatchModel'
tau2(object)

Arguments

object

see showMethods(tau2)

Value

A vector of variances

See Also

Hyperparameters

Examples

1
2
3

CNPBayes documentation built on May 2, 2018, 3:57 a.m.