OpenMx Help

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

Ubuntu 12.10 and 13.04 - Install Fails due to npsol error

I get similar errors in both 12.10 and 13.04:

checking for inst/npsol/linux/x86_64/gcc4.7/libnpsol.a... no
configure: error: npsol library not found
ERROR: configuration failed for package ‘OpenMx’

Why is this a problem with new versions?

Thanks.

Posted on
Picture of user. iloo Joined: 05/26/2010

Aggregating covariate patterns

Hi fellow community members,

I'm working with quite large data sets ~500000 lines of 4-28 variables (number of covariate patterns >500). I'm trying to simplify the input data into OpenMx by aggregating covariate patterns so that I can specify one line per unique pattern, and then multiply the objective function by how many observations there are of the specific pattern. The reason for me to do this is that I want to save computing time.

Posted on
No user picture. airmax90 Joined: 11/13/2012

Error loading OpenMX

I installed OpenMx the way Mike told me in this thread: http://openmx.psyc.virginia.edu/thread/1729

It seemed, that everything worked fine, but when I try to load OpenMX I get this errormessage:

require(OpenMx)
Loading required package: OpenMx
Error in eval(expr, envir, enclos) :
konnte Funktion ".getNamespace" nicht finden
Zusätzlich: Warnmeldung:
package ‘OpenMx’ was built under R version 2.16.0
Error : unable to load R code in package ‘OpenMx’

Posted on
Picture of user. Mike Cheung Joined: 10/08/2009

Selecting submatrix within functions

I am writing some functions that need to select some submatrices with variable indices. Let's consider the following sample code. The issue is that mxModel() only recognizes x in the gobal environment rather than inside a function. Have I missed something? Thanks.

myFun <- function() {
x <- 2
cat("Matrix in R:\n")
A1 <- matrix(1:16, ncol=4, nrow=4)
B1 <- A1[1:x,1:x, drop=FALSE]
print(B1)
myModel <- mxModel("test",
A2 <- mxMatrix("Full", nrow=4, ncol=4, values=1:16, name="A2"),

Posted on
No user picture. airmax90 Joined: 11/13/2012

Problem on installing openMX on arch

i tried to install openmx with

source('http://openmx.psyc.virginia.edu/getOpenMx.R')

but i get this errormessage on my r-terminal:

> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
1. single-threaded
2. multi-threaded [default]
Installing package(s) into ‘/home/martin/.rkward/library’
(as ‘lib’ is unspecified)
versuche URL 'http://openmx.psyc.virginia.edu/packages/src/contrib/OpenMx_1.3.1-2179.tar.gz'
Content type 'application/x-gzip' length 7267970 bytes (6.9 Mb)
URL geöffnet
==================================================

Posted on
No user picture. m.bartels Joined: 12/18/2009

Problem with CIs (to close to point estimate)

Hi all,
Fitting tri-variate models with CIs but CIs look odd.
They are to close to the point estimate and lower point is sometimes higher that point estimate.
Below a selection

MZMmodel.sdAm[1,1] 3.224423e-01 0.32244499 0.39122315
MZMmodel.sdAm[1,2] 4.477139e-01 0.58554106 0.58555366
MZMmodel.sdAm[1,3] 8.285475e-01 0.82850806 0.82855803
MZMmodel.sdAm[2,1] 4.477139e-01 0.58554106 0.58555366
MZMmodel.sdAm[2,2] 4.104425e-01 0.41044353 0.41043733
MZMmodel.sdAm[2,3] 4.554080e-01 0.45540625 0.61216648
MZMmodel.sdAm[3,1] 8.285475e-01 0.82850806 0.82855803

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

Need to run single-threaded on a Linux cluster

Hi
I need to find out how to run openMx singlethreaded on a Linux system running R 2.15.1
It seems to be running multi-threaded by default and spawning a couple of hundred threads which is causing issues on our cluster which runs a condor queueing system.
thanks
Sarah

Posted on
Picture of user. Charlotte Joined: 07/02/2012

CIs vs. fit statistics

Hi,

I've calculated genetic and environmental cross-trait correlations in a bivariate model, based on the correlational approach for scalar and non-scalar sex limitations (Neale et al., 2006, Twin Research and Human Genetics).

I've tested their significance by looking at the CIs and by checking what happens when I drop each parameter.

Now I have the situation where zero lies within the CIs - but when I drop the parameter, the model changes significantly. How is that possible (--> output attached!)?
(For a different phenotype, this didn't happen.)

Posted on
No user picture. phurd Joined: 10/19/2012

Fedora 17 and libnpsol

Hi, I'm trying to install on a Fedora 17 system, it fails with:

checking for inst/npsol/linux/x86/gcc4.7/libnpsol.a... no
configure: error: npsol library not found

I've installed successfully on ubuntu 12.04 (which has gcc v 4.6).

Is would it work to copy over the library, or does this really need to be recompiled?

Posted on
No user picture. Karin Joined: 02/11/2011

Help with UnivariateTwinAnalysis_MatrixRawConACE.R

Sorry if this is a stupid question, but I have been having trouble getting to grips with OpenMx.

I have been using the sample script UnivariateTwinAnalysis_MatrixRawConACE.R. I would like to extend this in two ways:
* Print out a, c, and e (where appropriate) path variables and the standardized version of these for all models, (i.e. AE, CE, E not just ACE)
* Print out confidence intervals for ACE.A/ACE.V etc.

Can anybody help with this?

Thankyou

Karin