Learn R Programming

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

OpenMx (version 2.3.1)

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

24,178

Version

2.3.1

License

Apache License (== 2.0) | file LICENSE

Maintainer

Joshua Pritikin

Last Published

October 7th, 2015

Functions in OpenMx (2.3.1)

HS.ability.data

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

MxBaseObjectiveMetaData
Bollen

Bollen Data on Industrialization and Political Democracy
MxOptionalLogical-class

An optional logical
MxBaseFitFunction-class

MxBaseFitFunction
MxBaseNamed-class

MxBaseNamed
imxDefaultGetSlotDisplayNames

imxDefaultGetSlotDisplayNames
MxConstraint-class

MxConstraint Class
MxMatrix-class

MxMatrix Class
MxDirectedGraph-class

MxDirectedGraph
MxDataFrameOrMatrix-class

MxDataFrameOrMatrix
mxKalmanScores

Estimate Kalman scores and error covariance matrices
mxComputeNumericDeriv

Numerically estimate Hessian using Richardson extrapolation
factorScaleExample2

Example Factor Analysis Data for Scaling the Model
eigenvec

Eigenvector/Eigenvalue Decomposition
MxModel-class

MxModel Class
MxLISRELModel-class

MxLISRELModel
diag2vec

Extract Diagonal of a Matrix
imxDmvnorm

A C implementation of dmvnorm
imxIsPath

imxIsPath
imxPreprocessModel

imxPreprocessModel
mxRObjective

DEPRECATED: Create MxRObjective Object
imxFreezeModel

Freeze model
imxSquareMatrix

imxSquareMatrix
mxFitFunctionWLS

Create MxFitFunctionWLS Object
imxReplaceSlot

imxReplaceSlot
imxLocateLabel

imxLocateLabel
imxFlattenModel

Remove heirarchical structure from model
dzfData

DZ female data
mxStandardizeRAMpaths

Standardize RAM models' path coefficients
MxRAMGraph-class

MxRAMGraph
mxOption

Set or Clear an Optimizer Option
mxExpectationBA81

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

An optional list
imxDiff

Set difference on regular types or S4 objects
imxGenerateLabels

imxGenerateLabels
imxVerifyReference

imxVerifyReference
mxDataDynamic

Create dynamic data
omxLogical

Logical mxAlgebra() operators
imxModelBuilder

imxModelBuilder
imxPPML.Test.Test

imxPPML.Test.Test
imxPPML

imxPPML
mxFIMLObjective

DEPRECATED: Create MxFIMLObjective Object
latentMultipleRegExample2

Example data for multiple regression among latent variables
imxUntitledName

imxUntitledName
imxWlsChiSquare

Calculate Chi Square for a WLS Model
mxGetExpected

Extract the component from a model's expectation
omxAssignFirstParameters

Assign First Available Values to Model Parameters
myFADataRaw

Example 500-row dataset with 12 generated variables
mxMLObjective

DEPRECATED: Create MxMLObjective Object
myGrowthMixtureData

Data for a growth mixture model
MxBaseExpectation-class

MxBaseExpectation
MxData-class

MxData Class
omxCheckError

Correct Error Message Function
dzmData

DZ Male data
example2

Bivariate twin data example from Classic Mx Manual
mxPath

Create List of Paths
imxConstraintRelations

imxConstraintRelations
ordinalTwinData

Data for ordinal twin model
imxInitModel

imxInitModel
factorScaleExample1

Example Factor Analysis Data for Scaling the Model
imxModelTypes

imxModelTypes
imxSimpleRAMPredicate

imxSimpleRAMPredicate
mxCompare

Assign Model Parameters
omxSetParameters

Assign Model Parameters
imxUntitledNumberReset

imxUntitledNumberReset
mxRestore

Restore From Checkpoint File
omxBrownie

Make Brownies in OpenMx
mxCI

Create mxCI Object
vec2diag

Create Diagonal Matrix From Vector
vech

Half-vectorization
omxCheckTrue

Boolean Equality Testing Function
mxRowObjective

DEPRECATED: Create MxRowObjective Object
mxMakeNames

mxMakeNames
omxConstrainMLThresholds

omxConstrainMLThresholds
omxMatrixOperations

MxMatrix operations
MxBounds-class

MxBounds Class
MxFitFunctionGREML-class

Class "MxFitFunctionGREML"
omxAllInt

All Interval Multivariate Normal Integration
MxFlatModel-class

MxFlatModel
example1

Bivariate twin data example from Classic Mx Manual
imxConvertSubstitution

imxConvertSubstitution
omxNormalQuantiles

