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)
- Host: GitHub
- URL: https://github.com/bozenne/lavasearch2
- Owner: bozenne
- License: gpl-3.0
- Created: 2017-06-21T11:52:02.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-07-18T13:34:39.000Z (almost 2 years ago)
- Last Synced: 2025-03-01T21:03:32.467Z (over 1 year ago)
- Topics: inference, latent-variable-models, r, statistics
- Language: R
- Size: 2.52 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- Changelog: NEWS
- License: LICENSE
Awesome Lists containing this project
README
* 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]]