OpenMx Help

Unable to install OpenMx with NPSOL
Hi!
I have been trying to install the OpenMx Team's build of OpenMx with the NPSOL optimizer, using the following line as per instructions (https://openmx.ssri.psu.edu/installing-openmx):
source('https://vipbg.vcu.edu/vipbg/OpenMx2/software/getOpenMx.R')
I have tried several times and with several R versions (4.1.3, 4.2.3, and 4.3.1), but I always get the warning that the package ‘OpenMx’ is not available as a binary package for this version of R (see full warning message attached).
- Read more about Unable to install OpenMx with NPSOL
- 1 comment
- Log in or register to post comments

Trouble with importing specific functions from OpenMx into my package
Hello OpenMx community,
I am currently developing an R package called nlpsem, and I am trying to use some functions from the OpenMx package. Specifically, I am trying to use the mxOption and imxReportProgress functions. However, I am encountering some issues when trying to use these functions without explicitly loading the OpenMx package with library(OpenMx).
In my DESCRIPTION file, I have the following lines:
Imports:
OpenMx, ggplot2, dplyr, tidyr, stringr, Matrix, nnet, readr, methods

goodness-of-fit indices for ML SEM
I have been asked by a reviewer to offer a better justification for the fit of my proposed ML model by "indicating the fit of the within and between model separately". After reading several chapters made for MPlus, I first looked to mxRefModels(). But, I am under the impression that it does NOT work with ML SEM. So, I tied to make the saturated and independence models for within and between myself for the various calculations. I was successful regarding the independence model but not the saturated model.
- Read more about goodness-of-fit indices for ML SEM
- 2 comments
- Log in or register to post comments

Best Practices for 3lvl measurement SEM
I'm currently building a 3lvl MSEM including measurement models. The Pritikin et al. (2017) paper is relevant and helpful but whereas they have observed variables on every level, I mainly want to use levels to control for the between-part of the variance of items I measured only on the 1st level. Hence, I want to make sure I don't misclassify my model (see below). Assuming the model is right, I'm also grateful on tips how to deal with a non-convex Hessian when trying to fit it.
- Read more about Best Practices for 3lvl measurement SEM
- 2 comments
- Log in or register to post comments

Error message when searching two words or phrase in OpenMx Forum
This is a bit meta, but when I search for more than a single word using the search function on this website or the advanced search function of the forum (restricted to the forum), I get an error message:
"Forbidden
You don't have permission to access /search/node/TERM1 TERM2 on this server."
Google doesn't seem to search the posts itself but only the forum overview.

build fails fastLm.o
trying to install OpenMx with install.packages("OpenMx")
fails for RcppEigen with make fast.Lm.o error 1
machine is Scientific Linux version 7.9 (Nitrogen)
- Read more about build fails fastLm.o
- 1 comment
- Log in or register to post comments

Problems with non-convex Hessian with multilevel SEM
As written in this thread, I have repeated problems with a non-convex Hessian while working my way step-wise towards a 3-level SEM with latent variables and their respective measurement items in a paper in organizational psychology.
While I'm looking for general guidelines to deal with non-cenvex Hessians and status code 5-issues in that thread, it's probably good to look at my models to find issues here.

General strategies to deal with non-convex Hessian matrix
Hello everyone!
I am working on a org psych paper that is currently under review. **The model** is a quite complex *multilevel mediation SEM*, featuring *four latent variables* (only one is exogenous/independent, the others are endogeneous mediators/outcomes). I also include the *measurement models* for each variable (i.e., the respective items as manifest variables). Until now I have done the estimations in a 2-level model using lavaan. For the review I am trying to add a third level to control for further nestedness.

Announcing umxCLPM() TESTERS NEEDED
Hi all,
All I really want is another single-author paper complaining about cookie-cutter models, so I wrote the ultimate cookie-cutter (\s) for CLPM:
https://github.com/tbates/umx/commit/26a9cf01da4cc789be3fc66ddf16ab40050cf87d
It is hard to find spect details for some of these models on the original papers, so I need testers. In particular, I wonder whether the 'uv' correlation is really equated across in Heise's and in STARTS. I believe it is fixed for Hamaker's.
Enjoy.
- Read more about Announcing umxCLPM() TESTERS NEEDED
- Log in or register to post comments

Adding thresholds to model using umxThresholdMatrix
Hi all,
I am trying to add ordinal variables to the mrdoc model. I can't understand the proper way of setting this up using umxThresholdsMatrix. It seems OpenMx is complaining about the autonaming of the parameters:
Error: The thresholds matrix associated with the expectation function in m
odel 'MZ' contains column names and the expectation function has specified
non-identical threshnames.
Here is the MWE:
library(umx)
library(dplyr)
library(ggplot2)
Pagination
- Previous page
- Page 4
- Next page