Learn R Programming

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

OpenMx (version 2.2.2)

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

18,902

Version

2.2.2

License

Apache License (== 2.0) | file LICENSE

Maintainer

Joshua Pritikin

Last Published

May 19th, 2015

Functions in OpenMx (2.2.2)

Bollen

Bollen Data on Industrialization and Political Democracy
imxConDecMatrixSlots

Condense/decondense slots of an MxMatrix
imxExtractReferences

imxExtractReferences
imxReservedNames

imxReservedNames
imxExtractSlot

imxExtractSlot
imxReverseIdentifier

imxReverseIdentifier
imxSameType

imxSameType
imxSymmetricMatrix

imxSymmetricMatrix
imxTypeName

imxTypeName
imxUntitledNumberReset

imxUntitledNumberReset
imxUntitledNumber

imxUntitledNumber
mxAlgebraObjective

DEPRECATED: Create MxAlgebraObjective Object
imxWlsStandardErrors

Calculate Standard Errors for a WLS Model
mxComputeEM

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

Check that a model is locally identified
MxBaseExpectation-class

MxBaseExpectation
MxRAMModel-class

MxRAMModel
mxComputeSequence

Invoke a series of compute objects in sequence
MxMatrix-class

MxMatrix Class
MxInterval-class

MxInterval
MxDataFrameOrMatrix-class

MxDataFrameOrMatrix
MxBaseObjectiveMetaData-class

MxBaseObjectiveMetaData
imxDataTypes

Valid types of data that can be contained by MxData
MxFitFunctionGREML-class

Class "MxFitFunctionGREML"
mxFitFunctionGREML

Create MxFitFunctionGREML Object
example2

Bivariate twin data example from Classic Mx Manual
dzfData

DZ female data
mxRename

Rename MxModel or a Submodel
imxModelTypes

imxModelTypes
mxExpectationLISREL

Create MxExpectationLISREL Object
omxNameAnonymousParameters

omxNameAnonymousParameters
imxAddDependency

Add a dependency
imxHasOpenMP

imxHasOpenMP
imxIsDefinitionVariable

imxIsDefinitionVariable
MxData-class

MxData Class
MxDirectedGraph-class

MxDirectedGraph
mxKalmanScores

Estimate Kalman scores and error covariance matrices
mxModel

Create MxModel Object
MxModel-class

MxModel Class
imxPreprocessModel

imxPreprocessModel
imxReplaceSlot

imxReplaceSlot
HS.ability.data

Holzinger and Swineford (1939) Ability data in 301 children from two schools
mxRObjective

DEPRECATED: Create MxRObjective Object
MxBounds-class

MxBounds Class
omxBrownie

Make Brownies in OpenMx
MxBaseNamed-class

MxBaseNamed
myRegData

Example regression data with correlated predictors
MxOptionalCharOrNumber-class

A character, integer, or NULL
MxCompute-class

MxCompute
diag2vec

Extract Diagonal of a Matrix
imxUpdateModelValues

imxUpdateModelValues
logm

Matrix logarithm
dzmData

DZ Male data
MxCI-class

MxCI Class
MxExpectationGREML-class

Class "MxExpectationGREML"
demoOneFactor

Demonstration data for a one factor model
factorScaleExample1

Example Factor Analysis Data for Scaling the Model
MxCharOrNumber-class

A character or integer
multiData1

Data for multiple regression
omxGetNPSOL

omxGetNPSOL
factorScaleExample2

Example Factor Analysis Data for Scaling the Model
omxCheckNamespace

omxCheckNamespace
omxCheckSetEquals

Set Equality Testing Function
mxAlgebra

Create MxAlgebra Object
omxSetParameters

Assign Model Parameters
omxParallelCI

omxParallelCI
mxComputeIterate

Repeatedly invoke a series of compute objects until change is less than tolerance
BaseCompute-class

BaseCompute
MxDataStatic-class

Create static data
imxCheckMatrices

imxCheckMatrices
expm

Matrix exponential
MxBaseFitFunction-class

MxBaseFitFunction
omxConstrainMLThresholds

omxConstrainMLThresholds
omxSymbolTable

Internal OpenMx algebra operations
imxConstraintRelations

imxConstraintRelations
imxConvertSubstitution

imxConvertSubstitution
imxConvertIdentifier

imxConvertIdentifier
MxOptionalChar-class

An optional character
MxLISRELModel-class

MxLISRELModel
MxListOrNull-class

An optional list
mxComputeNothing

Compute nothing
MxOptionalMatrix-class

An optional matrix
myAutoregressiveData

