initEvol0: Initialize the parameters for the initial state variance

View source: R/helper_functions.R

initEvol0R Documentation

Initialize the parameters for the initial state variance

Description

The initial state SDs are assumed to follow half-Cauchy priors, C+(0,A), where the SDs may be common or distinct among the states.

Usage

initEvol0(mu0, commonSD = TRUE)

Arguments

mu0

p x 1 vector of initial values (undifferenced)

commonSD

logical; if TRUE, use common SDs (otherwise distinct)

Details

This function initializes the parameters for a PX-Gibbs sampler.

Value

List of relevant components: the p x 1 evolution error SD sigma_w0, the p x 1 parameter-expanded RV's px_sigma_w0, and the corresponding global scale parameters sigma_00 and px_sigma_00 (ignore if commonSD)


dsp documentation built on Aug. 21, 2025, 5:29 p.m.