OpenMx Help

OpenMx 2.0.1 installation fails for R 3.2.0 on OS X
If I do
source('http://openmx.psyc.virginia.edu/getOpenMx.R')
the result is
You are now installing OpenMx 2.0.
OpenMx 2.0 has a number of exciting new features, described in more detail at
http://openmx.psyc.virginia.edu/2014/10/openmx-version-20-officially-released
and in the OpenMx User's Guide.
Most OpenMx-1.4 scripts will work under OpenMx 2.0, but users who wish to download and install the previous stable version can run
source('http://openmx.psyc.virginia.edu/getOpenMx1.R')

NA values hit for thresholds
I am using a modified script for a bivariate twin analysis with two dichotomous variables.
I am stuck with the error message: "Error: In model 'Sat' I was expecting 1 thresholds in column 'nssi1' of matrix/algebra 'DZf.expThresDZf' but I hit NA values after only 0 thresholds. You need to increase the number of thresholds for 'nssi1' and give them values other than NA"
Another user had a similar issue- see previous discussion: (http://openmx.psyc.virginia.edu/thread/2953). However, I do not believe my problem has to do with the mxFactor command, factors in general, or NAs in my data.
- Read more about NA values hit for thresholds
- 5 comments
- Log in or register to post comments

mxFitFunctionAlgebra question
Attached are two outputs, one from OpenMx 2.0.1.4157 using OS X on a Mac and the other from OpenMx 2.2.2 on Red Hat Linux. In both situations the models converge when I use mxExpectationNormal and mxFitFunctionML. But when I manually set the fit function to -log(likelihood) using mxFitFunctionAlgebra, mxRun crashes in both operating systems (albeit with different errors).
Am perplexed.
Greg
- Read more about mxFitFunctionAlgebra question
- 7 comments
- Log in or register to post comments

mxExpectationGREML error
Why does this give an error when the code is taken directly from the documentation to mxExpectationGREML?
> require(OpenMx)
> mxVersion()
OpenMx version: 2.0.1.4157
R version: R version 3.1.2 (2014-10-31)
Platform: x86_64-apple-darwin10.8.0
Default optimiser: NPSOL
> # the following are the first three commands from the Examples from
> # the documentation to mxExpectationGREML
> dat <- cbind(rnorm(100),rep(1,100))
> colnames(dat) <- c("y","x")
>
> ge <- mxExpectationGREML(V="V",yvars="y",Xvars=list("X"),addOnes=FALSE)
- Read more about mxExpectationGREML error
- 5 comments
- Log in or register to post comments

Installation under Linux
I get the following error message when I tried to install OpenMx through R 3.1.1 or R 3.2.0
OpenMx/libs/OpenMx.so: undefined symbol: npoptn_
- Read more about Installation under Linux
- 4 comments
- Log in or register to post comments

speed issue with mxRun
Dear All,
I am writing on behalf of a user of our local cluster.
The OpenMX install is fairly recent (just with source('http://openmx.psyc.virginia.edu/getOpenMx.R' in R). The script in question is rather long and starts with loading OpenMX:
require(OpenMx)
and subsequently snowfall:
library(snowfall)
sfInit(parallel = T, cpus = 64)
sfLibrary(OpenMx)
- Read more about speed issue with mxRun
- Log in or register to post comments

Specifying Unique mxFitFunction
Hi,
I am new to 2.0 and am playing around with specifying a non-standard fit function, and have hit some road bumps in trying to start with specifying the ML fit through mxFitFunctionAlgebra. Attached is the reproducible script. Error message is:
Error: The job for model 'One Factor' exited abnormally with the error message: MxComputeGradientDescent: fitfunction One Factor.fitfunction is not finite ()
If mxFitFunctionAlgebra() is used, does it have to include a gradient specification?
- Read more about Specifying Unique mxFitFunction
- 1 comment
- Log in or register to post comments

Restricted Model Cholesky; how to drop/fix parameters?
Hello everyone,
I'm a graduate student currently learning OpenMX, and I am unfortunately still a novice at OpenMX and genetic modeling in general. I've so far successfully run multivariate Cholesky analyses with OpenMX in R studio, and gotten interpretable data.
However, I am now trying to drop parameters on my current Cholesky model, to get a "best fit" reduced model for my data. I am having trouble understanding how I might do this; I understand it would involve fixing certain parameters at zero, but given my code, I am completely at a loss as to how I might go about this.

OpenMx performance on CentOS server
I just run the demo script of the package and I don't modify the script.
when I run the demo script AlternativeApproaches.R on my computer, the running cpu is around 100% and completed in 10 seconds.
input:
time Rscript AlternativeApproaches.R
output:
real 0m2.431s
user 0m3.752s
sys 0m0.093s
But when I run the script on my company CentOS server, the running cpu is above 500% and completed in more than 15 minutes.
input:
time Rscript AlternativeApproaches.R
output:
real 2m39.438s
user 15m6.753s
sys 0m2.392s
- Read more about OpenMx performance on CentOS server
- 6 comments
- Log in or register to post comments

Installation error on R 3.1.2 for Linux
I'm attempting to install OpenMx in R 3.1.2 on a machine running Linux Mint 17.1 (a fork of Ubuntu 14.04). After sourcing the "getOpenMx.R" script, R downloads the package, but then hits the following error:
* installing *source* package ‘OpenMx’ ...
Change default C/C++ compiler and default compile flags by editing /usr/lib/R/etc/Makeconf
./configure: line 113: curl: command not found
ERROR: configuration failed for package ‘OpenMx’
* removing ‘~/R/x86_64-pc-linux-gnu-library/3.1/OpenMx’
Warning message:
- Read more about Installation error on R 3.1.2 for Linux
- 2 comments
- Log in or register to post comments
Pagination
- Previous page
- Page 20
- Next page