start_em {mult.latent.reg} | R Documentation |
Starting values for parameters
Description
The starting values for parameters used for the EM algorithm in the functions: mult.em_1level, mult.em_2level, mult.reg_1level and mult.reg_2level.
Arguments
data |
A data set object; we denote the dimension of a data set to be |
v |
Covariate(s); we denote the dimension of it to be |
K |
Number of mixture components, the default is |
steps |
Number of iterations. This will only be used when using |
option |
Four options for selecting the starting values for the parameters. The default is |
var_fun |
The four variance specifications. When |
p |
optional; specifies starting values for |
z |
optional; specifies starting values for |
beta |
optional; specifies starting values for |
alpha |
optional; specifies starting values for |
sigma |
optional; specifies starting values for |
gamma |
optional; the coefficients for the covariates; specifies starting values for |
Value
The starting values (in a list) for parameters in the models x_{i} = \alpha + \beta z_k + \Gamma v_i + \varepsilon_i
(Zhang and Einbeck, 2024) and
x_{ij} = \alpha + \beta z_k + \Gamma v_{ij} + \varepsilon_{ij}
(Zhang et al., 2023) used in the four fucntions: mult.em_1level, mult.em_2level, mult.reg_1level and mult.reg_2level.
p |
The starting value for the parameter |
alpha |
The starting value for the parameter |
z |
The starting value for the parameter |
beta |
The starting value for the parameter |
gamma |
The starting value for the parameter |
sigma |
The starting value for the parameter |
References
Zhang, Y., Einbeck, J. and Drikvandi, R. (2023). A multilevel multivariate response model for data with latent structures. In: Proceedings of the 37th International Workshop on Statistical Modelling, pages 343-348. Link on RG: https://www.researchgate.net/publication/375641972_A_multilevel_multivariate_response_model_for_data_with_latent_structures.
Zhang, Y. and Einbeck, J. (2024). A Versatile Model for Clustered and Highly Correlated Multivariate Data. J Stat Theory Pract 18(5).doi:10.1007/s42519-023-00357-0
Examples
##example for the faithful data.
data(faithful)
start <- start_em(faithful, option = 1)