omxNormalQuantiles
imxCheckMatrices

imxCheckMatrices
imxDeparse

Deparse for MxObjects
imxGenSwift

imxGenSwift
imxReservedNames

imxReservedNames
imxWlsStandardErrors

Calculate Standard Errors for a WLS Model
imxSparseInvert

Sparse symmetric matrix invert
omxRMSEA

Get the RMSEA with confidence intervals from model
omxLocateParameters

Summarize Model Parameters
omxCheckWarning

Correct Warning Message Function
omxQuotes

omxQuotes
tr

trace
MxCharOrNumber-class

A character or integer
MxCharOrList-class

A character, list or NULL
MxCI-class

MxCI Class
MxRAMModel-class

MxRAMModel
MxInterval-class

MxInterval
expm

Matrix exponential
imxExtractSlot

imxExtractSlot
imxGetSlotDisplayNames

imxGetSlotDisplayNames
imxOriginalMx

imxOriginalMx
imxReplaceMethod

imxReplaceMethod
mxFactorScores

Estimate factor scores and standard errors
imxSameType

imxSameType
mxMatrix

Create MxMatrix Object
mxExpectationStateSpaceContinuousTime

Create an MxExpectationStateSpace Object
mxSetDefaultOptions

Reset global options to the default
omxCheckNamespace

omxCheckNamespace
omxSapply

On-Demand Parallel Sapply
imxHasNPSOL

imxHasNPSOL
imxReplaceModels

Replace parts of a model
imxLocateIndex

imxLocateIndex
imxVerifyMatrix

imxVerifyMatrix
MxOptionalChar-class

An optional character
latentMultipleRegExample1

Example data for multiple regression among latent variables
logm

Matrix logarithm
mxComputeDefault

Default compute plan
mxDataWLS

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

Twin data on weight and height
mzfData

MZ female example twin data
omxCheckIdentical

Exact Equality Testing Function
vechs

Strict Half-vectorization
Named-entity

Named Entities
imxConvertIdentifier

imxConvertIdentifier
imxIndependentModels

Are submodels independent?
MxOptionalMatrix-class

An optional matrix
mxComputeEM

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

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

Example Factor Analysis Data
mxComputeReportDeriv

Report derivatives
mxFactor

Fail-safe Factors
MxAlgebra-class

MxAlgebra Class
imxReverseIdentifier

imxReverseIdentifier
mxGenerateData

Generate data based on an MxModel object
mxThreshold

Create List of Thresholds
imxUpdateModelValues

imxUpdateModelValues
myLongitudinalData

Data for a linear latent growth curve model
mxData

Create MxData Object
mxFitFunctionAlgebra

Create MxFitFunctionAlgebra Object
imxDependentModels

Are submodels dependence?
imxConvertLabel

imxConvertLabel
myAutoregressiveData

Example data with autoregressively related columns
imxPPML.Test.Battery

imxPPML.Test.Battery
imxGenericModelBuilder

imxGenericModelBuilder
omxManifestModelByParameterJacobian

Estimate the Jacobian of manifest model with respect to parameters
imxUntitledNumber

imxUntitledNumber
mxFitFunctionRow

Create an MxFitFunctionRow Object
mxFitFunctionMultigroup

Create MxFitFunctionMultigroup object
mxModel

Create MxModel Object
omxCheckCloseEnough

Approximate Equality Testing Function
mxRun

Send a Model to the Optimizer
omxCheckWithinPercentError

Approximate Percent Equality Testing Function
twinData

Australian twin sample biometric data.
omxGetParameters

Fetch Model Parameters
omxRAMtoML

omxRAMtoML
omxSaturatedModel

Create Reference (Saturated and Independence) Models
summary-MxModel

Model Summary
MxOptionalCharOrNumber-class

A character, integer, or NULL
demoOneFactor

Demonstration data for a one factor model
MxDataStatic-class

Create static data
imxDataTypes

Valid types of data that can be contained by MxData
imxDetermineDefaultOptimizer

imxDetermineDefaultOptimizer
imxCheckVariables

imxCheckVariables
imxExtractMethod

imxExtractMethod
imxLog

Test thread-safe output code
OpenMx

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

Compute nothing
mxConstraint

Create MxConstraint Object
mxFitFunctionR

Create MxFitFunctionR Object
mxGREMLDataHandler

Helper Function for Structuring GREML Data
mxLISRELObjective

Create MxLISRELObjective Object
mxRename

Rename MxModel or a Submodel
myGrowthKnownClassData

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

On-Demand Parallel Apply
omxCheckSetEquals

