Learn R Programming

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

lavaSearch2 (version 2.0.2)

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

1,743

Version

2.0.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Brice Ozenne

Last Published

January 23rd, 2024

Functions in lavaSearch2 (2.0.2)

addLink

Add a New Link Between Two Variables in a LVM
calcDistMax

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

Form all Unique Combinations Between two Vectors
convFormulaCharacter

formula character conversion
contrast2name

Create Rownames for a Contrast Matrix
.dinformation2-internal

Compute the First Derivative of the Expected Information Matrix
combineFormula

Combine formula
autoplot.intDensTri

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

Extract Data From a Latent Variable Model
getStep

Extract one Step From the Sequential Procedure
createContrast

Create Contrast matrix
calcType1postSelection

Compute the Type 1 Error After Selection [EXPERIMENTAL]
getVarCov2

Residual Variance-Covariance Matrix With Small Sample Correction.
autoplot_calibrateType1

Graphical Display of the Bias or Type 1 Error
effects2

Effects Through Pathways With Small Sample Correction
initVarLink

Normalize var1 and var2
intDensTri

Integrate a Gaussian/Student Density over a Triangle
findNewLink

Find all New Links Between Variables
compare2

Test Linear Hypotheses With Small Sample Correction
glht2

General Linear Hypothesis Testing With Small Sample Correction
confint2

Confidence Intervals With Small Sample Correction
defineCategoricalLink

Identify Categorical Links in LVM
coefByType

Extract the Coefficient by Type
createGrid

Create a Mesh for the Integration
selectRegressor

Regressor of a Formula.
gaussian_weight

Estimate LVM With Weights
dfSigma

Degree of Freedom for the Chi-Square Test
hessian2-internal

Compute the Hessian Matrix From the Conditional Moments
setLink

Set a Link to a Value
getIndexOmega

Identify the Endogenous Variables
iid2plot

Display the i.i.d. Decomposition
iidJack

Jackknife iid Decomposition from Model Object
matrixPower

Power of a Matrix
getNewLink

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

Extract the Type of Each Coefficient
estimate2

Satterthwaite Correction and Small Sample Correction
getNewModel

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

Tools for Model Specification in the Latent Variable Framework
skeleton

Pre-computation for the Score
modelsearch2

Data-driven Extension of a Latent Variable Model
sCorrect

Depreciated Method For Small Sample Correction
symmetrize

Symmetrize a Matrix
transformSummaryTable

Apply Transformation to Summary Table
sampleRepeated

Simulate Repeated Measurements over time
summary.calibrateType1

Display the Type 1 Error Rate
selectResponse

Response Variable of a Formula
information2-internal

Compute the Expected Information Matrix From the Conditional Moments
evalInParentEnv

Find Object in the Parent Environments
hessian2

Hessian With Small Sample Correction.
vcov2-internal

Inverse the Information Matrix
vcov2

Variance-Covariance With Small Sample Correction
leverage2

Leverage With Small Sample Correction.
summary.glht2

Outcome of Linear Hypothesis Testing
tryWithWarnings

Run an Expression and Catch Warnings and Errors
information2

Expected Information With Small Sample Correction.
iid2

Influence Function With Small Sample Correction.
score2-internal

Compute the Corrected Score.
score2

Score With Small Sample Correction
var2dummy

Convert Variable Names to Dummy Variables Names.
moments2

Compute Key Quantities of a Latent Variable Model
nStep

Find the Number of Steps Performed During the Sequential Testing
nobs2

Effective Sample Size.
residuals2

Residuals With Small Sample Correction.
summary.modelsearch2

summary Method for modelsearch2 Objects
summary2

Latent Variable Model Summary After Small Sample Correction
autplot-modelsearch2

Display the Value of a Coefficient across the Steps.
clean

Simplify a lvm object
coef2

Model Coefficients With Small Sample Correction
calibrateType1

Simulation Study Assessing Bias and Type 1 Error
checkData

Check that Validity of the Dataset