lava1.8.0 package

Latent Variable Models

confint.lvmfit

Calculate confidence limits for parameters

confpred

Conformal prediction

constrain-set

Add non-linear constraints to latent variable model

contr

Create contrast matrix

correlation

Generic method for extracting correlation coefficients of model object

covariance

Add covariance structure to Latent Variable Model

csplit

Split data into folds

curly

Adds curly brackets to plot

devcoords

Returns device-coordinates and plot-region

diagtest

Calculate diagnostic tests for 2x2 table

dsep.lvm

Check d-separation criterion

equivalence

Identify candidates of equivalent models

estimate.array

Estimate parameters and influence function.

estimate.default

Estimation of functional of parameters

estimate.lvm

Estimation of parameters in a Latent Variable Model (lvm)

eventTime

Add an observed event time outcome to a latent variable model.

Expand

Create a Data Frame from All Combinations of Factors

fplot

fplot

getMplus

Read Mplus output

getSAS

Read SAS output

addvar

Add variable to (model) object

backdoor

Backdoor criterion

baptize

Label elements of object

binomial.rd

Define constant risk difference or relative risk association for binar...

blockdiag

Combine matrices to block diagonal structure

bootstrap.lvm

Calculate bootstrap estimates of a lvm object

bootstrap

Generic bootstrap method

By

Apply a Function to a Data Frame Split by Factors

cancel

Generic cancel method

children

Extract children or parent elements of object

click

Identify points on plot

closed.testing

Closed testing procedure

Col

Generate a transparent RGB color

colorbar

Add color-bar to plot

Combine

Report estimates across different models

commutation

Finds the unique commutation matrix

compare

Statistical tests

complik

Composite Likelihood for probit latent variable models

confband

Add Confidence limits bar to plot

gof

Extract model summaries and GOF statistics for model object

Graph

Extract graph

Grep

Finds elements in vector or column-names in data.frame/matrix

IC

Extract i.i.d. decomposition (influence function) from model object

iid

Extract i.i.d. decomposition from model object

images

Organize several image calls (for visualizing categorical data)

intercept

Fix mean parameters in 'lvm'-object

internal

For internal use

intervention.lvm

Define intervention

ksmooth2

Plot/estimate surface

labels-set

Define labels of graph

lava-package

Estimation and simulation of latent variable models

lava.options

Set global options for lava

lvm

Initialize new latent variable model

makemissing

Create random missing data

measurement.error

Two-stage (non-linear) measurement error

Missing

Missing value generator

mixture

Estimate mixture latent variable model.

Model

Extract model

modelsearch

Model searching

multinomial

Estimate probabilities in contingency table

mvnmix

Estimate mixture latent variable model

NA2x

Convert to/from NA

NR

Newton-Raphson method

op_concat

Concatenation operator

op_match

Matching operator (x not in y) oposed to the %in%-operator (x in y)

ordinal-set

Define variables as ordinal

ordreg

Univariate cumulative link regression models

parpos

Generic method for finding indeces of model parameters

partialcor

Calculate partial correlations

path

Extract pathways in model graph

pcor

Polychoric correlation

PD

Dose response calculation for binomial regression models

pdfconvert

Convert pdf to raster format

plot.estimate

Plot method for 'estimate' objects

plot.lvm

Plot path diagram

plot.sim

Plot method for simulation 'sim' objects

plotConf

Plot regression lines

predict.lvm

Prediction in structural equation models

predictlvm

Predict function for latent variable models

Print

Generic print method

Range.lvm

Define range constraints of parameters

rbind.Surv

Appending Surv objects

regression-set

Add regression association to latent variable model

revdiag

Create/extract 'reverse'-diagonal matrix or off-diagonal elements

rmvar

Remove variables from (model) object.

rotate2

Performs a rotation in the plane

scheffe

Calculate simultaneous confidence limits by Scheffe's method

sim.default

Monte Carlo simulation

sim

Simulate model

spaghetti

Spaghetti plot

stack.estimate

Stack estimating equations

subset.lvm

Extract subset of latent variable model

summary.sim

Summary method for 'sim' objects

timedep

Time-dependent parameters

toformula

Converts strings to formula

tr

Trace operator

trim

Trim string of (leading/trailing/all) white spaces

twostage.lvmfit

Two-stage estimator (non-linear SEM)

twostage

Two-stage estimator

twostageCV

Cross-validated two-stage estimator

vars

Extract variable names from latent variable model

vec

vec operator

wait

Wait for user input (keyboard or mouse)

wkm

Weighted K-means

wrapvec

Wrap vector

zibreg

Regression model for binomial data with unkown group of immortals

A general implementation of Structural Equation Models with latent variables (MLE, 2SLS, and composite likelihood estimators) with both continuous, censored, and ordinal outcomes (Holst and Budtz-Joergensen (2013) <doi:10.1007/s00180-012-0344-y>). Mixture latent variable models and non-linear latent variable models (Holst and Budtz-Joergensen (2020) <doi:10.1093/biostatistics/kxy082>). The package also provides methods for graph exploration (d-separation, back-door criterion), simulation of general non-linear latent variable models, and estimation of influence functions for a broad range of statistical models.

  • Maintainer: Klaus K. Holst
  • License: GPL-3
  • Last published: 2024-03-05