SpecExch-class {demest} | R Documentation

## A S4 class to specify an exchangeable prior.

### Description

An object of class `SpecExch` specifies a prior in which the order of the elements is irrelevant. The prior consists of an optional covariates term, and an error term. The error term can have a normal or t distribution. For details, see the documentation for function `Exch`.

### Slots

`formula`

  A `formula` with response `mean`.

`data`

  A data.frame containing covariate data.

`contrastsArg`

  A named list, the elements which are matrices or names of contrasts functions.

`AIntercept`

  The standard deviation for the prior for the intercept in the covariates term.

`nuEtaCoef`

  The degrees of freedom for the prior for the coefficients in the covariates term.

`AEtaCoef`

  The scale for the prior for the coefficients in the covariates term.

`nuBeta`

  The degrees of freedom for the error term, if the error term has a t distribution.

`nuTau`

  The degrees of freedom for the truncated half-t prior for the standard deviation or scale parameter for the error term.

`ATau`

  The scale for the truncated half-t prior for the standard deviation or scale parameter for the error term.

`maxTau`

  The maximum value for the standard deviation or scale parameter for the error term.

### Warning

In normal usage, it should not be necessary to access, or even know about, the slots of a `SpecExch` object. The slots are not part of the API of the package, and may change in future.

### See Also

Object of class `SpecExch` are generated using function `Exch`.

[Package demest version 0.0.0.3.1 Index]