Learn R Programming

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

OpenMx (version 2.2.4)

Extended Structural Equation Modelling

Description

Facilitates treatment of statistical model specifications as things that can be generated and manipulated programmatically. Structural equation models may be specified with reticular action model matrices or paths, linear structural relations matrices or paths, or directly in matrix algebra. Fit functions include full information maximum likelihood, maximum likelihood, and weighted least squares. Example models include confirmatory factor, multiple group, mixture distribution, categorical threshold, modern test theory, differential equations, state space, and many others.

Copy Link

Version

Install

install.packages('OpenMx')

Monthly Downloads

13,221

Version

2.2.4

License

Apache License (== 2.0) | file LICENSE

Maintainer

Joshua Pritikin

Last Published

May 28th, 2015

Functions in OpenMx (2.2.4)

MxAlgebra-class

MxAlgebra Class
MxBaseExpectation-class

MxBaseExpectation
HS.ability.data

Holzinger and Swineford (1939) Ability data in 301 children from two schools
MxBaseObjectiveMetaData-class

MxBaseObjectiveMetaData
MxDataFrameOrMatrix-class

MxDataFrameOrMatrix
MxData-class

MxData Class
MxBounds-class

MxBounds Class
MxExpectation-class

MxExpectation
Bollen

Bollen Data on Industrialization and Political Democracy
demoOneFactor

Demonstration data for a one factor model
MxFlatModel-class

MxFlatModel
imxDataTypes

Valid types of data that can be contained by MxData
cvectorize

Vectorize By Column
imxCreateMatrix

Create a matrix
MxDirectedGraph-class

MxDirectedGraph
imxGenSwift

imxGenSwift
imxExtractMethod

imxExtractMethod
imxMpiWrap

imxMpiWrap
imxHasOpenMP

imxHasOpenMP
MxOptionalChar-class

An optional character
imxSparseInvert

Sparse symmetric matrix invert
imxTypeName

imxTypeName
imxReservedNames

imxReservedNames
imxVerifyMatrix

imxVerifyMatrix
imxWlsChiSquare

Calculate Chi Square for a WLS Model
factorScaleExample1

Example Factor Analysis Data for Scaling the Model
imxSfClient

imxSfClient
imxPPML

imxPPML
imxConvertSubstitution

imxConvertSubstitution
imxSymmetricMatrix

imxSymmetricMatrix
imxVerifyModel

imxVerifyModel
imxCheckMatrices

imxCheckMatrices
imxWlsStandardErrors

Calculate Standard Errors for a WLS Model
MxExpectationGREML-class

Class "MxExpectationGREML"
BaseCompute-class

BaseCompute
latentMultipleRegExample2

Example data for multiple regression among latent variables
mxComputeEM

Fit a model using DLR's (1977) Expectation-Maximization (EM) algorithm
imxFlattenModel

Remove heirarchical structure from model
MxLISRELModel-class

MxLISRELModel
eigenvec

Eigenvector/Eigenvalue Decomposition
MxOptionalNumeric-class

An optional numeric
mxConstraint

Create MxConstraint Object
latentMultipleRegExample1

Example data for multiple regression among latent variables
mxExpectationBA81

Create a Bock & Aitkin (1981) expectation
MxFitFunction-class

MxFitFunction
MxFitFunctionGREML-class

Class "MxFitFunctionGREML"
MxCompute-class

MxCompute
dzfData

DZ female data
mxCheckIdentification

Check that a model is locally identified
mxComputeDefault

Default compute plan
mxExpectationGREML

Create MxExpectationGREML Object
mxData

Create MxData Object
imxLocateLabel

imxLocateLabel
jointdata

Joint Ordinal and continuous variables to be modeled together
mxMatrix

Create MxMatrix Object
mxComputeNumericDeriv

Numerically estimate Hessian using Richardson extrapolation
imxUntitledNumber

imxUntitledNumber
imxAddDependency

Add a dependency
myLongitudinalData

Data for a linear latent growth curve model
myRegDataRaw

Example regression data with correlated predictors
imxDefaultGetSlotDisplayNames

imxDefaultGetSlotDisplayNames
imxDmvnorm

A C implementation of dmvnorm
imxConDecMatrixSlots

Condense/decondense slots of an MxMatrix
MxCI-class

MxCI Class
imxExtractReferences

imxExtractReferences
example1

Bivariate twin data example from Classic Mx Manual
MxBaseFitFunction-class

MxBaseFitFunction
myTwinData

Twin data on weight and height
imxVerifyReference

imxVerifyReference
MxAlgebraFormula-class

MxAlgebraFormula
example2

Bivariate twin data example from Classic Mx Manual
factorExample1

Example Factor Analysis Data
omxBrownie

Make Brownies in OpenMx
mxLISRELObjective

Create MxLISRELObjective Object
mxRAMObjective

