Learn R Programming

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

lavaSearch2 (version 1.2.0)

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.2.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Brice Ozenne

Last Published

March 16th, 2018

Functions in lavaSearch2 (1.2.0)

autoplot.intDensTri

2D-display of the Domain Used to Compute the Integral
estfun.lvmfit

Extract Empirical Estimating Functions (lvmfit Object)
getNewLink

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

Find Object in the Parent Environments
getStep

Extract one Step From the Sequential Procedure
matrixPower

Power of a Matrix
merge

Merge two modelsearch Objects
selectRegressor

Regressor of a Formula.
selectResponse

Response Variable of a Formula
addLink

Add a New Link Between Two Variables in a LVM
compare2

Test Linear Hypotheses with small sample correction
adjustEstimate

Compute Bias Corrected Quantities.
compareSearch

Compare Methods to Identify Missing Local Dependencies in a LVM
getVarCov2-internal

Reconstruct the Marginal Variance Covariance Matrix from a nlme Model
getVarCov2

Reconstruct the Marginal Variance Covariance Matrix from a nlme Model
coefType

Extract the Type of Each Coefficient
iidJack

Jackknife iid Decomposition from Model Object
combination

Form all Unique Combinations Between two Vectors
information2-internal

Compute the Expected Information Matrix From the Conditional Moments
conditionalMoment

Prepare the Computation of score2
setLink

Set a Link to a Value
contrast2name

Create Rownames for a Contrast Matrix
getCluster2-internal

Reconstruct the Cluster Variable from a nlme Model
skeleton

Pre-computation for the Score
symmetrize

Symmetrize a Matrix
tryWithWarnings

Run an Expression and Catch Warnings and Errors
checkData

Check that Validity of the Dataset
calcType1postSelection

Compute the Type 1 Error After Selection
getIndexOmega2-internal

Extract the name of the endogenous variables
createContrast

Create Contrast matrix
createGrid

Create a Mesh for the Integration
leverage2

Extract Leverage Values
lavaSearch

Tools for Model Specification in the Latent Variable Framework
score2-internal

Compute the Corrected Score.
extractData

Extract Data From a Model
score2

Extract The Individual Score
validFCTs

Check Arguments of a function.
var2dummy

Convert Variable Names to Dummy Variables Names.
findNewLink

Find all New Links Between Variables
coef2-internal

Export Mean and Variance Coefficients
coefByType

Extract the Coefficient by Type
dInformation2-internal

Compute the First Derivative of the Expected Information Matrix
glht2

General Linear Hypothesis
defineCategoricalLink

Identify Categorical Links in LVM
iid2

Extract corrected i.i.d. decomposition
initVarLink

Normalize var1 and var2
modelsearch2

Data-driven Extension of a Latent Variable Model
intDensTri

Integrate a Gaussian/Student Density over a Triangle
residuals2

Extract Corrected Residuals
modelsearchLR

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

Compute the Derivative of the Information Matrix
modelsearchMax

Testing the Relevance of Additional Links Using the Max Statistic
summary.modelsearch2

summary Method for modelsearch2 Objects
summary2

Summary with Small Sample Correction
nStep

Find the Number of Steps Performed During the Sequential Testing
vcov2

Extract the Variance Covariance Matrix of the Model Parameters
calcDistMax

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