Learn R Programming

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

OpenMx

A Structural Equation Modeling package that encourages users to treat model specifications as something to be generated and manipulated programmatically.

Example models which OpenMx can fit include confirmatory factor, multiple group, mixture distribution, categorical threshold, modern test theory, differential equations, state space, and many others.

Models may be specified as RAM or LISREL mxPaths, or directly in matrix algebra.

Fit functions include ML (summary and full information) and WLS.

The stable branch can be considered our current alpha release.

An easy way to install the stable branch is to use devtools:

require(devtools)
install_github("OpenMx/OpenMx", ref="stable")

Developers commit to the master branch. Intrepid users are encouraged to install the master branch.

The stable branch is updated automatically when all models/passing and models/nightly tests pass along with make cran-check.

Copy Link

Version

Install

install.packages('OpenMx')

Monthly Downloads

24,576

Version

2.7.9

License

Apache License (== 2.0)

Issues

Pull Requests

Stars

Forks

Last Published

March 22nd, 2017

Functions in OpenMx (2.7.9)

imxReportProgress

Report backend progress
MxOptionalLogical-class

An optional logical
factorExample1

factorScaleExample1

imxConvertSubstitution

imxConvertSubstitution
imxHasNPSOL

imxHasNPSOL
imxCreateMatrix

Create a matrix
imxLocateFunction

imxLocateFunction
imxHasOpenMP

imxHasOpenMP
imxPreprocessModel

imxPreprocessModel
imxLocateIndex

imxLocateIndex
omxGraphviz

Show RAM Model in Graphviz Format
imxSquareMatrix

imxSquareMatrix
vechs2full

Inverse Strict Half-vectorization
imxVerifyMatrix

imxVerifyMatrix
imxVerifyModel

imxVerifyModel
mxAlgebraFromString

Create MxAlgebra object from a string
mxAlgebraObjective

DEPRECATED: Create MxAlgebraObjective Object
mxComputeNothing

Compute nothing
mxDataDynamic

Create dynamic data
mxDataWLS

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

Numerically estimate Hessian using Richardson extrapolation
mxEval

Evaluate Values in MxModel
mxEvaluateOnGrid

Evaluate an algebra on an abscissa grid and collect column results
mxFitFunctionMultigroup

Create MxFitFunctionMultigroup object
mxFitFunctionR

Create MxFitFunctionR Object
mxGetExpected

Extract the component from a model's expectation
mxNormalQuantiles

mxNormalQuantiles
mxOption

Set or Clear an Optimizer Option
mxKalmanScores

Estimate Kalman scores and error covariance matrices
myAutoregressiveData

myFADataRaw

Example 500-row dataset with 12 generated variables
myGrowthMixtureData

numHess2

omxConstrainMLThresholds

omxConstrainMLThresholds
omxAllInt

All Interval Multivariate Normal Integration
omxDefaultComputePlan

omxMatrixOperations

MxMatrix operations
omxManifestModelByParameterJacobian

Estimate the Jacobian of manifest model with respect to parameters
omxSymbolTable

ordinalTwinData

vechs

Strict Half-vectorization
imxSymmetricMatrix

imxSymmetricMatrix
twinData

Australian twin sample biometric data.
HS.ability.data

LongitudinalOverdispersedCounts

MxDataFrameOrMatrix-class

MxDataFrameOrMatrix
MxDataStatic-class

Create static data
MxInterval-class

MxInterval
MxLISRELModel-class

MxLISRELModel
MxRAMModel-class

MxRAMModel
Named-entity

Named Entities
imxConDecMatrixSlots

Condense/decondense slots of an MxMatrix
imxFlattenModel

Remove heirarchical structure from model
imxFreezeModel

Freeze model
imxConstraintRelations

imxConstraintRelations
imxGenerateLabels

imxGenerateLabels
imxGenSwift

imxGenSwift
imxPPML.Test.Battery

imxPPML.Test.Battery
imxPPML.Test.Test

imxPPML.Test.Test
imxRowGradients

imxRowGradients
imxSameType

imxSameType
imxUntitledName

imxUntitledName
imxTypeName

imxTypeName
mxCheckIdentification

Check that a model is locally identified
mxCompare

Assign Model Parameters
MxBaseExpectation-class

MxBaseExpectation
MxBaseFitFunction-class

MxBaseFitFunction
MxBounds-class

MxBounds Class
MxCI-class

MxCI Class
eigenvec

Eigenvector/Eigenvalue Decomposition
mxComputeGradientDescent

Optimize parameters using a gradient descent optimizer
mxConstraint

Create MxConstraint Object
mxData

Create MxData Object
mxExpectationBA81

Create a Bock & Aitkin (1981) expectation
mxExpectationGREML

