-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Siliang Zhang edited this page May 2, 2022
·
6 revisions
lvmcomp2
is an R package for fast estimation of latent variable models with high-dimensional latent variables and with constrained/penalized parameters.
For more information, please refer to: Zhang, S., & Chen, Y. (2022). Computation for Latent Variable Model Estimation: A Unified Stochastic Proximal Framework.
- Fast. By using state-of-the-art proximal quasi-Newton SA algorithms,
lvmcomp2
is much quicker than commonly implemented numerical integration methods or the Stochastic EM algorithm. - General. Include a general class of algorithms capable of handling many latent variable models.
- Written concisely in a combination of R and C++.
## install required packages
required_packages <- c("remotes", "Rcpp", "RcppArmadillo")
new_packages <- required_packages[!(required_packages %in% installed.packages()[,"Package"])]
if(length(new_packages)) install.packages(new_packages)
remotes::install_github("slzhang-fd/lvmcomp2")
Check an example in (More will be added soon)