Learn R Programming

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

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

26,831

Version

2.5.1

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Joshua Pritikin

Last Published

February 25th, 2016

Functions in OpenMx (2.5.1)

imxDeparse

Deparse for MxObjects
Bollen

Bollen Data on Industrialization and Political Democracy
MxFitFunctionGREML-class

Class "MxFitFunctionGREML"
OpenMx

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

Longitudinal, Overdispersed Count Data
imxModelBuilder

imxModelBuilder
MxOptionalNumeric-class

An optional numeric
MxData-class

MxData Class
imxCheckMatrices

imxCheckMatrices
MxBaseFitFunction-class

MxBaseFitFunction
MxDataFrameOrMatrix-class

MxDataFrameOrMatrix
MxBaseNamed-class

MxBaseNamed
MxRAMMetaData-class

Meta Data for RAM
MxLISRELModel-class

MxLISRELModel
factorExample1

Example Factor Analysis Data
MxOptionalCharOrNumber-class

A character, integer, or NULL
MxAlgebra-class

MxAlgebra Class
imxSymmetricMatrix

imxSymmetricMatrix
imxExtractMethod

imxExtractMethod
imxAddDependency

Add a dependency
BaseCompute-class

BaseCompute
imxFreezeModel

Freeze model
imxGenerateLabels

imxGenerateLabels
MxConstraint-class

MxConstraint Class
MxCompute-class

MxCompute
HS.ability.data

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

imxUntitledNumber
imxFlattenModel

Remove heirarchical structure from model
MxModel-class

MxModel Class
dzmData

DZ Male data
imxCreateMatrix

Create a matrix
MxDataStatic-class

Create static data
MxCharOrList-class

A character, list or NULL
MxListOrNull-class

An optional list
MxOptionalLogical-class

An optional logical
imxReverseIdentifier

imxReverseIdentifier
MxExpectationGREML-class

Class "MxExpectationGREML"
MxCharOrNumber-class

A character or integer
mxComputeNothing

Compute nothing
mxModel

Create MxModel Object
genericFitDependencies,MxBaseFitFunction-method

Add dependencies
MxFitFunction-class

MxFitFunction
imxLog

Test thread-safe output code
MxRAMGraph-class

MxRAMGraph
imxCheckVariables

imxCheckVariables
imxReplaceMethod

imxReplaceMethod
MxCI-class

MxCI Class
imxVerifyModel

imxVerifyModel
cvectorize

Vectorize By Column
demoOneFactor

Demonstration data for a one factor model
example1

Bivariate twin data example from Classic Mx Manual
MxFlatModel-class

MxFlatModel
mxCompare

Assign Model Parameters
mxComputeNumericDeriv

Numerically estimate Hessian using Richardson extrapolation
imxHasNPSOL

imxHasNPSOL
MxOptionalMatrix-class

An optional matrix
imxTypeName

imxTypeName
imxConvertSubstitution

imxConvertSubstitution
mxDataDynamic

Create dynamic data
imxConDecMatrixSlots

Condense/decondense slots of an MxMatrix
imxLocateFunction

imxLocateFunction
imxGenericModelBuilder

imxGenericModelBuilder
mxAlgebraObjective

DEPRECATED: Create MxAlgebraObjective Object
imxExtractNames

imxExtractNames
logm

Matrix logarithm
MxOptionalChar-class

An optional character
imxHasDefinitionVariable

imxHasDefinitionVariable
MxBounds-class

MxBounds Class
mxComputeOnce

Compute something once
imxPPML.Test.Battery

imxPPML.Test.Battery
imxConvertLabel

imxConvertLabel
imxModelTypes

imxModelTypes
factorScaleExample1

Example Factor Analysis Data for Scaling the Model
imxGentleResize

Resize an MxMatrix while preserving entries
imxDiff

Set difference on regular types or S4 objects
MxAlgebraFormula-class

MxAlgebraFormula
mxMatrix

Create MxMatrix Object
MxInterval-class

MxInterval
expm

Matrix exponential
imxConvertIdentifier

imxConvertIdentifier
MxDirectedGraph-class

MxDirectedGraph
omxSaturatedModel

Create Reference (Saturated and Independence) Models
mxTypes

List Currently Available Model Types
imxLocateIndex

imxLocateIndex
imxPreprocessModel

imxPreprocessModel
mxTryHard

Make multiple attempts to run a model
diag2vec

Extract Diagonal of a Matrix
vechs2full

Inverse Strict Half-vectorization
mxComputeConfidenceInterval

Find likelihood-based confidence intervals
mxBounds

Create MxBounds Object
mzfData

MZ female example twin data
omxLapply

On-Demand Parallel Lapply
example2