DEPRECATED: Create MxRAMObjective Object
imxLocateFunction

imxLocateFunction
imxGenerateLabels

imxGenerateLabels
omxCheckNamespace

omxCheckNamespace
MxCharOrList-class

A character, list or NULL
omxGraphviz

Show RAM Model in Graphviz Format
mxGenerateData

Generate data based on an MxModel object
MxCharOrNumber-class

A character or integer
mxFitFunctionRow

Create an MxFitFunctionRow Object
mxRename

Rename MxModel or a Submodel
dzoData

DZ opposite sex data
mxSave

Save End State to Checkpoint File
imxFreezeModel

Freeze model
imxInitModel

imxInitModel
imxExtractSlot

imxExtractSlot
MxBaseNamed-class

MxBaseNamed
imxReplaceMethod

imxReplaceMethod
imxReverseIdentifier

imxReverseIdentifier
expm

Matrix exponential
imxFilterDefinitionVariables

imxFilterDefinitionVariables
MxInterval-class

MxInterval
imxIsPath

imxIsPath
imxUntitledName

imxUntitledName
mxSimplify2Array

Like simplify2array but works with vectors of different lengths
MxModel-class

MxModel Class
omxNameAnonymousParameters

omxNameAnonymousParameters
MxConstraint-class

MxConstraint Class
MxMatrix-class

MxMatrix Class
mxAlgebra

Create MxAlgebra Object
omxNormalQuantiles

omxNormalQuantiles
mxComputeNewtonRaphson

Optimize parameters using the Newton-Raphson algorithm
MxRAMGraph-class

MxRAMGraph
vechs2full

Inverse Strict Half-vectorization
imxLocateIndex

imxLocateIndex
mxTypes

List Currently Available Model Types
mxFitFunctionMultigroup

Aggregate fit statistics from multiple submodels
MxOptionalCharOrNumber-class

A character, integer, or NULL
omxSetParameters

Assign Model Parameters
omxApply

On-Demand Parallel Apply
vech2full

Inverse Half-vectorization
omxCheckCloseEnough

Approximate Equality Testing Function
omxCheckWithinPercentError

Approximate Percent Equality Testing Function
MxRAMModel-class

MxRAMModel
imxModelBuilder

imxModelBuilder
mxExpectationNormal

Create MxExpectationNormal Object
Named-entity

Named Entities
imxLookupSymbolTable

imxLookupSymbolTable
omxMatrixOperations

MxMatrix operations
imxSeparatorChar

imxSeparatorChar
mxTryHard

Make multiple attempts to run a model
myAutoregressiveData

Example data with autoregressively related columns
imxPPML.Test.Battery

imxPPML.Test.Battery
dzmData

DZ Male data
numHess1

numeric Hessian data 1
mxExpectationStateSpaceContinuousTime

Create an MxExpectationStateSpace Object
myRegData

Example regression data with correlated predictors
mxMakeNames

mxMakeNames
omxQuotes

omxQuotes
factorScaleExample2

Example Factor Analysis Data for Scaling the Model
OpenMx

OpenMx: An package for Structural Equation Modeling and Matrix Algebra Optimization
myFADataRaw

Example 500-row dataset with 12 generated variables
MxListOrNull-class

An optional list
MxOptionalMatrix-class

An optional matrix
genericFitDependencies,MxBaseFitFunction-method

Add dependencies
imxConstraintRelations

imxConstraintRelations
imxSquareMatrix

imxSquareMatrix
imxDeparse

Deparse for MxObjects
omxSymbolTable

Internal OpenMx algebra operations
rvectorize

Vectorize By Row
mxFitFunctionML

Create MxFitFunctionML Object
demoTwoFactor

Demonstration data for a two factor model
imxExtractNames

imxExtractNames
imxCheckVariables

imxCheckVariables
imxConvertIdentifier

imxConvertIdentifier
imxUpdateModelValues

imxUpdateModelValues
vec2diag

Create Diagonal Matrix From Vector
mxComputeOnce

Compute something once
omxCheckEquals

Equality Testing Function
imxDependentModels

Are submodels dependence?
mxFitFunctionAlgebra

Create MxFitFunctionAlgebra Object
myGrowthMixtureData

Data for a growth mixture model
mxExpectationLISREL

Create MxExpectationLISREL Object
vechs

Strict Half-vectorization
imxConvertLabel

imxConvertLabel
imxDetermineDefaultOptimizer

imxDetermineDefaultOptimizer
diag2vec

Extract Diagonal of a Matrix
mxKalmanScores

Estimate Kalman scores and error covariance matrices
imxGenerateNamespace

imxGenerateNamespace
vech

Half-vectorization
imxIndependentModels

Are submodels independent?
imxPPML.Test.Test

imxPPML.Test.Test
imxVariableTypes

imxVariableTypes
imxModelTypes

