Learn R Programming

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

lavaSearch2 (version 1.5.6)

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

1.5.6

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Brice Ozenne

Last Published

July 31st, 2020

Functions in lavaSearch2 (1.5.6)

addLink

Add a New Link Between Two Variables in a LVM
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
calcType1postSelection

Compute the Type 1 Error After Selection [EXPERIMENTAL]
coef2-internal

Export Mean and Variance Coefficients
autoplot.intDensTri

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

Simulation Study Assessing Bias and Type 1 Error
autoplot_calibrateType1

Graphical Display of the Bias or Type 1 Error
checkData

Check that Validity of the Dataset
createContrast

Create Contrast matrix
findNewLink

Find all New Links Between Variables
leverage2

Extract Leverage Values
iid2

Extract corrected i.i.d. decomposition
iidJack

Jackknife iid Decomposition from Model Object
extractData

Extract Data From a Model
lavaSearch2

Tools for Model Specification in the Latent Variable Framework
createGrid

Create a Mesh for the Integration
defineCategoricalLink

Identify Categorical Links in LVM
dInformation2-internal

Compute the First Derivative of the Expected Information Matrix
coefByType

Extract the Coefficient by Type
getStep

Extract one Step From the Sequential Procedure
convFormulaCharacter

formula character conversion
dfSigma

Degree of Freedom for the Chi-Square Test
contrast2name

Create Rownames for a Contrast Matrix
validFCTs

Check Arguments of a function.
getVarCov2-internal

Reconstruct the Marginal Variance Covariance Matrix from a nlme Model
var2dummy

Convert Variable Names to Dummy Variables Names.
compare2

Test Linear Hypotheses with small sample correction
score2

Extract the Individual Score
combination

Form all Unique Combinations Between two Vectors
selectRegressor

Regressor of a Formula.
combineFormula

Combine formula
getNewLink

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

Extract the Type of Each Coefficient
effects2

Effects from a fitted model
getNewModel

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

Data-driven Extension of a Latent Variable Model
estfun

Extract Empirical Estimating Functions (lvmfit Object)
matrixPower

Power of a Matrix
conditionalMoment

Prepare the Computation of score2
tryWithWarnings

Run an Expression and Catch Warnings and Errors
dfSigmaRobust

Degree of Freedom for the Robust Chi-Square Test
symmetrize

Symmetrize a Matrix
getCluster2-internal

Reconstruct the Cluster Variable from a nlme Model
estimate2

Compute Bias Corrected Quantities.
getVarCov2

Reconstruct the Conditional Variance Covariance Matrix
glht2

General Linear Hypothesis
information2-internal

Compute the Expected Information Matrix From the Conditional Moments
information2

Extract The full Information Matrix
initVarLink

Normalize var1 and var2
nStep

Find the Number of Steps Performed During the Sequential Testing
residuals2

Extract Corrected Residuals
getIndexOmega2-internal

Extract the name of the endogenous variables
evalInParentEnv

Find Object in the Parent Environments
intDensTri

Integrate a Gaussian/Student Density over a Triangle
selectResponse

Response Variable of a Formula
summary.calibrateType1

Display the Type 1 Error Rate
vcov2

Extract the Variance Covariance Matrix of the Model Parameters
skeleton

Pre-computation for the Score
summary.modelsearch2

summary Method for modelsearch2 Objects
score2-internal

Compute the Corrected Score.
sCorrect

Satterthwaite Correction and Small Sample Correction
summary2

Summary with Small Sample Correction
setLink

Set a Link to a Value