OpenMx Help

Posted on
Picture of user. rabil Joined: 01/14/2010

OpenMx Refuses to Compute Confidence Intervals Using Ubuntu and Windows - But Not Mac

I adapted OpenMx ordinal threshold model example code to estimate a model with 5 raters using a 5-point ordinal scale. (The code uses threshold deviations.) The model converges (after some tweaking of starting values) with no errors and no warning messages - this is on a computer running Ubuntu 13.04 and the latest version of OpenMx. The same model was estimated using MPlus - both yield very similar factor loading estimates and threshold estimates (although MPlus used weighted least squares - ML wouldn't work).

Posted on
Picture of user. JVaske Joined: 06/08/2013

Open MX for R 3.0.1

Hello,
I downloaded R and RStudio. In RStudio, I typed in:
> source('http://openmx.psyc.virginia.edu/getOpenMx.R')

This is the result that I got:
Warning in install.packages :
package ‘OpenMx’ is not available (for R version 3.0.1)
Installing package into ‘C:/Users/Jvaske/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
cannot open: HTTP status was '404 Not Found'
Warning in install.packages :
cannot open: HTTP status was '404 Not Found'
Warning in install.packages :

Posted on
No user picture. nhajal Joined: 05/18/2013

Windows 8

Is it possible to get Open MX on Windows 8? When I enter:
"source('http://openmx.psyc.virginia.edu/getOpenMx.R')" I keep getting the following error message:

Warning in install.packages(pkgs = c("OpenMx"), repos = repos) :
argument 'lib' is missing: using 'C:\Users\Tassie\Documents/R/win-library/2.10'
trying URL 'http://openmx.psyc.virginia.edu/packages/bin/windows/contrib/2.10/OpenMx_1.3.2-2301.zip'
Error in download.file(url, destfile, method, mode = "wb", ...) :
cannot open URL 'http://openmx.psyc.virginia.edu/packages/bin/windows/contrib/2.10/OpenMx_1.3.2-2301.zip'

Posted on
Picture of user. pdeboeck Joined: 08/04/2009

_gfortran_copy_string

Hi Everyone,

I ran into this problem today while doing a new installation of OpenMx, and I was just curious if this looked familiar to anyone: "/nfs/home/pascal/R/x86_64-redhat-linux-gnu-library/2.15/OpenMx/libs/OpenMx.so: undefined symbol: _gfortran_copy_string"

Thanks!

> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
1. single-threaded
2. multi-threaded [default]
Which version of OpenMx should I install? 1
Installing package(s) into '/nfs/home/pascal/R/x86_64-redhat-linux-gnu-library/2.15'
(as 'lib' is unspecified)

Posted on
Picture of user. Julia Joined: 03/29/2012

Multiple separator characters

Hello.
We are currently developing an environment in R which would allow us analysing data without physical sharing of them, i.e. data (from one or several sources) are located on external server(-s) and R commands are sent to that server via a secured authenticated network. Only restricted summary statistics would be sent back to the analysis computer without disclosing any data. I will not go into details here, but just to give an idea of what it is.

Posted on
No user picture. shaoyong.su Joined: 04/23/2013

how to deal with twin data with inexact zygosity diagnosis in OpenMx

Dear OpenMx experts,

I'm now working on a twin dataset with zygosity diagnosis is not exact, i.e. I only have one variable indicating the probability of one twin pair being MZ or DZ. In Mx we can "specify" this variable and "weight" it when estimating the covariance matrix. Dr. Neale has discussed this issue and provided the Mx script file here:
ftp://ftp.vcu.edu/pub/mx/examples/zygosity

The key commands are below:

G2: All twin pairs
Data NInput_vars=3 Nmodel=2
Labels t1 t2 pmz
Rectangular File=sim1.mz
Select t1 t2 pmz ;
Definition pmz ;

Matrices= Group 1
P Full 1 1

Posted on
No user picture. fnielsen Joined: 04/16/2013

Fail to Install on R 3.0 on Windows 7

I just upgraded to R 3.0 on my Windows 7 PC. I am now trying to reinstall OpenMx. I get the following error message:

> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
Warning: unable to access index for repository http://openmx.psyc.virginia.edu/packages/bin/windows/contrib/3.0

package ‘OpenMx’ is available as a source package but not as a binary

Warning message:
package ‘OpenMx’ is not available (for R version 3.0.0)

Any suggestion on what to do appreciated!

Posted on
No user picture. Lucía Joined: 04/11/2013

Error - NA values

Hi everybody,

I have been trying to run a model when checking the assumptions. It is a univariate analysis with an ordinal variable with two thresholds, and I have two covariates.

Everything seems to be fine, but I get this error message:

> baseFit <- mxRun( baseModel, intervals=FALSE )
Running base
Error: In model 'base' the thresholds in column 'BFEED12th_01' of matrix/algebra 'fMZ.expThreshfMZ' contain NA values. Only the first 2 elements of this column are inspected.

Do you know what may be happening?

Posted on
Picture of user. rabil Joined: 01/14/2010

Definition Variables in Constraints and Confidence Intervals

I'm trying to build a simple auto-lagged model for some simulated data. The observations are simple ar(1) with 6 observations per subject and where the time points are irregular within and between subjecs. Eid in the Daily Life handbook (pp. 398-402) shows how to do this in MPlus.

The model works fine with equally spaced time points - I can get back the ar(1) value used in the simulation.

To handle unequal spacing, I'm using definition variables. The trick is to constrain the ar loadings. Suppose you have (a simple path diagram):

x1 --> x2 --> x3 --> x4 --> x5 --> x6

Posted on
No user picture. roffe Joined: 03/10/2013

Install fails on MacOS X, linker error: Symbol not found: __gfortran_pow_r8_i4

I'm on a Mid-2009 MacBook Pro, Latest Mountain Lion, MacPorts GNU compilers and R 2.15.3.

These are the last relevant error message lines:

Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/opt/local/Library/Frameworks/R.framework/Versions/2.15/Resources/library/OpenMx/libs/x86_64/OpenMx.so':
dlopen(/opt/local/Library/Frameworks/R.framework/Versions/2.15/Resources/library/OpenMx/libs/x86_64/OpenMx.so, 6): Symbol not found: __gfortran_pow_r8_i4