Example data with autoregressively related columns
demoTwoFactor

Demonstration data for a two factor model
imxDefaultGetSlotDisplayNames

imxDefaultGetSlotDisplayNames
MxAlgebraFormula-class

MxAlgebraFormula
imxDmvnorm

A C implementation of dmvnorm
MxOptionalLogical-class

An optional logical
MxRAMMetaData-class

Meta Data for RAM
imxGenerateNamespace

imxGenerateNamespace
myLongitudinalData

Data for a linear latent growth curve model
imxExtractMethod

imxExtractMethod
imxFlattenModel

Remove heirarchical structure from model
MxRAMGraph-class

MxRAMGraph
Named-entity

Named Entities
imxGenerateLabels

imxGenerateLabels
numHess1

numeric Hessian data 1
omxDetectCores

omxDetectCores
genericFitDependencies,MxBaseFitFunction-method

Add dependencies
imxPPML.Test.Test

imxPPML.Test.Test
imxVerifyModel

imxVerifyModel
eigenvec

Eigenvector/Eigenvalue Decomposition
imxPPML

imxPPML
imxCreateMatrix

Create a matrix
imxFreezeModel

Freeze model
imxCheckVariables

imxCheckVariables
imxDeparse

Deparse for MxObjects
omxRMSEA

Get the RMSEA with confidence intervals from model
imxConvertLabel

imxConvertLabel
imxLocateLabel

imxLocateLabel
imxVerifyReference

imxVerifyReference
imxReplaceMethod

imxReplaceMethod
mxComputeDefault

Default compute plan
imxDetermineDefaultOptimizer

imxDetermineDefaultOptimizer
imxHasNPSOL

imxHasNPSOL
imxExtractNames

imxExtractNames
imxIndependentModels

Are submodels independent?
imxDependentModels

Are submodels dependence?
jointdata

Joint Ordinal and continuous variables to be modeled together
imxGetSlotDisplayNames

imxGetSlotDisplayNames
mxCI

Create mxCI Object
imxIsPath

imxIsPath
imxMpiWrap

imxMpiWrap
imxOriginalMx

imxOriginalMx
imxPPML.Test.Battery

imxPPML.Test.Battery
imxLog

Test thread-safe output code
imxReplaceModels

Replace parts of a model
mxComputeNewtonRaphson

Optimize parameters using the Newton-Raphson algorithm
mxComputeReportDeriv

Report derivatives
rvectorize

Vectorize By Row
imxFilterDefinitionVariables

imxFilterDefinitionVariables
omxAssignFirstParameters

Assign First Available Values to Model Parameters
mxDataWLS

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

imxSquareMatrix
mxComputeNumericDeriv

Numerically estimate Hessian using Richardson extrapolation
mxDataDynamic

Create dynamic data
mxMLObjective

DEPRECATED: Create MxMLObjective Object
imxGenericModelBuilder

imxGenericModelBuilder
imxUntitledName

imxUntitledName
imxInitModel

imxInitModel
imxSfClient

imxSfClient
imxModelBuilder

imxModelBuilder
mxComputeStandardError

Compute standard errors given the Hessian or inverse Hessian
imxSimpleRAMPredicate

imxSimpleRAMPredicate
imxSeparatorChar

imxSeparatorChar
mxData

Create MxData Object
imxSparseInvert

Sparse symmetric matrix invert
imxWlsChiSquare

Calculate Chi Square for a WLS Model
mxBounds

Create MxBounds Object
mxFitFunctionRow

Create an MxFitFunctionRow Object
mxComputeHessianQuality

Compute the quality of the Hessian
mxEval

Evaluate Values in MxModel
omxGetParameters

Fetch Model Parameters
mxExpectationRAM

Create an MxExpectationRAM Object
mxCompare

Assign Model Parameters
imxVariableTypes

imxVariableTypes
mxMI

Estimate Modification Indices for MxModel Objects
mxExpectationStateSpaceContinuousTime

Create an MxExpectationStateSpace Object
mxConstraint

Create MxConstraint Object
imxVerifyMatrix

imxVerifyMatrix
mxFitFunctionML

Create MxFitFunctionML Object
mxFitFunctionR

Create MxFitFunctionR Object
mxExpectationBA81

Create a Bock & Aitkin (1981) expectation
mxStandardizeRAMpaths

Standardize RAM models' path coefficients
latentMultipleRegExample1

Example data for multiple regression among latent variables
mxFitFunctionAlgebra

Create MxFitFunctionAlgebra Object
latentMultipleRegExample2

Example data for multiple regression among latent variables
MxExpectation-class

