Learn R Programming

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

lavaSearch2 (version 1.0.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.0.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Brice Ozenne

Last Published

January 24th, 2018

Functions in lavaSearch2 (1.0.0)

calcType1postSelection

Compute the Type 1 Error After Selection
checkData

Check that Validity of the Dataset
coef-multcomp

Model Coefficients
coef2

Export Mean and Variance Coefficients from a nlme Model
autoplot.IntDensTri

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

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

Integrate a Gaussian/Student Density over a Triangle
addLink

Add a New Link Between Two Variables in a LVM
findNewLink

Find all New Links Between Variables
getGroup2

Reconstruct the Cluster Variable from a nlme Model
evalInParentEnv

Find Object in the Parent Environments
extractData

Extract Data From a Model
lavaSearch

Tools for Model Specification in the Latent Variable Framework
matrixPower

Power of a Matrix
modelsearchMax

Testing the Relevance of Additional Links Using the Max Statistic
nStep

Find the Number of Steps Performed During the Sequential Testing
score2

Compute the Score Directly from the Gaussian Density
selectRegressor

Regressor of a Formula.
skeleton

Pre-computation for the Score
summary

Summary with Small Sample Correction
dVcov2

Compute the Derivative of the Information Matrix
defineCategoricalLink

Identify Categorical Links in LVM
initVarLink

Normalize var1 and var2
lTest

Compute the Degree of Freedom of the Variance Parameters
prepareScore2

Prepare the Computation of score2
getVarCov2

Reconstruct the Marginal Variance Covariance Matrix from a nlme Model
glht

General Linear Hypothesis
modelsearch2

Data-driven Extension of a Latent Variable Model
residuals2

Compute the Residuals from a lvmfit Object
selectResponse

Response Variable of a Formula
setLink

Set a Link to a Value
modelsearchLR

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

Check Arguments of a function.
var2dummy

Convert Variable Names to Dummy Variables Names.
createContrast

Contrast matrix for multiple latent variable models
createGrid

Create a Mesh for the Integration
getNewLink

Find the Links that Should be Added Accroding to the Sequential Testing
getStep

Extract one Step From the Sequential Procedure
symmetrize

Symmetrize a Matrix
tryWithWarnings

Run an Expression and Catch Warnings and Errors
coefType

Extract the Specific Coefficient Bames or Positions in a LVM
combination

Form all Unique Combinations Between two Vectors
compareSearch

Compare Methods to Identify Missing Local Dependencies in a LVM
contrast2name

Create Rownames for a Contrast Matrix
iid2

Extract i.i.d. decomposition from linear and latent variable models
iidJack

Jacknife iid Decomposition from Model Object
merge

Merge two modelsearch Objects
mlf2

Simultaneous Inference for Multiple Models
vcov-multcomp

Variance-Covariance Matrix for a Fitted Object