SpecMix-class: An S4 class to specify a Mix prior.

SpecMix-classR Documentation

An S4 class to specify a Mix prior.

Description

An object of class SpecMix specifies a non-parametric prior, based on a mix of normal distributions, that can be used for modelling interactions, particularly interactions involving time.

Slots

AComponentWeightMix

Scale for truncated half-t prior for omegaComponentWeightMix.

ALevelComponentWeightMix

Scale for truncated half-t prior for omegaLevelComponentWeightMix.

AVectorsMix

Scale for truncated half-t prior for omegaVectorsMix.

along

The name of the "along" dimension.

indexClassMaxMix

The maximum number of components that can be accommodated.

maxLevelComponentWeight

The upper bound for values of levelComponentWeightMix.

maxPhi

Maximum value for the damping parameter.

minLevelComponentWeight

The lower bound for values of levelComponentWeightMix.

minPhi

Minimum value for the damping parameter.

multComponentWeightMix

Multiplier applied to the default value for omegaComponentWeightMix.

multLevelComponentWeightMix

Multiplier applied to the default value for omegaLevelComponentWeightMix.

multVectorsMix

Multiplier applied to the default value for omegaVectorsMix.

nuComponentWeightMix

The degrees of freedom for the truncated half-t prior for omegaComponentWeightMix.

nuLevelComponentWeightMix

The degrees of freedom for the truncated half-t prior for omegaLevelComponentWeightMix.

nuVectorsMix

The degrees of freedom for the truncated half-t prior for omegaVectorsMix.

omegaComponentWeightMaxMix

Upper limit for truncated half-t prior for omegaComponentWeightMaxMix.

omegaLevelComponentWeightMaxMix

Upper limit for truncated half-t prior for omegalevelComponentWeightMaxMix.

omegaVectorsMaxMix

Upper limit for truncated half-t prior for omegaVectorsMix.

phi

Damping parameter.

phiKnown

Whether the damping parameter is known. or is estimated from the data.

priorMeanLevelComponentWeightMix

Mean for normal prior for meanLevelComponentWeightMix.

priorSDLevelComponentWeightMix

Standard deviation for normal prior for meanLevelComponentWeightMix

shape1Phi

First 'sample size' parameter in beta prior for damping parameter.

shape2Phi

Second 'sample size' parameter in beta prior for damping parameter.

Warning

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

See Also

Objects of class SpecMix are generated using function Mix.


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