OpenMx General Help

Posted on
No user picture. jkarch Joined: 03/15/2011

Product of Variables Identification

Hey,

my aim is to use product of variables to fit a random-intercept random-slope model with latent mean centering. To be precise, my model is as follows. $i$ indexes person, $t$ indexes observations within a person.

$$Y_{it} = \beta_i (X_{it}-meanX_i) + meanY_i + residualY_{ij}$$
$$X_{it} = meanX_i + residualX_{ij} $$

$$\beta_i \sim N(\mu_\beta, \sigma_\beta^2), \quad meanX_i \sim N(\mu_X, \sigma_X^2), \quad meanY_i \sim N(\mu_Y, \sigma_Y^2)$$

Posted on
No user picture. Manuel Rein Joined: 04/01/2024

Sampling weights for mxFitFunctionMultigroup()

Hi all,

I was wondering if there is a way to specify sampling weights in a multi-group model? I want all observations in a certain group to be weighed equally, but groups with a larger weight should have more influence on the estimation of parameters that are shared/equal between groups.

Best,
Manuel

Posted on
No user picture. Paul Hoon Joined: 02/17/2024

Seek copy of MX varimax rotation code posted years ago at VA Tech web site

Hi to Administrators Neale,

Several years back we posted a varimax - quartimax script that worked well under an earlier implementation of MX.

1) Can you direct me to a site so I can retrieve this script and its documentation?

2) Would like to revise the script so it will run under R (Win 11) in the latest MX configuration. Could we get permission to get help from Neale and other administrators to guide us in making revisions to get the script to work in 2024?

Thank you for your advice and direction, best, Paul Hoon

Posted on
No user picture. Jaewonee Joined: 10/02/2023

Can't solve dimname associated error

Hello. I am quite naive with OpenMx & R in general, and I can't find a way to solve this error. I'm trying to create a covariance matrix with my data.. I am aware that my code is probably very messy and has lots of other errors-I really need some help & advice on how to advance with this. Thank you so much in advance. This is my code:

pheno2 <- read.csv("pheno2.csv")
library(OpenMx)

colnames(pheno2) <- gsub("\\.", "_", colnames(pheno2))
any(is.na(pheno2))

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
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. lf-araujo Joined: 11/25/2020

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.