OpenMx Help

Posted on
No user picture. lf-araujo Joined: 11/25/2020
Posted on
No user picture. lf-araujo Joined: 11/25/2020

Can't derive CIs in multiple groups twin model. Too nested!

Initially found this using umx (https://github.com/tbates/umx/issues/226), thought this was specific to that package. But now I can reproduce it in OpenMx. See MWE below.

**Summary**: if I try go get cis for parameters in multiple groups twin models (written in matrix algebra only), open mx complains about it being too nested. Multiple groups here refers to running the model for males and females, for example. See MWE.

**Error**:

Posted on
No user picture. Lisdin Joined: 03/08/2016

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).

Posted on
No user picture. Veronica_echo Joined: 02/23/2018

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

Posted on
No user picture. jkraemer Joined: 12/18/2022

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.

Posted on
Picture of user. Ben Joined: 06/20/2023

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.

Posted on
Picture of user. Ben Joined: 06/20/2023

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.

Posted on
No user picture. gkirk Joined: 10/24/2022

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)

Posted on
Picture of user. Ben Joined: 06/20/2023

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.

Posted on
Picture of user. Ben Joined: 06/20/2023

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.