MxExpectation
mxExpectationGREML

Create MxExpectationGREML Object
mxMatrix

Create MxMatrix Object
cvectorize

Vectorize By Column
dzoData

DZ opposite sex data
MxFitFunction-class

MxFitFunction
mxFitFunctionWLS

Create MxFitFunctionWLS Object
mzfData

MZ female example twin data
factorExample1

Example Factor Analysis Data
mxExpectationStateSpace

Create an MxExpectationStateSpace Object
mxGREMLDataHandler

Helper Function for Structuring GREML Data
mxFactor

Fail-safe Factors
mxVersion

Returns Current Version String
myTwinData

Twin data on weight and height
omxGetRAMDepth

omxGetRAMDepth
omxRAMtoML

omxRAMtoML
mxGetExpected

Extract the component from a model's expectation
mxSetDefaultOptions

Reset global options to the default
mxTryHard

Make multiple attempts to run a model
mxRAMObjective

DEPRECATED: Create MxRAMObjective Object
myFADataRaw

Example 500-row dataset with 12 generated variables
mxLISRELObjective

Create MxLISRELObjective Object
mxRowObjective

DEPRECATED: Create MxRowObjective Object
mxTypes

List Currently Available Model Types
nuclear_twin_design_data

Twin data from a nuclear family design
imxGenSwift

imxGenSwift
omxSelectRowsAndCols

Filter rows and columns from an mxMatrix
omxQuotes

omxQuotes
myGrowthMixtureData

Data for a growth mixture model
mxSimplify2Array

Like simplify2array but works with vectors of different lengths
imxIdentifier

imxIdentifier
imxLookupSymbolTable

imxLookupSymbolTable
omxLocateParameters

Summarize Model Parameters
imxLocateFunction

imxLocateFunction
myGrowthKnownClassData

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

Logical mxAlgebra() operators
omxSaturatedModel

Create Reference (Saturated and Independence) Models
imxDiff

Set difference on regular types or S4 objects
omxCheckCloseEnough

Approximate Equality Testing Function
ordinalTwinData

Data for ordinal twin model
omxAllInt

All Interval Multivariate Normal Integration
omxCheckWarning

Correct Warning Message Function
omxCheckError

Correct Error Message Function
mxComputeConfidenceInterval

Find likelihood-based confidence intervals
vec2diag

Create Diagonal Matrix From Vector
mxComputeGradientDescent

Optimize parameters using a gradient descent optimizer
mxMakeNames

mxMakeNames
mxPath

Create List of Paths
twinData

Australian twin sample biometric data.
vech2full

Inverse Half-vectorization
omxMnor

Multivariate Normal Integration
omxCheckTrue

Boolean Equality Testing Function
mxSave

Save End State to Checkpoint File
tr

trace
mxThreshold

Create List of Thresholds
mxFitFunctionMultigroup

Aggregate fit statistics from multiple submodels
omxCheckWithinPercentError

Approximate Percent Equality Testing Function
MxOptionalNumeric-class

An optional numeric
myRegDataRaw

Example regression data with correlated predictors
imxEvalByName

imxEvalByName
vechs2full

Inverse Strict Half-vectorization
summary-MxModel

Model Summary
omxLapply

On-Demand Parallel Lapply
omxGraphviz

Show RAM Model in Graphviz Format
numHess2

numeric Hessian data 2
mxGenerateData

Generate data based on an MxModel object
MxAlgebra-class

MxAlgebra Class
MxCharOrList-class

A character, list or NULL
MxConstraint-class

MxConstraint Class
OpenMx

OpenMx: An package for Structural Equation Modeling and Matrix Algebra Optimization
MxFlatModel-class

MxFlatModel
example1

Bivariate twin data example from Classic Mx Manual
imxLocateIndex

imxLocateIndex
mxComputeOnce

Compute something once
imxVerifyName

imxVerifyName
mxFIMLObjective

DEPRECATED: Create MxFIMLObjective Object
mxExpectationNormal

Create MxExpectationNormal Object
mxOption

Set or Clear an Optimizer Option
mxRun

Send a Model to the Optimizer
mzmData

MZ Male example data
omxApply

On-Demand Parallel Apply
mxRestore

Restore From Checkpoint File
omxCheckEquals

Equality Testing Function
omxCheckIdentical

Exact Equality Testing Function
omxSapply

On-Demand Parallel Sapply
vechs

Strict Half-vectorization
twin_NA_dot

Twin data on weight and height
vech

Half-vectorization
omxNormalQuantiles

omxNormalQuantiles
omxMatrixOperations

MxMatrix operations