This function sets and checks model parameters for the {fHMM} package.
fHMM_parameters(
controls,
Gamma = NULL,
mus = NULL,
sigmas = NULL,
dfs = NULL,
Gammas_star = NULL,
mus_star = NULL,
sigmas_star = NULL,
dfs_star = NULL,
seed = NULL,
scale_par = c(1, 1)
)# S3 method for fHMM_parameters
print(x, ...)
An object of class fHMM_parameters.
An object of class fHMM_controls.
A matrix, a tpm (transition probability matrix) of dimension
controls$states[1].
A numeric vector of expectations of length controls$states[1].
A numeric vector of standard deviations of length
controls$states[1].
A numeric vector of degrees of freedom of length
controls$states[1].
Only relevant in case of a state-dependent t-distribution.
A list of length controls$states[1] of (fine-scale) tpm's.
Each tpm must be of dimension controls$states[2].
A list of length controls$states[1] of numeric vectors
of (fine-scale) expectations.
Each vector must be of length controls$states[2].
A list of length controls$states[1] of numeric vectors
of standard deviations.
Each vector must be of length controls$states[2].
A list of length controls$states[1] of numeric vectors
of (fine-scale) degrees of freedom.
Each vector must be of length controls$states[2].
Only relevant in case of a state-dependent t-distribution.
Set a seed for the sampling of parameters. No seed per default.
A positive numeric vector of length two, containing scales for sampled
expectations and standard deviations. The first entry is the scale for
mus and sigmas, the second entry is the scale for
mus_star and sigmas_star. Set an entry to 1 for no
scaling.
An object of class fHMM_parameters.
Currently not used.
See the vignette on the model definition for more details.
controls <- set_controls()
fHMM_parameters(controls)
Run the code above in your browser using DataLab