Learn R Programming

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

lavaSearch2 (version 1.4)

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

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Brice Ozenne

Last Published

October 5th, 2018

Functions in lavaSearch2 (1.4)

dfSigma

Degree of Freedom for the Chi-Square Test
iid2

Extract corrected i.i.d. decomposition
createGrid

Create a Mesh for the Integration
evalInParentEnv

Find Object in the Parent Environments
estimate2

Compute Bias Corrected Quantities.
iidJack

Jackknife iid Decomposition from Model Object
tryWithWarnings

Run an Expression and Catch Warnings and Errors
validFCTs

Check Arguments of a function.
autoplot.intDensTri

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

Add a New Link Between Two Variables in a LVM
dInformation2-internal

Compute the First Derivative of the Expected Information Matrix
coefType

Extract the Type of Each Coefficient
contrast2name

Create Rownames for a Contrast Matrix
createContrast

Create Contrast matrix
extractData

Extract Data From a Model
compare2

Test Linear Hypotheses with small sample correction
findNewLink

Find all New Links Between Variables
conditionalMoment

Prepare the Computation of score2
getStep

Extract one Step From the Sequential Procedure
getVarCov2-internal

Reconstruct the Marginal Variance Covariance Matrix from a nlme Model
selectRegressor

Regressor of a Formula.
getNewLink

Extract the Links that Have Been Found by the modelsearch2.
getCluster2-internal

Reconstruct the Cluster Variable from a nlme Model
score2-internal

Compute the Corrected Score.
getIndexOmega2-internal

Extract the name of the endogenous variables
getVarCov2

Reconstruct the Conditional Variance Covariance Matrix
selectResponse

Response Variable of a Formula
summary2

Summary with Small Sample Correction
combination

Form all Unique Combinations Between two Vectors
symmetrize

Symmetrize a Matrix
score2

Extract The Individual Score
var2dummy

Convert Variable Names to Dummy Variables Names.
getNewModel

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

Normalize var1 and var2
information2-internal

Compute the Expected Information Matrix From the Conditional Moments
vcov2

Extract the Variance Covariance Matrix of the Model Parameters
dfSigmaRobust

Degree of Freedom for the Robust Chi-Square Test
leverage2

Extract Leverage Values
estfun.lvmfit

Extract Empirical Estimating Functions (lvmfit Object)
residuals2

Extract Corrected Residuals
glht2

General Linear Hypothesis
matrixPower

Power of a Matrix
setLink

Set a Link to a Value
intDensTri

Integrate a Gaussian/Student Density over a Triangle
sCorrect

Satterthwaite Correction and Small Sample Correction
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
nStep

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

Display the Type 1 Error Rate
summary.modelsearch2

summary Method for modelsearch2 Objects
autplot-modelsearch2

Display the Value of a Coefficient across the Steps.
autoplot_calibrateType1

Graphical Display of the Bias or Type 1 Error
coef2-internal

Export Mean and Variance Coefficients
coefByType

Extract the Coefficient by Type
calibrateType1

Simulation Study Assessing Bias and Type 1 Error
checkData

Check that Validity of the Dataset
calcDistMax

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

Compute the Type 1 Error After Selection
defineCategoricalLink

Identify Categorical Links in LVM