Set Equality Testing Function
omxGraphviz

Show RAM Model in Graphviz Format
MxFitFunction-class

MxFitFunction
MxExpectationGREML-class

Class "MxExpectationGREML"
imxConDecMatrixSlots

Condense/decondense slots of an MxMatrix
imxCreateMatrix

Create a matrix
imxExtractReferences

imxExtractReferences
imxIsDefinitionVariable

imxIsDefinitionVariable
imxMpiWrap

imxMpiWrap
imxEvalByName

imxEvalByName
mxAlgebraObjective

DEPRECATED: Create MxAlgebraObjective Object
mxAvailableOptimizers

mxAvailableOptimizers
mxExpectationRAM

Create an MxExpectationRAM Object
mxExpectationGREML

Create MxExpectationGREML Object
mxAlgebraFromString

Create MxAlgebra object from a string
mxSave

Save End State to Checkpoint File
mxTypes

List Currently Available Model Types
imxTypeName

imxTypeName
omxParallelCI

omxParallelCI
twin_NA_dot

Twin data on weight and height
imxExtractNames

imxExtractNames
imxLocateFunction

imxLocateFunction
mxBounds

Create MxBounds Object
mxComputeConfidenceInterval

Find likelihood-based confidence intervals
mxComputeSequence

Invoke a series of compute objects in sequence
mxComputeGradientDescent

Optimize parameters using a gradient descent optimizer
mxComputeStandardError

Compute standard errors given the Hessian or inverse Hessian
mxMI

Estimate Modification Indices for MxModel Objects
myRegData

Example regression data with correlated predictors
mzmData

MZ Male example data
omxCheckEquals

Equality Testing Function
omxSymbolTable

Internal OpenMx algebra operations
MxCompute-class

MxCompute
MxOptionalNumeric-class

An optional numeric
genericFitDependencies,MxBaseFitFunction-method

Add dependencies
imxAddDependency

Add a dependency
imxHasOpenMP

imxHasOpenMP
imxLookupSymbolTable

imxLookupSymbolTable
imxGenerateNamespace

imxGenerateNamespace
imxIdentifier

imxIdentifier
MxExpectation-class

MxExpectation
imxVariableTypes

imxVariableTypes
jointdata

Joint Ordinal and continuous variables to be modeled together
imxVerifyName

imxVerifyName
mxFitFunctionML

Create MxFitFunctionML Object
mxEval

Evaluate Values in MxModel
mxSimplify2Array

Like simplify2array but works with vectors of different lengths
nuclear_twin_design_data

Twin data from a nuclear family design
omxDetectCores

omxDetectCores
omxGetNPSOL

omxGetNPSOL
omxLapply

On-Demand Parallel Lapply
omxNameAnonymousParameters

omxNameAnonymousParameters
vechs2full

Inverse Strict Half-vectorization
vech2full

Inverse Half-vectorization
dzoData

DZ opposite sex data
imxSymmetricMatrix

imxSymmetricMatrix
multiData1

Data for multiple regression
mxComputeNewtonRaphson

Optimize parameters using the Newton-Raphson algorithm
mxComputeHessianQuality

Compute the quality of the Hessian
numHess1

numeric Hessian data 1
omxSelectRowsAndCols

Filter rows and columns from an mxMatrix
MxRAMMetaData-class

Meta Data for RAM
imxVerifyModel

imxVerifyModel
mxFitFunctionGREML

Create MxFitFunctionGREML Object
mxVersion

Returns Current Version String
mxAlgebra

Create MxAlgebra Object
mxCheckIdentification

Check that a model is locally identified
omxMnor

Multivariate Normal Integration
MxAlgebraFormula-class

MxAlgebraFormula
mxComputeOnce

Compute something once
mxExpectationNormal

Create MxExpectationNormal Object
mxTryHard

Make multiple attempts to run a model
mxExpectationLISREL

Create MxExpectationLISREL Object
mxRAMObjective

DEPRECATED: Create MxRAMObjective Object
numHess2

numeric Hessian data 2
rvectorize

Vectorize By Row
mxExpectationStateSpace

Create an MxExpectationStateSpace Object
myRegDataRaw

Example regression data with correlated predictors
BaseCompute-class

BaseCompute
imxSeparatorChar

imxSeparatorChar
cvectorize

Vectorize By Column
LongitudinalOverdispersedCounts

Longitudinal, Overdispersed Count Data
demoTwoFactor

Demonstration data for a two factor model
imxSfClient

imxSfClient
omxGetRAMDepth

omxGetRAMDepth