Learn R Programming

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

OpenMx (version 2.5.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

26,831

Version

2.5.2

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Joshua Pritikin

Last Published

February 29th, 2016

Functions in OpenMx (2.5.2)

MxBaseExpectation-class

MxBaseExpectation
MxDirectedGraph-class

MxDirectedGraph
MxOptionalChar-class

An optional character
MxRAMModel-class

MxRAMModel
factorScaleExample2

Example Factor Analysis Data for Scaling the Model
imxEvalByName

imxEvalByName
imxExtractReferences

imxExtractReferences
imxIdentifier

imxIdentifier
imxPPML.Test.Test

imxPPML.Test.Test
imxPreprocessModel

imxPreprocessModel
imxSparseInvert

Sparse symmetric matrix invert
imxUpdateModelValues

imxUpdateModelValues
mxDataDynamic

Create dynamic data
mxExpectationGREML

Create MxExpectationGREML Object
mxExpectationRAM

Create an MxExpectationRAM Object
mxFitFunctionMultigroup

Create MxFitFunctionMultigroup object
myAutoregressiveData

Example data with autoregressively related columns
myRegDataRaw

Example regression data with correlated predictors
omxConstrainMLThresholds

omxConstrainMLThresholds
omxCheckEquals

Equality Testing Function
myGrowthMixtureData

Data for a growth mixture model
omxGraphviz

Show RAM Model in Graphviz Format
omxMnor

Multivariate Normal Integration
omxMatrixOperations

MxMatrix operations
omxLogical

Logical mxAlgebra() operators
twinData

Australian twin sample biometric data.
vechs

Strict Half-vectorization
MxBounds-class

MxBounds Class
eigenvec

Eigenvector/Eigenvalue Decomposition
dzmData

DZ Male data
example1

Bivariate twin data example from Classic Mx Manual
imxCheckMatrices

imxCheckMatrices
imxCreateMatrix

Create a matrix
imxConstraintRelations

imxConstraintRelations
imxDeparse

Deparse for MxObjects
imxIsDefinitionVariable

imxIsDefinitionVariable
imxModelBuilder

imxModelBuilder
mxAlgebraFromString

Create MxAlgebra object from a string
imxPPML

imxPPML
imxOriginalMx

imxOriginalMx
mxComputeConfidenceInterval

Find likelihood-based confidence intervals
mxFactor

Fail-safe Factors
mxFitFunctionRow

Create an MxFitFunctionRow Object
mxModel

Create MxModel Object
mxRun

Send a Model to the Optimizer
mxSetDefaultOptions

Reset global options to the default
mxVersion

Returns Current Version String
omxNormalQuantiles

omxNormalQuantiles
omxNameAnonymousParameters

omxNameAnonymousParameters
ordinalTwinData

Data for ordinal twin model
MxAlgebra-class

MxAlgebra Class
MxBaseObjectiveMetaData-class

MxBaseObjectiveMetaData
MxFitFunctionGREML-class

Class "MxFitFunctionGREML"
MxDataStatic-class

Create static data
MxFlatModel-class

MxFlatModel
MxOptionalMatrix-class

An optional matrix
imxGenericModelBuilder

imxGenericModelBuilder
Bollen

Bollen Data on Industrialization and Political Democracy
MxCharOrNumber-class

A character or integer
MxInterval-class

MxInterval
MxData-class

MxData Class
imxMpiWrap

imxMpiWrap
MxCharOrList-class

A character, list or NULL
HS.ability.data

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

Class "MxExpectationGREML"
MxOptionalCharOrNumber-class

A character, integer, or NULL
MxBaseFitFunction-class

MxBaseFitFunction
MxOptionalNumeric-class

An optional numeric
imxVerifyName

imxVerifyName
imxWlsChiSquare

Calculate Chi Square for a WLS Model
MxCI-class

MxCI Class
imxDataTypes

Valid types of data that can be contained by MxData
genericFitDependencies,MxBaseFitFunction-method

Add dependencies
imxUntitledName

imxUntitledName
example2

Bivariate twin data example from Classic Mx Manual
MxBaseNamed-class

MxBaseNamed
imxTypeName

imxTypeName
multiData1

Data for multiple regression
imxFlattenModel

Remove heirarchical structure from model
mxFactorScores

Estimate factor scores and standard errors
mxCI

Create mxCI Object
mxComputeSequence

Invoke a series of compute objects in sequence
factorExample1

Example Factor Analysis Data
imxGentleResize

Resize an MxMatrix while preserving entries
mxComputeHessianQuality

Compute the quality of the Hessian
mxComputeReportDeriv

Report derivatives
mxMakeNames

mxMakeNames
mxComputeStandardError

Compute standard errors given the Hessian or inverse Hessian
mxRowObjective

DEPRECATED: Create MxRowObjective Object
imxIsPath

imxIsPath
imxConvertSubstitution

imxConvertSubstitution
mxSimplify2Array

Like simplify2array but works with vectors of different lengths
imxGetSlotDisplayNames

imxGetSlotDisplayNames
mxThreshold

Create List of Thresholds
omxAllInt

All Interval Multivariate Normal Integration
omxCheckError

Correct Error Message Function
imxGenerateNamespace

imxGenerateNamespace
imxHasNPSOL

imxHasNPSOL
imxLookupSymbolTable

imxLookupSymbolTable
imxRobustSE

imxRobustSE
imxSquareMatrix

imxSquareMatrix
imxWlsStandardErrors

Calculate Standard Errors for a WLS Model
imxLocateIndex

imxLocateIndex
mxAlgebraObjective

DEPRECATED: Create MxAlgebraObjective Object
imxSameType

imxSameType
omxApply

On-Demand Parallel Apply
omxCheckWithinPercentError

Approximate Percent Equality Testing Function
imxRowGradients

imxRowGradients
imxSeparatorChar

imxSeparatorChar
omxParallelCI

omxParallelCI
vec2diag

Create Diagonal Matrix From Vector
logm

Matrix logarithm
latentMultipleRegExample2

Example data for multiple regression among latent variables
imxUntitledNumberReset

imxUntitledNumberReset
twin_NA_dot

Twin data on weight and height
imxVerifyMatrix

imxVerifyMatrix
mxDataWLS

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

MZ female example twin data
mxComputeEM

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

Make Brownies in OpenMx
mxComputeGradientDescent

Optimize parameters using a gradient descent optimizer
mxComputeNumericDeriv

Numerically estimate Hessian using Richardson extrapolation
mxData

Create MxData Object
mxComputeOnce

Compute something once
omxSymbolTable

Internal OpenMx algebra operations
mxFitFunctionML

Create MxFitFunctionML Object
vechs2full

Inverse Strict Half-vectorization
mxLISRELObjective

Create MxLISRELObjective Object
omxSetParameters

Assign Model Parameters
mxGREMLDataHandler

Helper Function for Structuring GREML Data
myLongitudinalData

Data for a linear latent growth curve model
omxCheckNamespace

omxCheckNamespace
omxLapply

On-Demand Parallel Lapply
summary.MxModel

Model Summary
omxSelectRowsAndCols

Filter rows and columns from an mxMatrix
omxDetectCores

omxDetectCores
vech2full

Inverse Half-vectorization
BaseCompute-class

BaseCompute
MxOptionalLogical-class

An optional logical
MxCompute-class

MxCompute
MxExpectation-class

MxExpectation
MxLISRELModel-class

MxLISRELModel
imxAddDependency

Add a dependency
diag2vec

Extract Diagonal of a Matrix
imxConDecMatrixSlots

Condense/decondense slots of an MxMatrix
imxHasOpenMP

imxHasOpenMP
imxJiggle

imxJiggle
imxIndependentModels

Are submodels independent?
imxDmvnorm

A C implementation of dmvnorm
imxLog

Test thread-safe output code
imxModelTypes

imxModelTypes
imxPPML.Test.Battery

imxPPML.Test.Battery
imxReservedNames

imxReservedNames
imxReplaceSlot

imxReplaceSlot
imxReplaceModels

Replace parts of a model
imxSimpleRAMPredicate

imxSimpleRAMPredicate
mxCheckIdentification

Check that a model is locally identified
mxExpectationNormal

Create MxExpectationNormal Object
mxExpectationStateSpaceContinuousTime

Create an MxExpectationStateSpace Object
mxGenerateData

Generate data based on an MxModel object
mxKalmanScores

Estimate Kalman scores and error covariance matrices
mxRObjective

DEPRECATED: Create MxRObjective Object
mxMI

Estimate Modification Indices for MxModel Objects
mxPath

Create List of Paths
nuclear_twin_design_data

Twin data from a nuclear family design
myRegData

Example regression data with correlated predictors
omxLocateParameters

Summarize Model Parameters
Named-entity

Named Entities
dzfData

DZ female data
imxCheckVariables

imxCheckVariables
imxDefaultGetSlotDisplayNames

imxDefaultGetSlotDisplayNames
imxDiff

Set difference on regular types or S4 objects
imxSfClient

imxSfClient
imxVariableTypes

imxVariableTypes
mxComputeNewtonRaphson

Optimize parameters using the Newton-Raphson algorithm
mxConstraint

Create MxConstraint Object
mxExpectationBA81

Create a Bock & Aitkin (1981) expectation
mxExpectationLISREL

Create MxExpectationLISREL Object
mxMLObjective

DEPRECATED: Create MxMLObjective Object
mxSave

Save End State to Checkpoint File
myFADataRaw

Example 500-row dataset with 12 generated variables
mxTryHard

Make multiple attempts to run a model
omxRMSEA

Get the RMSEA with confidence intervals from model
MxAlgebraFormula-class

MxAlgebraFormula
MxFitFunction-class

MxFitFunction
OpenMx

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

Vectorize By Column
imxDependentModels

Are submodels dependence?
imxGenerateLabels

imxGenerateLabels
imxFreezeModel

Freeze model
imxLocateFunction

imxLocateFunction
imxSymmetricMatrix

imxSymmetricMatrix
mxBounds

Create MxBounds Object
imxUntitledNumber

imxUntitledNumber
imxVerifyReference

imxVerifyReference
mxAlgebra

Create MxAlgebra Object
mxComputeReportExpectation

Report expectation
mxFitFunctionR

Create MxFitFunctionR Object
mxFIMLObjective

DEPRECATED: Create MxFIMLObjective Object
mxRAMObjective

DEPRECATED: Create MxRAMObjective Object
mxFitFunctionGREML

Create MxFitFunctionGREML Object
mxOption

Set or Clear an Optimizer Option
mxRename

Rename MxModel or a Submodel
omxCheckCloseEnough

Approximate Equality Testing Function
mxRestore

Restore From Checkpoint File
tr

trace
MxConstraint-class

MxConstraint Class
MxModel-class

MxModel Class
MxListOrNull-class

An optional list
MxMatrix-class

MxMatrix Class
dzoData

DZ opposite sex data
demoOneFactor

Demonstration data for a one factor model
expm

Matrix exponential
imxDetermineDefaultOptimizer

imxDetermineDefaultOptimizer
imxHasDefinitionVariable

imxHasDefinitionVariable
imxVerifyModel

imxVerifyModel
imxReverseIdentifier

imxReverseIdentifier
mxAvailableOptimizers

mxAvailableOptimizers
mxEval

Evaluate Values in MxModel
mxFitFunctionAlgebra

Create MxFitFunctionAlgebra Object
mxExpectationStateSpace

Create an MxExpectationStateSpace Object
mxMatrix

Create MxMatrix Object
myTwinData

Twin data on weight and height
numHess2

numeric Hessian data 2
omxGetNPSOL

omxGetNPSOL
omxAssignFirstParameters

Assign First Available Values to Model Parameters
omxSaturatedModel

Create Reference (Saturated and Independence) Models
rvectorize

Vectorize By Row
mxFitFunctionWLS

Create MxFitFunctionWLS Object
demoTwoFactor

Demonstration data for a two factor model
LongitudinalOverdispersedCounts

Longitudinal, Overdispersed Count Data
MxRAMMetaData-class

Meta Data for RAM
factorScaleExample1

Example Factor Analysis Data for Scaling the Model
imxConvertIdentifier

imxConvertIdentifier
imxExtractSlot

imxExtractSlot
imxInitModel

imxInitModel
imxGenSwift

imxGenSwift
imxLocateLabel

imxLocateLabel
mxComputeIterate

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

Compute nothing
myGrowthKnownClassData

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

MZ Male example data
numHess1

numeric Hessian data 1
omxCheckSetEquals

Set Equality Testing Function
omxGetRAMDepth

omxGetRAMDepth
omxCheckWarning

Correct Warning Message Function
omxCheckIdentical

Exact Equality Testing Function
omxSapply

On-Demand Parallel Sapply
imxConvertLabel

imxConvertLabel
imxExtractMethod

imxExtractMethod
imxReplaceMethod

imxReplaceMethod
mxComputeDefault

Default compute plan
jointdata

Joint Ordinal and continuous variables to be modeled together
mxCompare

Assign Model Parameters
MxDataFrameOrMatrix-class

MxDataFrameOrMatrix
MxRAMGraph-class

MxRAMGraph
imxExtractNames

imxExtractNames
latentMultipleRegExample1

Example data for multiple regression among latent variables
vech

Half-vectorization
mxGetExpected

Extract the component from a model's expectation
mxStandardizeRAMpaths

Standardize RAM models' path coefficients
mxTypes

List Currently Available Model Types
omxManifestModelByParameterJacobian

Estimate the Jacobian of manifest model with respect to parameters
omxQuotes

omxQuotes
omxGetParameters

Fetch Model Parameters
omxCheckTrue

Boolean Equality Testing Function
omxRAMtoML

omxRAMtoML