mxFitFunctionGREML

mxFitFunctionML

Create MxFitFunctionML Object
mxMI

Estimate Modification Indices for MxModel Objects
mxLISRELObjective

Create MxLISRELObjective Object
mxRename

Rename MxModel or a Submodel
mxSave

Save End State to Checkpoint File
mxSetDefaultOptions

Reset global options to the default
nuclear_twin_design_data

numHess1

omxSapply

On-Demand Parallel Sapply
omxNameAnonymousParameters

omxNameAnonymousParameters
omxMnor

Multivariate Normal Integration
example2

expm

Matrix exponential
imxDefaultGetSlotDisplayNames

imxDefaultGetSlotDisplayNames
imxDataTypes

Valid types of data that can be contained by MxData
imxExtractMethod

imxExtractMethod
imxExtractNames

imxExtractNames
imxGentleResize

Resize an MxMatrix while preserving entries
imxGetSlotDisplayNames

imxGetSlotDisplayNames
vech

Half-vectorization
vech2full

Inverse Half-vectorization
omxSaturatedModel

Create Reference (Saturated and Independence) Models
imxLocateLabel

imxLocateLabel
imxLog

Test thread-safe output code
imxOriginalMx

imxOriginalMx
imxPPML

imxPPML
imxReverseIdentifier

imxReverseIdentifier
imxRobustSE

imxRobustSE
imxVerifyName

imxVerifyName
imxVerifyReference

imxVerifyReference
multiData1

mxAlgebra

Create MxAlgebra Object
mxComputeReportExpectation

Report expectation
mxComputeSequence

Invoke a series of compute objects in sequence
mxExpectationStateSpace

Create an MxExpectationStateSpace Object
mxExpectationStateSpaceContinuousTime

Create an MxExpectationStateSpace Object
mxFIMLObjective

DEPRECATED: Create MxFIMLObjective Object
mxFactor

Fail-safe Factors
mxMatrix

Create MxMatrix Object
mxRun

Send a Model to the Optimizer
mxSE

Compute standard errors in OpenMx
mxThreshold

Create List of Thresholds
mxTryHard

Make multiple attempts to run a model
mzfData

mzmData

omxBrownie

Make Brownies in OpenMx
omxCheckCloseEnough

Approximate Equality Testing Function
omxCheckSetEquals

Set Equality Testing Function
omxCheckTrue

Boolean Equality Testing Function
omxLocateParameters

Summarize Model Parameters
omxLogical

Logical mxAlgebra() operators
omxCheckError

Correct Error Message Function
mxExpectationRAM

Create an MxExpectationRAM Object
imxMpiWrap

imxMpiWrap
imxSimpleRAMPredicate

imxSimpleRAMPredicate
MxFlatModel-class

MxFlatModel
mxSimplify2Array

Like simplify2array but works with vectors of different lengths
mxPath

Create List of Paths
MxRAMGraph-class

MxRAMGraph
vec2diag

Create Diagonal Matrix From Vector
mxRAMObjective

DEPRECATED: Create MxRAMObjective Object
myRegDataRaw

imxIdentifier

imxIdentifier
dzoData

imxCheckMatrices

imxCheckMatrices
imxDetermineDefaultOptimizer

imxDetermineDefaultOptimizer
omxRMSEA

Get the RMSEA with confidence intervals from model
imxDiff

Set difference on regular types or S4 objects
imxReplaceModels

Replace parts of a model
imxIndependentModels

Are submodels independent?
imxSparseInvert

Sparse symmetric matrix invert
imxReplaceSlot

imxReplaceSlot
imxModelTypes

imxModelTypes
omxGetNPSOL

omxGetNPSOL
omxApply

On-Demand Parallel Apply
mxExpectationHiddenMarkov

Hidden Markov expectation
mxComputeIterate

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

mxComputeOnce

Compute something once
MxAlgebra-class

MxAlgebra Class
MxAlgebraFormula-class

MxAlgebraFormula
MxCharOrNumber-class

A character or integer
MxCompute-class

MxCompute
MxDirectedGraph-class

MxDirectedGraph
MxOptionalMatrix-class

An optional matrix
MxOptionalNumeric-class

An optional numeric
diag2vec

Extract Diagonal of a Matrix
factorScaleExample2

dzfData

genericFitDependencies,MxBaseFitFunction-method

Add dependencies
imxHasDefinitionVariable

imxHasDefinitionVariable
imxHasConstraint

imxHasConstraint
mxComputeNewtonRaphson

Optimize parameters using the Newton-Raphson algorithm
mxModel

Create MxModel Object
mxRestore

Restore From Checkpoint File
mxRowObjective

DEPRECATED: Create MxRowObjective Object
myRegData

myTwinData