OpenMx Help

Posted on
Picture of user. suzannejak Joined: 01/06/2010

Equivalent of qnorm() and pnorm() in mxAlgebra?

Dear OpenMx team,

I would like to use the quantile and distribution function for a (not standard) normal distribution in an mxAlgebra, equivalent to using qnorm() and pnorm() in R. Does this exist?

Thanks in advance!

Posted on
No user picture. arinbasu Joined: 06/09/2011

OpenMx fails to install under R-4.1.3 Linux, omp.h file not found error

I tried to install OpenMx in Void linux.
The R version is 4.1.3
(I have not installed 4.2.0 as it is not yet available on their servers and I did not want to install myself)
On install.packages("OpenMx"), it halts as it cannot find `omp.h` file.
However, `omp.h` file is present in the following location:

/usr/lib/clang/12.0.1/include/omp.h

How can I make sure that OpenMx installation can "see" this file?

Would greatly appreciate your guidance.

Best,
Arin

Posted on
No user picture. iana Joined: 10/16/2021

How to handle missing data in multilevel meta analysis & mutilevel TSSEM?

Hi Mike and all,

I'm working on a meta-analysis examining the mediators between attachment and intimate partner aggression. I would like to use two methods to meta-analyze the data. The methods include 1) three-level meta-analytic models (Assink & Wibbelink, 2016) and 2) three-level TSSEM (Wilson et al., 2016). Both are random-effects models.

Posted on
Picture of user. hansfredriksunde Joined: 12/10/2021

Problems with variance estimation with missing continuous data: WLS seem to replace NA with 0

Hi everyone

I'm currently building an extended children-of-twins-and-siblings model that will have dichotomous data in the child generation and continuous data in the parent generation. The model includes both twins and their partners (co-parents), so that assortative mating can be taken into account. The number of free parameters (>10) make maximum likelihood unfeasible when using dichotomous data (i.e., the processing time is too long). I therefore use the WLS fit function instead.

Posted on
No user picture. kme Joined: 04/27/2022

Vector of individual scores (logL derivatives)?

Is there a way to obtain the vector of individual logL derivatives? I could find stuff about finding the Hessian, and individual likelihoods, but not the individual scores.

Posted on
Picture of user. pehkawn Joined: 05/24/2020

Identification of CFA with continuous vs. ordinal variables

As a step to building a larger SEM, I am currently trying to fit a MIMIC CFA with ordinal indicators.

As demonstrated in the sample script and dataset, the model (using ML) with continuous variables the model is identified and no error is thrown.
If I recode variables as ordinal, and add thresholds to the model I get the error messages differing based on fit function.

Posted on
No user picture. cllstrauss Joined: 04/07/2022

Random factor loadings in MCFA

Apologies if this is answered elsewhere, but I was wondering if OpenMx allows estimation of random factor loadings at the within-level in a multilevel confirmatory factor analysis.

A less important aside: has anyone been able to successfully include a nonlinear constraint in a two level CFA or SEM with latent variables?

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

How to go past a model implied cov not positive definite error?

Hi all,

I am trying to specify the CLPM in the attached figure (It's an extension of Zyphur's 2020 general CLPM, but with PGSs). I specified both using lavaan syntax in umx and matrix algebra (first time, hope it is correct, but looks like so). It is identified, the model runs ok. But when I try to get power or the ncp statistic it fails, as the model's implied cov is not positive definite.

- What can I do to avoid this? lbounds and ubounds will help me there?

Lavaan code:

Posted on
No user picture. eitaknam Joined: 03/27/2022

NPSOL is not available in this build

I experienced the below error message when I am running the ACE model:
==========================================================
Running oneSATc with 10 parameters
Error in runHelper(model, frontendStart, intervals, silent, suppressWarnings, :
NPSOL is not available in this build. See ?omxGetNPSOL() to download this optimizer
==========================================================
This is the version of my MacOS and OpenMX:

Posted on
No user picture. eitaknam Joined: 03/27/2022

NPSOL is not available in this build

I experienced the below error message when I am running the ACE model:
==========================================================
Running oneSATc with 10 parameters
Error in runHelper(model, frontendStart, intervals, silent, suppressWarnings, :
NPSOL is not available in this build. See ?omxGetNPSOL() to download this optimizer
==========================================================
This is the version of my MacOS and OpenMX: