OpenMx Help

Posted on
Picture of user. neale Joined: 07/31/2009

Problem with making a vector/list of fitted mxModel objects

So I have this function which mxRuns an mxModel, and returns the fitted mxModel object very nicely. I can access the slots of this object just fine. However, I'd like to call this function a number of times in a loop (or using apply variant). I do not seem to be able to build a list of mxModel objects from which I can extract elements.

firstrun <- runACEModelContinuous(TwinPairDTIDemog,varname='FLFAminus58',t1suffix='Twin1',t2suffix='Twin2',idzyg='ZYGOSITYTwin1',extractionMZ=.(ZYGOSITYTwin1=='M'),extractionDZ=.(ZYGOSITYTwin1=='D'))

# that works fine, and I can see, e.g.,

Posted on
No user picture. svrieze Joined: 01/03/2010

Problem install on of OpenMx 0.4.1-1320 on Red Hat 4.1.2-46

It may be that I'm receiving a corrupted tarball.

I'm running Linux version 2.6.18-164.11.1.el5 (mockbuild@builder10.centos.org) (gcc version
4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Wed Jan 20 07:32:21 EST 2010
On a Quad-Core AMD Opteron(tm) Processor 2378

I get the following long list of warnings. OpenMx appears to install and load without errors, but then I get segmentation faults when calling the optimizer. The model to optimize is the first optimization example in the user guide.

-Scott

$ R

R version 2.10.1 (2009-12-14)

Posted on
No user picture. pgseye Joined: 10/13/2009

Bivariate outliers

Hi,

I've been advised I need to look at bivariate outliers in my twin dataset and that it used to be done with %p in old Mx. Is there an equivalent function in OpenMx?

Thanks,

Paul

Posted on
No user picture. spanosal Joined: 06/02/2010

Categorical and Continuous Data

I have a basic question about running models in OpenMx. I am interested in running a trivariate cholesky using two categorical variables (i.e., the presence or absence of a diagnosis) and one continuous variable (personality). Is this possible? If so, do i need to change my basic trivariate script (which I have tested using all continuous variables and it runs) in some way?

Thank you!

Posted on
No user picture. davidjoubert Joined: 06/28/2010

Error message

When I try to get OpenMx from the RGui, I get the following message:
Warning: unable to access index for repository http://openmx.psyc.virginia.edu/packages/bin/windows64/contrib/2.11
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘OpenMx’ is not available

Not sure what the problem is, please advise...

DJ

Posted on
No user picture. garylewis Joined: 05/05/2010

Error in mxVersion() : subscript out of bounds

any clue why mxVersion should return this error
> mxVersion()
Error in mxVersion() : subscript out of bounds

I have not seen it before, and now get it after running the install script for OpenMx to update my library

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

\stnd cov2cor?

Hi
I'm looking for the OpenMx equivilent to the mx \stnd function. Searching the page the cov2cor() function within mxAlgebra pops up a couple of times but looks to have been discontinued(?) in the more recent releases - any similar function currently availble or implemented in the near future?
thanks
Sarah

Posted on
No user picture. svrieze Joined: 01/03/2010

\m2v operator?

Hello,

What would be the R or OpenMx equivalent of the \m2v operator in Classic Mx?

Related question: if I define in R my own function that performs this operation, can I use that function within the mxAlgebra command?

-Scott

Posted on
No user picture. aalex Joined: 06/14/2010

problem in installing openmx with R-2.11.0 on ArchLinux

Hi, I have a problem in installing OpenMX with R-2.11.0 and gcc 4.5.0 20100610 (prerelease) on ArchLinux with i686 architecture. The compilation interrupts because of the npsol library missing:

> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
Warning in install.packages(pkgs = c("OpenMx"), repos = repos) :
argument 'lib' is missing: using '/home/ale/R/i686-pc-linux-gnu-library/2.11'
provo con l'URL 'http://openmx.psyc.virginia.edu/packages/src/contrib/OpenMx_0.3.3-1264.tar.gz'
Content type 'application/x-gzip' length 4428843 bytes (4.2 Mb)
URL aperto