Learn R Programming

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

lavaSearch2 (version 1.3.5)

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,807

Version

1.3.5

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Brice Ozenne

Last Published

July 17th, 2018

Functions in lavaSearch2 (1.3.5)

autoplot_calibrateType1

Graphical Display of the Bias or Type 1 Error
getNewLink

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

Create a Mesh for the Integration
dInformation2-internal

Compute the First Derivative of the Expected Information Matrix
getIndexOmega2-internal

Extract the name of the endogenous variables
coef2-internal

Export Mean and Variance Coefficients
getCluster2-internal

Reconstruct the Cluster Variable from a nlme Model
getStep

Extract one Step From the Sequential Procedure
checkData

Check that Validity of the Dataset
iid2

Extract corrected i.i.d. decomposition
extractData

Extract Data From a Model
glht2

General Linear Hypothesis
getVarCov2-internal

Reconstruct the Marginal Variance Covariance Matrix from a nlme Model
iidJack

Jackknife iid Decomposition from Model Object
tryWithWarnings

Run an Expression and Catch Warnings and Errors
getVarCov2

Reconstruct the Conditional Variance Covariance Matrix
information2-internal

Compute the Expected Information Matrix From the Conditional Moments
matrixPower

Power of a Matrix
validFCTs

Check Arguments of a function.
findNewLink

Find all New Links Between Variables
residuals2

Extract Corrected Residuals
merge

Merge two modelsearch Objects
score2-internal

Compute the Corrected Score.
score2

Extract The Individual Score
selectRegressor

Regressor of a Formula.
selectResponse

Response Variable of a Formula
dfSigmaRobust

Degree of Freedom for the Robust Chi-Square Test
coefByType

Extract the Coefficient by Type
sCorrect

Satterthwaite Correction and Small Sample Correction
estfun.lvmfit

Extract Empirical Estimating Functions (lvmfit Object)
coefType

Extract the Type of Each Coefficient
var2dummy

Convert Variable Names to Dummy Variables Names.
calibrateType1

Simulation Study Assessing Bias and Type 1 Error
vcov2

Extract the Variance Covariance Matrix of the Model Parameters
compareSearch

Compare Methods to Identify Missing Local Dependencies in a LVM
compare2

Test Linear Hypotheses with small sample correction
initVarLink

Normalize var1 and var2
calcType1postSelection

Compute the Type 1 Error After Selection
conditionalMoment

Prepare the Computation of score2
intDensTri

Integrate a Gaussian/Student Density over a Triangle
modelsearchLR

Testing the Relevance of Additional Links Using a Likelihood Ratio Test
combination

Form all Unique Combinations Between two Vectors
setLink

Set a Link to a Value
summary.calibrateType1

Display the Type 1 Error Rate
summary.modelsearch2

summary Method for modelsearch2 Objects
addLink

Add a New Link Between Two Variables in a LVM
skeleton

Pre-computation for the Score
estimate2

Compute Bias Corrected Quantities.
evalInParentEnv

Find Object in the Parent Environments
nStep

Find the Number of Steps Performed During the Sequential Testing
modelsearch2

Data-driven Extension of a Latent Variable Model
summary2

Summary with Small Sample Correction
leverage2

Extract Leverage Values
modelsearchMax

Testing the Relevance of Additional Links Using the Max Statistic
autoplot.intDensTri

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

Create Contrast matrix
contrast2name

Create Rownames for a Contrast Matrix
lavaSearch2

Tools for Model Specification in the Latent Variable Framework
symmetrize

Symmetrize a Matrix
defineCategoricalLink

Identify Categorical Links in LVM
dfSigma

Degree of Freedom for the Chi-Square Test
calcDistMax

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