An open API service indexing awesome lists of open source software.

https://github.com/bozenne/lavasearch2

Tools for model specification in the latent variable framework (add-on for the lava package)
https://github.com/bozenne/lavasearch2

inference latent-variable-models r statistics

Last synced: 6 months ago
JSON representation

Tools for model specification in the latent variable framework (add-on for the lava package)

Awesome Lists containing this project

README

          

#+BEGIN_HTML
CRAN version
Download count
Build status
Build status
License
#+END_HTML

* lavaSeach2

*lavaSearch2* is a package for the R software
(https://www.r-project.org/) containing diagnostic and inference tools
for Latent Variable Models (LVM) estimated by maximum likelihood
(ML). It is built upon the *lava* package (see
[[https://github.com/kkholst/lava]]): the *lava* package is used to define
and estimate LVM. While *lava* can also be used to perform diagnostics
and inference, *lavaSearch2* improves some of the existing tools
in *lava*:
- Better control of the type 1 error rate when performing inference
with small samples. The new methods =summary2= and =compare2=
replace the =summary= and =compare= functions that performs,
respectively, univariate and multivariate Wald tests. The new
methods are also applicable to specific =gls= and =lme= models
(*nlme* package).
- Better control of the type 1 error rate when adjusting for multiple
comparisons with small samples (via the *multcomp*
package). Compared to =glht=, the function =glht2= propagates small
sample corrections to *multcomp*.
- Better detection of local dependencies that are not included in the
LVM. The new method =modelsearch2= improves the =modelsearch= method
by providing p-values adjusted for multiple comparisons.

_Limitations_: *lavaSearch2* has been design for Gaussian linear
latent variable models. This means that it may not work / give valid
results:
- in presence of censored or binary outcomes.
- with stratified models (i.e. object of class =multigroup=).

* Installation of lavaSearch2
You can download and install the latest released version of the
software (CRAN version) using:
#+BEGIN_SRC R :exports both :eval never
install.packages("lavaSearch2")
#+END_SRC

For getting the most recent developments (if any!), you can download
and install the latest stable version of the software (Github version)
using:
#+BEGIN_SRC R :exports both :eval never
devtools::install_github("bozenne/lavaSearch2")
#+END_SRC

* Functionalities

See the vignette "Overview of the functionalities of the package
lavaSearch2" in [[./vignettes/overview.pdf]]