OpenMx Help

Posted on
Picture of user. AdminRobK Joined: 01/24/2014

Please read before posting: Help us help you!

If you are posting to ask for help with installing OpenMx, please understand that it is difficult for anyone to help you out if you don't provide a few key pieces of information! We therefore ask that your post include, at minimum, the following:

Posted on
Picture of user. AdminRobK Joined: 01/24/2014

Please read before posting: Help us help you!

If you are posting to ask for help with an error message, we ask that your post include, at minimum, the following:

  1. The actual text of the error message.
  2. The version of OpenMx you're running (enter mxVersion() at the R prompt).
  3. The version of R you're running.
  4. Your operating system and architecture (e.g., "x86_64 Linux").
  5. OpenMx's default optimizer (which will always be NPSOL for OpenMx versions 1.4 or older).
Posted on
Picture of user. mspiegel Joined: 07/31/2009

Staying informed with OpenMx

The easiest way to keep up with the latest changes to the OpenMx software is to subscribe to receive email notification of any news updates. Assuming that you are logged in, click on the "My account" link on the left-hand panel of your screen. Next click on "Subscriptions" and then "Content types". Enable the checkbox for "News" and click on "Save". Once you have followed these steps, you will start receiving an email whenever something is posted under the "Recent News" section of the website (the top left panel, underneath the Guinea Pig).
Posted on
Picture of user. mspiegel Joined: 07/31/2009

General strategies

  1. Use the traceback() function in R after an error occurs.
    It will print out the sequence of function calls that lead to the error.
  2. Simplify your code. This may help you locate an error more easily. For example, replace the following:
    foo <- mxModel(mxMatrix('Full', 1, 2, name = 'a'), 
        mxAlgebra(a + a, 'b'), mxAlgebraObjective('b'))

    with:

Posted on
Picture of user. Steve Joined: 07/30/2009

Welcome to the OpenMx General Help Forum

This forum is designed for general questions about how to use OpenMx. If you can't find another place where your question fits, then this is the place to be!
Posted on
No user picture. IvanVoronin Joined: 08/18/2013

Mixed effects model - matrix specification

Hello,

I am looking for advice with regard to the implementation of mixed effects model in OpenMx. 

I am starting with a simple model where one dependent variable Y is predicted by four correlated variables X1-X4. The participants in the sample are clustered in pairs (they are twins).

Posted on
Picture of user. AdminHunter Joined: 03/01/2013

OpenMx Master Class 2024 Questions

Hey y'all,

 

Put any OpenMx Master Class questions below in this thread.  We'll reply to and address as many of them as possible.

 

Cheers,

Mike

Posted on
No user picture. Ilaria Joined: 07/22/2024

Problems with Constrain expected Means and Variances to be equal across Twin Order

Hi all,

I am trying to fit several bivariate [between my exposure at age 16 and my outcomes at age 21 (accounting for age and sex)] and trivariate [my exposure at age 16 and my outcomes at ages 21 and 26 (also accounting for age and sex)] ACE models. However, I’ve started by fitting univariate saturated and submodels, followed by ACE and submodels, to eventually fit my bivariate models. The saturated models run fine across all, but when I try to fit the constrained models (by twin order and zygosity), I get the following error message:

Posted on
No user picture. Ilaria Joined: 07/22/2024

OpenMx Installation - cannot open the connection - 'failure when receiving data from the peer'

Hi OpenMx community,

I am very new to OpenMx. I am using it to fit saturated and ACE models to my twin data. I had successfully installed OpenMx using the script for the OpenMx website: source('https://vipbg.vcu.edu/vipbg/OpenMx2/software/getOpenMx.R')

But now when I am trying to re-run my models and use this version of openMx I receive the following error messages: