SpecLikelihood-class: S4 classes to specify one or two levels of a model.

SpecLikelihood-classR Documentation

S4 classes to specify one or two levels of a model.

Description

Classes to specify the likelihood and, if the model has higher levels, part or all of the second level.

Slots

formulaMu

Object of class formula specifying main effects and interactions in second level of model.

varsigma

Data-level standard deviation, when this is supplied by the user (and treated as known.)

nuVarsigma

Degrees of freedom for truncated half-t prior for data-level standard deviation.

AVarsigma

Scale for truncated half-t prior for data-level standard deviation.

varsigmaMax

Maximum value for data-level standard deviation.

mean

Vector of means.

sd

Vector of standard deviations.

metadata

Metadata for mean and sd.

Warning

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

See Also

Objects of class SpecLikelihood are created by calls to function such as Poisson, Binomial, Normal, and PoissonBinomial.


StatisticsNZ/demest documentation built on Nov. 2, 2023, 7:56 p.m.