Given survey responses, this function estimates the parameters of the latent variables assuming that the latent variables are normally distributed.
estimate_parameters(data, K, gamma1 = 0)
survey responses, where the columns correspond to individual items. Apart from this, `data` can be of almost any class such as "data.frame" "matrix" or "array".
number of response categories, a vector or a number
marginal skewness of latent variables, 0 by default
a table of estimated parameters for each latent variable
See [responsesR::estimate_mu_sd()] for univariate case.
estimate_parameters(data = c(2, 3, 1, 4, 4, 3, 1, 4, 5, 4), K = 5)
#> mu sd
#> 0.2600814 1.0718754