Learn R Programming

lavaSearch2 (version 2.0.3)

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

2,706

Version

2.0.3

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Brice Ozenne

Last Published

February 23rd, 2024

Functions in lavaSearch2 (2.0.3)

createContrast

Create Contrast matrix
combineFormula

Combine formula
confint2

Confidence Intervals With Small Sample Correction
convFormulaCharacter

formula character conversion
coefType

Extract the Type of Each Coefficient
extractData

Extract Data From a Latent Variable Model
contrast2name

Create Rownames for a Contrast Matrix
compare2

Test Linear Hypotheses With Small Sample Correction
createGrid

Create a Mesh for the Integration
effects2

Effects Through Pathways With Small Sample Correction
.dinformation2-internal

Compute the First Derivative of the Expected Information Matrix
evalInParentEnv

Find Object in the Parent Environments
findNewLink

Find all New Links Between Variables
iidJack

Jackknife iid Decomposition from Model Object
iid2plot

Display the i.i.d. Decomposition
estimate2

Satterthwaite Correction and Small Sample Correction
getIndexOmega

Identify the Endogenous Variables
gaussian_weight

Estimate LVM With Weights
getStep

Extract one Step From the Sequential Procedure
getNewLink

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

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

Degree of Freedom for the Chi-Square Test
getVarCov2

Residual Variance-Covariance Matrix With Small Sample Correction.
matrixPower

Power of a Matrix
modelsearch2

Data-driven Extension of a Latent Variable Model
defineCategoricalLink

Identify Categorical Links in LVM
hessian2

Hessian With Small Sample Correction.
setLink

Set a Link to a Value
skeleton

Pre-computation for the Score
initVarLink

Normalize var1 and var2
iid2

Influence Function With Small Sample Correction.
vcov2-internal

Inverse the Information Matrix
intDensTri

Integrate a Gaussian/Student Density over a Triangle
summary2

Latent Variable Model Summary After Small Sample Correction
sCorrect

Depreciated Method For Small Sample Correction
selectRegressor

Regressor of a Formula.
vcov2

Variance-Covariance With Small Sample Correction
selectResponse

Response Variable of a Formula
sampleRepeated

Simulate Repeated Measurements over time
summary.modelsearch2

summary Method for modelsearch2 Objects
transformSummaryTable

Apply Transformation to Summary Table
symmetrize

Symmetrize a Matrix
nobs2

Effective Sample Size.
information2-internal

Compute the Expected Information Matrix From the Conditional Moments
information2

Expected Information With Small Sample Correction.
lavaSearch2

Tools for Model Specification in the Latent Variable Framework
glht2

General Linear Hypothesis Testing With Small Sample Correction
leverage2

Leverage With Small Sample Correction.
var2dummy

Convert Variable Names to Dummy Variables Names.
residuals2

Residuals With Small Sample Correction.
tryWithWarnings

Run an Expression and Catch Warnings and Errors
hessian2-internal

Compute the Hessian Matrix From the Conditional Moments
score2-internal

Compute the Corrected Score.
moments2

Compute Key Quantities of a Latent Variable Model
nStep

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

Display the Type 1 Error Rate
score2

Score With Small Sample Correction
summary.glht2

Outcome of Linear Hypothesis Testing
calcType1postSelection

Compute the Type 1 Error After Selection [EXPERIMENTAL]
autoplot_calibrateType1

Graphical Display of the Bias or Type 1 Error
coef2

Model Coefficients With Small Sample Correction
calibrateType1

Simulation Study Assessing Bias and Type 1 Error
autplot-modelsearch2

Display the Value of a Coefficient across the Steps.
calcDistMax

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

Simplify a lvm object
autoplot.intDensTri

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

Check that Validity of the Dataset
addLink

Add a New Link Between Two Variables in a LVM
combination

Form all Unique Combinations Between two Vectors
coefByType

Extract the Coefficient by Type