Bivariate twin data example from Classic Mx Manual
nuclear_twin_design_data

Twin data from a nuclear family design
omxNameAnonymousParameters

omxNameAnonymousParameters
omxSapply

On-Demand Parallel Sapply
mxAvailableOptimizers

mxAvailableOptimizers
vech

Half-vectorization
factorScaleExample2

Example Factor Analysis Data for Scaling the Model
tr

trace
omxCheckIdentical

Exact Equality Testing Function
myLongitudinalData

Data for a linear latent growth curve model
omxDetectCores

omxDetectCores
omxCheckNamespace

omxCheckNamespace
omxLocateParameters

Summarize Model Parameters
mxExpectationLISREL

Create MxExpectationLISREL Object
mxGetExpected

Extract the component from a model's expectation
MxBaseObjectiveMetaData-class

MxBaseObjectiveMetaData
MxRAMModel-class

MxRAMModel
Named-entity

Named Entities
dzoData

DZ opposite sex data
eigenvec

Eigenvector/Eigenvalue Decomposition
imxExtractReferences

imxExtractReferences
imxDependentModels

Are submodels dependence?
MxBaseExpectation-class

MxBaseExpectation
imxOriginalMx

imxOriginalMx
imxReplaceSlot

imxReplaceSlot
imxSquareMatrix

imxSquareMatrix
mxConstraint

Create MxConstraint Object
demoTwoFactor

Demonstration data for a two factor model
latentMultipleRegExample1

Example data for multiple regression among latent variables
imxGenerateNamespace

imxGenerateNamespace
imxDataTypes

Valid types of data that can be contained by MxData
imxRowGradients

imxRowGradients
imxIdentifier

imxIdentifier
mxFitFunctionMultigroup

Create MxFitFunctionMultigroup object
imxUpdateModelValues

imxUpdateModelValues
mxPath

Create List of Paths
mxSave

Save End State to Checkpoint File
omxAssignFirstParameters

Assign First Available Values to Model Parameters
imxLookupSymbolTable

imxLookupSymbolTable
mxLISRELObjective

Create MxLISRELObjective Object
mxVersion

Returns Current Version String
omxParallelCI

omxParallelCI
omxGetRAMDepth

omxGetRAMDepth
omxGetNPSOL

omxGetNPSOL
omxCheckWithinPercentError

Approximate Percent Equality Testing Function
rvectorize

Vectorize By Row
omxBrownie

Make Brownies in OpenMx
mxGenerateData

Generate data based on an MxModel object
imxDmvnorm

A C implementation of dmvnorm
imxHasOpenMP

imxHasOpenMP
imxInitModel

imxInitModel
mxComputeSequence

Invoke a series of compute objects in sequence
mxComputeDefault

Default compute plan
mxRAMObjective

DEPRECATED: Create MxRAMObjective Object
mxRestore

Restore From Checkpoint File
omxCheckTrue

Boolean Equality Testing Function
omxRMSEA

Get the RMSEA with confidence intervals from model
myGrowthKnownClassData

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

MZ Male example data
summary.MxModel

Model Summary
twinData

Australian twin sample biometric data.
omxSelectRowsAndCols

Filter rows and columns from an mxMatrix
imxJiggle

imxJiggle
imxPPML

imxPPML
imxVerifyName

imxVerifyName
mxComputeHessianQuality

Compute the quality of the Hessian
mxData

Create MxData Object
mxDataWLS

Create MxData Object for Least Squares (WLS, DLS, ULS) Analyses
MxExpectation-class

MxExpectation
mxExpectationNormal

Create MxExpectationNormal Object
imxGenSwift

imxGenSwift
mxStandardizeRAMpaths

Standardize RAM models' path coefficients
numHess1

numeric Hessian data 1
imxIsPath

imxIsPath
imxConstraintRelations

imxConstraintRelations
omxLogical

Logical mxAlgebra() operators
omxMatrixOperations

MxMatrix operations
imxReservedNames

imxReservedNames
imxReplaceModels

Replace parts of a model
mxComputeNewtonRaphson

Optimize parameters using the Newton-Raphson algorithm
mxComputeReportDeriv

Report derivatives
mxMI

Estimate Modification Indices for MxModel Objects
mxKalmanScores

Estimate Kalman scores and error covariance matrices
mxRun

Send a Model to the Optimizer
myAutoregressiveData

Example data with autoregressively related columns
omxApply

On-Demand Parallel Apply
mxThreshold

Create List of Thresholds
vech2full

Inverse Half-vectorization
vechs

Strict Half-vectorization
imxVerifyReference

imxVerifyReference
latentMultipleRegExample2

