Description Usage Arguments Details Value
View source: R/helper_functions.R
Compute initial values for the factors and nonlinear parameter (if necessary) of the parametric component using the Kalman Filter.
1 | par_init_ssm(Y, tau, f_p, orthogonalize = TRUE)
|
Y |
the |
tau |
vector of observation points ( |
f_p |
a function to compute the parametric component, which must return a |
orthogonalize |
logical; when TRUE, orthogonalize the loading curve matrix |
Compute initial values via the following algorithm:
Impute missing values in Y
Initialize lambda_p = 1
and compute F_p
; orthogonalize if specified
Estimate Beta_p
via least squares
Estimate an initial standard deviation sigma_0
via conditional MLE
Estimate lambda_p
via conditional MLE and recompute F_p
; orthogonalize if specified
a list containing
Beta_p
the T x K_p
matrix of parametric factors
F_p
the m x K_p
matrix of parametric loading curves
lambda_p
the scalar nonlinear parameter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.