Learn R Programming

⚠️There's a newer version (2.0.3) of this package.Take me there.

lavaSearch2 (version 2.0.1)

Tools for Model Specification in the Latent Variable Framework

Description

Tools for model specification in the latent variable framework (add-on to the 'lava' package). The package contains three main functionalities: Wald tests/F-tests with improved control of the type 1 error in small samples, adjustment for multiple comparisons when searching for local dependencies, and adjustment for multiple comparisons when doing inference for multiple latent variable models.

Copy Link

Version

Install

install.packages('lavaSearch2')

Monthly Downloads

3,745

Version

2.0.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Brice Ozenne

Last Published

April 11th, 2023

Functions in lavaSearch2 (2.0.1)

addLink

Add a New Link Between Two Variables in a LVM
calcDistMax

Adjust the p.values Using the Quantiles of the Max Statistic
calibrateType1

Simulation Study Assessing Bias and Type 1 Error
autoplot.intDensTri

2D-display of the Domain Used to Compute the Integral
calcType1postSelection

Compute the Type 1 Error After Selection [EXPERIMENTAL]
clean

Simplify a lvm object
coef2

Model Coefficients With Small Sample Correction
checkData

Check that Validity of the Dataset
autplot-modelsearch2

Display the Value of a Coefficient across the Steps.
autoplot_calibrateType1

Graphical Display of the Bias or Type 1 Error
contrast2name

Create Rownames for a Contrast Matrix
convFormulaCharacter

formula character conversion
createContrast

Create Contrast matrix
combineFormula

Combine formula
coefByType

Extract the Coefficient by Type
coefType

Extract the Type of Each Coefficient
confint2

Confidence Intervals With Small Sample Correction
combination

Form all Unique Combinations Between two Vectors
createGrid

Create a Mesh for the Integration
compare2

Test Linear Hypotheses With Small Sample Correction
gaussian_weight

Estimate LVM With Weights
defineCategoricalLink

Identify Categorical Links in LVM
effects2

Effects Through Pathways With Small Sample Correction
evalInParentEnv

Find Object in the Parent Environments
.dinformation2-internal

Compute the First Derivative of the Expected Information Matrix
dfSigma

Degree of Freedom for the Chi-Square Test
estimate2

Satterthwaite Correction and Small Sample Correction
glht2

General Linear Hypothesis Testing With Small Sample Correction
iidJack

Jackknife iid Decomposition from Model Object
findNewLink

Find all New Links Between Variables
extractData

Extract Data From a Latent Variable Model
iid2plot

Display the i.i.d. Decomposition
iid2

Influence Function With Small Sample Correction.
hessian2

Hessian With Small Sample Correction.
getIndexOmega

Identify the Endogenous Variables
information2-internal

Compute the Expected Information Matrix From the Conditional Moments
intDensTri

Integrate a Gaussian/Student Density over a Triangle
getNewModel

Extract the Model that Has Been Retains by the modelsearch2.
getNewLink

Extract the Links that Have Been Found by the modelsearch2.
initVarLink

Normalize var1 and var2
information2

Expected Information With Small Sample Correction.
moments2

Compute Key Quantities of a Latent Variable Model
hessian2-internal

Compute the Hessian Matrix From the Conditional Moments
score2-internal

Compute the Corrected Score.
score2

Score With Small Sample Correction
lavaSearch2

Tools for Model Specification in the Latent Variable Framework
sCorrect

Depreciated Method For Small Sample Correction
leverage2

Leverage With Small Sample Correction.
sampleRepeated

Simulate Repeated Measurements over time
getVarCov2

Residual Variance-Covariance Matrix With Small Sample Correction.
summary2

Latent Variable Model Summary After Small Sample Correction
getStep

Extract one Step From the Sequential Procedure
summary.modelsearch2

summary Method for modelsearch2 Objects
selectResponse

Response Variable of a Formula
selectRegressor

Regressor of a Formula.
setLink

Set a Link to a Value
symmetrize

Symmetrize a Matrix
skeleton

Pre-computation for the Score
tryWithWarnings

Run an Expression and Catch Warnings and Errors
vcov2

Variance-Covariance With Small Sample Correction
vcov2-internal

Inverse the Information Matrix
var2dummy

Convert Variable Names to Dummy Variables Names.
nStep

Find the Number of Steps Performed During the Sequential Testing
summary.glht2

Outcome of Linear Hypothesis Testing
summary.calibrateType1

Display the Type 1 Error Rate
modelsearch2

Data-driven Extension of a Latent Variable Model
matrixPower

Power of a Matrix
residuals2

Residuals With Small Sample Correction.
nobs2

Effective Sample Size.
transformSummaryTable

Apply Transformation to Summary Table