Example data for multiple regression among latent variables
mxComputeStandardError

Compute standard errors given the Hessian or inverse Hessian
mxGREMLDataHandler

Helper Function for Structuring GREML Data
omxCheckEquals

Equality Testing Function
omxCheckSetEquals

Set Equality Testing Function
imxDefaultGetSlotDisplayNames

imxDefaultGetSlotDisplayNames
imxDetermineDefaultOptimizer

imxDetermineDefaultOptimizer
imxSameType

imxSameType
imxUntitledNumberReset

imxUntitledNumberReset
imxVariableTypes

imxVariableTypes
mxMLObjective

DEPRECATED: Create MxMLObjective Object
mxMakeNames

mxMakeNames
myRegData

Example regression data with correlated predictors
omxRAMtoML

omxRAMtoML
mxComputeEM

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

Create MxFitFunctionML Object
mxComputeGradientDescent

Optimize parameters using a gradient descent optimizer
twin_NA_dot

Twin data on weight and height
imxMpiWrap

imxMpiWrap
imxPPML.Test.Test

imxPPML.Test.Test
mxFIMLObjective

DEPRECATED: Create MxFIMLObjective Object
mxFactor

Fail-safe Factors
mxFitFunctionWLS

Create MxFitFunctionWLS Object
MxMatrix-class

MxMatrix Class
mxRObjective

DEPRECATED: Create MxRObjective Object
mxRowObjective

DEPRECATED: Create MxRowObjective Object
myGrowthMixtureData

Data for a growth mixture model
dzfData

DZ female data
omxGetParameters

Fetch Model Parameters
omxCheckError

Correct Error Message Function
imxGetSlotDisplayNames

imxGetSlotDisplayNames
imxIsDefinitionVariable

imxIsDefinitionVariable
imxIndependentModels

Are submodels independent?
imxRobustSE

imxRobustSE
imxExtractSlot

imxExtractSlot
imxSparseInvert

Sparse symmetric matrix invert
mxCI

Create mxCI Object
imxSfClient

imxSfClient
omxNormalQuantiles

omxNormalQuantiles
mxEval

Evaluate Values in MxModel
mxExpectationStateSpace

Create an MxExpectationStateSpace Object
mxFitFunctionAlgebra

Create MxFitFunctionAlgebra Object
imxVerifyMatrix

imxVerifyMatrix
imxSimpleRAMPredicate

imxSimpleRAMPredicate
imxUntitledName

imxUntitledName
mxSetDefaultOptions

Reset global options to the default
imxWlsChiSquare

Calculate Chi Square for a WLS Model
multiData1

Data for multiple regression
omxSetParameters

Assign Model Parameters
omxAllInt

All Interval Multivariate Normal Integration
myRegDataRaw

Example regression data with correlated predictors
omxManifestModelByParameterJacobian

Estimate the Jacobian of manifest model with respect to parameters
omxMnor

Multivariate Normal Integration
mxComputeIterate

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

imxSeparatorChar
omxCheckWarning

Correct Warning Message Function
omxSymbolTable

Internal OpenMx algebra operations
mxComputeReportExpectation

Report expectation
ordinalTwinData

Data for ordinal twin model
mxOption

Set or Clear an Optimizer Option
omxCheckCloseEnough

Approximate Equality Testing Function
omxGraphviz

Show RAM Model in Graphviz Format
omxQuotes

omxQuotes
imxLocateLabel

imxLocateLabel
jointdata

Joint Ordinal and continuous variables to be modeled together
mxAlgebraFromString

Create MxAlgebra object from a string
mxExpectationBA81

Create a Bock & Aitkin (1981) expectation
mxExpectationGREML

Create MxExpectationGREML Object
mxFitFunctionGREML

Create MxFitFunctionGREML Object
mxFactorScores

Estimate factor scores and standard errors
myFADataRaw

Example 500-row dataset with 12 generated variables
numHess2

numeric Hessian data 2
mxRename

Rename MxModel or a Submodel
omxConstrainMLThresholds

omxConstrainMLThresholds
myTwinData

Twin data on weight and height
vec2diag

Create Diagonal Matrix From Vector
imxEvalByName

imxEvalByName
imxWlsStandardErrors

Calculate Standard Errors for a WLS Model
mxAlgebra

Create MxAlgebra Object
mxCheckIdentification

Check that a model is locally identified
mxFitFunctionRow

Create an MxFitFunctionRow Object
mxExpectationRAM

Create an MxExpectationRAM Object
mxExpectationStateSpaceContinuousTime

Create an MxExpectationStateSpace Object
mxFitFunctionR

Create MxFitFunctionR Object
mxSimplify2Array

Like simplify2array but works with vectors of different lengths