OpenMx Help

Posted on
Picture of user. carey Joined: 10/19/2009

MxConstraint Problem

(1) ran three models: the first a "general model", the second and third models constrained a (1 x 4) vector of means for one group to equal the (1 x 4) vector of means for another group. the second model did this using an MxAlgebra object while the third used an MxConstraint object.
(2) all models converged with an NPSOL inform value of 0.

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

Failed with error: ‘package 'OpenMx' is not installed for 'arch=x64'’ Windows 7 R 2.12.2

I just tried to install Openmx on my computer. The result is as follows

> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
Installing package(s) into ‘C:\Users\jkarch\Documents/R/win-library/2.12’
(as ‘lib’ is unspecified)
trying URL 'http://openmx.psyc.virginia.edu/packages/bin/windows/contrib/2.12/OpenMx_1.0.6-1581.zip'
Content type 'application/zip' length 2180329 bytes (2.1 Mb)
opened URL
downloaded 2.1 Mb

package 'OpenMx' successfully unpacked and MD5 sums checked

The downloaded packages are in

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

Error crashed parallel run

32-bit Windows box running 4 cores; got the same error under R 2.11 and 2.12.1 and OpenMx 1.0.4, 1.0.5 and 1.0.6. Error does not replicate on Mac OS X 10.6.6.

Simulation study with 10 independent submodels, each submodel containing two dependent submodels. The error, in response to running model called 'Full':

Running Full
Error in do.call("fun", lapply(args, enquote)) :
could not find function "fun"

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

OpenMx wikipedia page

hi all,
I started a wikipedia page for OpenMx,

Feel free to dig in

http://en.wikipedia.org/wiki/OpenMx

Posted on
Picture of user. camelia Joined: 12/26/2010

Error message: package 'OpenMx' is not installed for 'arch=i386'

Hi,
on an i7 windows machine, I installed R 2.12.1 and try to install OpenMx from a stick, as the machine has no internet.

I downloaded OpenMx_1.0.6-1581.zip and in R (32 bit version) install using

install.packages(pkgs="d:/camelia/OpenMx_1.0.6-1581.zip",repos=NULL).

The install results in: package OpenMx successfully unpacked and MD5 sums checked.

Library(OpenMx) results in
Error: package 'OpenMx' is not installed for 'arch=i386'

I also tried this with R 2.12.2 (32 bit version).

I though I was following instuctions from a previous response to a similar question.

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

BootstrapParallel error

Hi (Michael)

When I run models/nightly/BootstrapParallelNightly.R

I get:

> modelResults <- mxRun(topModel, silent=TRUE, suppressWarnings=F)
Error in checkForRemoteErrors(val) :
5000 nodes produced errors; first error: unused argument(s) (useOptimizer)

Has there been a change which affects this argument?

Cheers
Mike

Posted on
Picture of user. wuhao_osu Joined: 09/07/2010

R forced closed due to non pd cov matrix

Code as below. I think it is due to a non positive definite covariance input. When this is fixed, all is fine.

A pop -up says R for windows GUI front end has stopped working.

require(OpenMx)

varnames<-c("BIC1","SSC1","BIC2","SSC2");
dataMZ<-dataDZ<-matrix(diag(1,4),nrow=4,ncol=4,dimnames=list(varnames,varnames));
dataDZ[1,2]<-dataDZ[2,1]<-1.2;

p<-2;
pstar<-p*(p+1)/2;
diagind<-(diag(p)==1);

nMZ<-84;
nDZ<-33;
varnames<-c("BIC1","SSC1","BIC2","SSC2");

LA<-mxMatrix(type="Lower",nrow=p,ncol=p,free=T,values=0,
label=paste("a",1:pstar,sep=""),name="LA");

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

Error in .subset(x, j) : invalid subscript type 'list'

Hello, not sure this is the best place for this question, but here goes.

I have a growth curve and I'm using the age at assessment as a definition variable in the factor loadings. There is missing data, both in the observed variables and the definition variables. It's an ACE twin model. The script is pasted below.

I am getting an error message I've never seen before:
------begin output-------
growthMalesFit <- mxRun(growthMales)
Running growthMales
Error in .subset(x, j) : invalid subscript type 'list'
------end output--------

Can anyone explain? Thanks for your time!

Posted on
No user picture. jakob Joined: 03/09/2011

faster mxRun for multiple runs

Hello everybody,

I'm new at the forum and a newbee with OpenMx and SEM modelling, so my excuses if there may be some stupid questions I gonna ask :-)

Here comes my Problem: I try to write a script that automatically searches the best free parameter and fits it until all significant parameters are fittet. Just like the OU AM option of LISREL. However, it takes quite a while over it, and with more complex models its probably going to take days...

What I'm currently doing is in words and pseudo-code
1. compute the log-likelihood of a null-model:

Posted on
Picture of user. mdewey Joined: 01/21/2011

Model fails to terminate

I am running a series of models on the same dataset. I have eight binary manifest variables, one latent variable and twelve groups. I am fixing the means and variances of the manifests and estimating the thresholds. The series of models differ in the following way.
1 - common parameter (lambda) for all manifest variables but separate thresholds (tau - eight values)
2 - common lambda but separate tau for all items in each group (96 taus)
3 - separate lambda for each group (12) and separate tau (96)
4 - separate lambda for each manifest (8) with 8 tau