OpenMx Help

Posted on
No user picture. Aivil Joined: 03/14/2019

Error Message - Quadratic Growth Model (Even after mxTryHard)

Hello,

-> Can you help me understanding why I get this error message when fitting this unconditional quadratic growth model?
-> Once running the script attached, I get this error:

Running Quadratic Growth Model, Path Specification with 10 parameters
Error: The job for model 'Quadratic Growth Model, Path Specification' exited abnormally with the error message: fit is not finite (The continuous part of the model implied covariance (loc2) is not positive definite in data 'Quadratic Growth Model, Path Specification.data' row 8664.

Posted on
No user picture. blazej Joined: 11/20/2018

Help in translating a longitudinal path model to OpenMx SEM syntax

Greeting everyone!

As I'm new to SEM (in general) and OpenMx I would like to ask you for some help in specifying the model in question properly.

I'm trying to reproduce results for a 3 time points path model where specific indirect effects where of interest. The original model was depicted as in attached image.

Posted on
No user picture. rranne2@uic.edu Joined: 12/10/2018

unexpected string constant error message in mxModel

Hi there,

I'm looking at how neuroticism ("per_neurot_y1f") predicts later change in symptoms of anxiety (from Time 1 to Time 3). I'm not sure why I'm getting this error message about this particular string of my model. Here's my code.

manifests <- c("Time1newanxiety", "Time3anxiety", "per_neurot_y1f")
latents<-"F1"

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

Error message of mxTryhard() with NPSOL optimizer

Hi everyone,

I installed OpenMx2.11 thought source('https://openmx.ssri.psu.edu/software/getOpenMx.R') and wanted to switch optimizer by mxOption(NULL,"Default optimizer","NPSOL"), but I got error message
Error in runHelper(model, frontendStart, intervals, silent, suppressWarnings, :
NPSOL is not available in this build. See ?omxGetNPSOL() to download this optimizer

I also had the same error message when I tried to use cluster to run the model.

How can I fix it? Any advice would be appreciated!

Posted on
No user picture. blazej Joined: 11/20/2018

Looking for help with including a moderator to a path model

Greetings,
this is my 1st post, so please forgive me if this is offtopic.

In sort of new to SEM / modelling in general. So far I managed to make some sense of lavaan() syntax in R, to run a path model like this (file attached).

Before introducing the W moderator (continuous) this model was specified (in lavaan) as:

model <- '
X1 ~~ X2
A ~ X1 + X2
Y ~ A'

All variables are observed and continuous.

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

Error message when using get() to return values of OpenMx object

Hi everyone,

I am trying to return values of an OpenMx object from optimized mxModel by get() (more details could be found in attached). Is there any other way to return the value of an OpenMx object by string? Thanks in advance.

Posted on
No user picture. lior abramson Joined: 07/21/2017

the continuous part of the model is not positive definite

Hello,
I would like to ask your help with an error message that I cannot figure out.

First, some general details about my openMx version:

OpenMx version: 2.7.17 [GIT v2.7.17]
R version: R version 3.4.4 (2018-03-15)
Platform: x86_64-w64-mingw32
Default optimiser: CSOLNP
NPSOL-enabled?: No
OpenMP-enabled?: No

I am trying to do a bivariate Cholesky model with paths specifications, with a syntax that worked before...
For some reason I get the following error message: