OpenMx Help
rabil
Joined: 01/14/2010
Error: Unknown reference 'rho' detected
I am trying to allow for correlation between some residual errors in a single common factor model with 7 methods. I want them to all equal a common correlation rho. The attached file shows how I coded the mxPath and mxAlgebra statements to link the covariances so that the covariance equals the product of the two standard deviations and the common correlation rho. When I run this using mxRun or mxTryHard:
fit.all.cov.deep2 <- mxRun(model.all.cov.deep2)
Error: Unknown reference 'rho' detected in the entity 'cov23' in model 'model_all_cov_deep2'
- Read more about Error: Unknown reference 'rho' detected
- 4 comments
- Log in or register to post comments
rabil
Joined: 01/14/2010
Single Common Factor Model with Some Residual Errors Correlated
I want to fit a single common factor model to seven different types of measurements of the same thing. However, 6 of the methods I expect to have residual errors that are positively correlated. I expect the intercorrelations to be the same among these 6 methods (fortunately) so I want to build in this assumption. There would be too many correlations to estimate separately. So I want to assume rho is the same and need to constrain, say, cov23 = sigma2*sigma3*rho, cov24=sigma2*sigma4*rho, etc. But I don't see how to do this using mxConstraints.
rabil
Joined: 01/14/2010
OpenMx Does Not Provide Correct Results for Example Code?
I'm using the latest version of OpenMx on Ubuntu 16.04. I re-installed it a few minutes ago hoping it would fix what appears to be wrong. I'm also running OpenMx on Ubuntu 15.04 on another computer which appears to work correctly.
Here is the example code from mxTryHard:
library(OpenMx)
data(demoOneFactor) # load the demoOneFactor dataframe
Anbupalam
Joined: 09/01/2012
OpenMx installation in Linux CentOS 6.8
I am not able to compile openmx under 3.3.0. I was advised to change the compiler by including
CXX=g++ in the ~/.R/Makevars file.
But the openMx is still being compiled using icpc instead of g++ and I was asked by the help desk to contact the developers.
Any help?
Thanks
Anbu.
- Read more about OpenMx installation in Linux CentOS 6.8
- 5 comments
- Log in or register to post comments
rsphadmin
Joined: 01/05/2017
R install of openmx breaks with R update 3.3.2
I had the R version of openmx 2.3.1 working on R 3.2 but after the update it no longer will install or update. I was trying to go to 2.6.9, but now not even 2.3.1 will install.
OS RHEL 6
error message attached:
jeremymiles
Joined: 12/28/2016
Using GCC 4.9
I'm trying to install OpenMx, but it will not compile. For reasons that are complex and that I don't fully understand, I cannot use GCC beyond version 4.9, and having investigated on this forum, I suspect that this is the reason for the failure.
- Read more about Using GCC 4.9
- 5 comments
- Log in or register to post comments
rabil
Joined: 01/14/2010
OpenMx Fails to install in Ubuntu 16.04
I'm running Ubuntu 16.04. I get this message:
WARNING: Failed to download libnpsol.a from http://openmx.psyc.virginia.edu/packages/npsol/linux/x86_64/gcc5.4/libnpsol.a
** libs
Here are the details:
rick@rick-CT14:~$ sudo R
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
- Read more about OpenMx Fails to install in Ubuntu 16.04
- 4 comments
- Log in or register to post comments
iloo
Joined: 05/26/2010
Optimization issues - binary with low prevalence
Hey,
I work with OpenMx using a bit different data than most others; often data comes from a full population and has quite many rows (up to 3 million). A common type of analysis is for relatives with one or more binary variables, e.g. observed disease diagnosis, where the prevalence is low, e.g. 1% to 0.05%. The complexity of the models vary from simple 2x2 covariance matrices without any definition variables to 8x8 covariance matrices with several definition variables adjusting the means/thresholds.
Marianna
Joined: 10/20/2016
Power estimation for the detection of rG and rE
How can one estimate the power for the detection of significant rG and rE in multivariate Cholesky models?
Specifically, the analysis employed a trivariate Cholesky (AE providing the best fit, with all significant rGs, and one significant rE). The CIs have been calculated for all estimates. The sample is on the small side: 200 same-sex pairs (half MZ, half DZ) and may have been underpowered for the other smaller rEs but I’m not sure what size effect I had enough power to detect.
rabil
Joined: 01/14/2010
Error Meesage from mxGenerateData from Documentation Example Code
I included "facLoads" in the mxModel arguments so I could get estimates of the factor loadings. (It was missing from code in the on-line documentation.)
When I try to use mxGenerateData, it gives an error.
http://openmx.psyc.virginia.edu/docs/OpenMx/2.6.7/_static/demo/OneFactorJoint_PathRaw.R
#
# Copyright 2007-2012 The OpenMx Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
Pagination
- Previous page
- Page 15
- Next page