imxModelTypes
imxHasNPSOL

imxHasNPSOL
imxDiff

Set difference on regular types or S4 objects
mxMLObjective

DEPRECATED: Create MxMLObjective Object
omxLocateParameters

Summarize Model Parameters
mxOption

Set or Clear an Optimizer Option
omxGetRAMDepth

omxGetRAMDepth
imxOriginalMx

imxOriginalMx
mzmData

MZ Male example data
imxEvalByName

imxEvalByName
imxVerifyName

imxVerifyName
mxComputeGradientDescent

Optimize parameters using a gradient descent optimizer
imxGenericModelBuilder

imxGenericModelBuilder
mxRun

Send a Model to the Optimizer
omxAssignFirstParameters

Assign First Available Values to Model Parameters
mxSetDefaultOptions

Reset global options to the default
imxIdentifier

imxIdentifier
mxDataWLS

Create MxData Object for Least Squares (WLS, DLS, ULS) Analyses
mxBounds

Create MxBounds Object
logm

Matrix logarithm
mxFIMLObjective

DEPRECATED: Create MxFIMLObjective Object
myGrowthKnownClassData

Data for a growth mixture model with the true class membership
imxReplaceModels

Replace parts of a model
mxExpectationRAM

Create an MxExpectationRAM Object
mxFactor

Fail-safe Factors
imxGetSlotDisplayNames

imxGetSlotDisplayNames
mzfData

MZ female example twin data
imxLog

Test thread-safe output code
mxMI

Estimate Modification Indices for MxModel Objects
mxVersion

Returns Current Version String
numHess2

numeric Hessian data 2
omxMnor

Multivariate Normal Integration
mxComputeReportDeriv

Report derivatives
twinData

Australian twin sample biometric data.
imxSimpleRAMPredicate

imxSimpleRAMPredicate
omxAllInt

All Interval Multivariate Normal Integration
omxGetParameters

Fetch Model Parameters
mxAlgebraObjective

DEPRECATED: Create MxAlgebraObjective Object
mxFitFunctionGREML

Create MxFitFunctionGREML Object
mxComputeHessianQuality

Compute the quality of the Hessian
mxGREMLDataHandler

Helper Function for Structuring GREML Data
mxStandardizeRAMpaths

Standardize RAM models' path coefficients
omxCheckError

Correct Error Message Function
omxCheckSetEquals

Set Equality Testing Function
omxSelectRowsAndCols

Filter rows and columns from an mxMatrix
omxSaturatedModel

Create Reference (Saturated and Independence) Models
mxComputeIterate

Repeatedly invoke a series of compute objects until change is less than tolerance
mxRowObjective

DEPRECATED: Create MxRowObjective Object
omxConstrainMLThresholds

omxConstrainMLThresholds
omxGetNPSOL

omxGetNPSOL
mxComputeStandardError

Compute standard errors given the Hessian or inverse Hessian
MxOptionalLogical-class

An optional logical
omxRAMtoML

omxRAMtoML
mxExpectationStateSpace

Create an MxExpectationStateSpace Object
mxDataDynamic

Create dynamic data
mxFitFunctionR

Create MxFitFunctionR Object
mxGetExpected

Extract the component from a model's expectation
mxThreshold

Create List of Thresholds
omxLogical

Logical mxAlgebra() operators
summary-MxModel

Model Summary
nuclear_twin_design_data

Twin data from a nuclear family design
ordinalTwinData

Data for ordinal twin model
twin_NA_dot

Twin data on weight and height
mxModel

Create MxModel Object
MxDataStatic-class

Create static data
MxRAMMetaData-class

Meta Data for RAM
imxPreprocessModel

imxPreprocessModel
imxIsDefinitionVariable

imxIsDefinitionVariable
imxSameType

imxSameType
imxReplaceSlot

imxReplaceSlot
imxUntitledNumberReset

imxUntitledNumberReset
mxCI

Create mxCI Object
multiData1

Data for multiple regression
mxComputeConfidenceInterval

Find likelihood-based confidence intervals
mxCompare

Assign Model Parameters
mxComputeSequence

Invoke a series of compute objects in sequence
mxComputeNothing

Compute nothing
mxEval

Evaluate Values in MxModel
mxFitFunctionWLS

Create MxFitFunctionWLS Object
mxPath

Create List of Paths
mxRObjective

DEPRECATED: Create MxRObjective Object
mxRestore

Restore From Checkpoint File
omxCheckTrue

Boolean Equality Testing Function
omxSapply

On-Demand Parallel Sapply
omxRMSEA

Get the RMSEA with confidence intervals from model
omxDetectCores

omxDetectCores
omxCheckIdentical

Exact Equality Testing Function
omxLapply

On-Demand Parallel Lapply
tr

trace
omxCheckWarning

Correct Warning Message Function
omxParallelCI

omxParallelCI