OpenMx Help
dadrivr
Joined: 01/19/2010
Estimate individuals' values or scores on a latent variable
Is it possible with OpenMx to estimate individuals' values or scores on a latent variable? For example, using the one factor model (http://openmx.psyc.virginia.edu/svn/trunk/demo/OneFactorModel_PathRaw.R), is it possible to estimate what each case's value is on the latent factor? If so, how can this be done?
Thanks in advance!
tbates
Joined: 07/31/2009
how to test is a model is a RAM model
The new 2-part objectives in OpenMx mean an older method for testing if a model is a RAM model don't work
I used to say this:
(isS4(obj) && is(obj, "MxModel") && class(obj$objective)[1] == "MxRAMObjective")
What code do people recommend for backward (and preferably forward compatible testing of model type? Do we need to add a type= field to MXModel?
best, tim
- Read more about how to test is a model is a RAM model
- 5 comments
- Log in or register to post comments
wushenghui
Joined: 02/15/2013
Cholesky decomposition (one continuous and one binary variables)
I would like to seek for your help for the code. I would like to model a two-factor Cholesky decomposition using 1 continuous and 1 binary variable in the model. Your help is highly appreciated!
Joper
Joined: 02/23/2013
Source codes
Hello! Does anybody know how can we download the source codes of OpenMx? We didnt find links to the source codes from the OpenMx Website. Thank you!
- Read more about Source codes
- 2 comments
- Log in or register to post comments
Robert Long
Joined: 02/22/2013
Converting a Stata -sem- path model
Hi all
I am trying to convert a simple path model from Stata. In Stata I use
clear all
ssd init EE DR RO SE
ssd set observations 321
ssd set sd 15.23 10.15 16.27 1.01
ssd set correlations ///
1 \ ///
0.25 1 \ ///
0.78 0.21 1 \ ///
-0.47 -0.27 -0.35 1
sem (SE -> EE) (EE -> DR) (EE -> RO) (DR -> RO), nocapslatent
This generates the following output
------------------------------------------------------------------------------
| OIM
| Coef. Std. Err. z P>|z| [95% Conf. Interval]
- Read more about Converting a Stata -sem- path model
- 3 comments
- Log in or register to post comments
Robert Long
Joined: 02/22/2013
Expected covariance matrix is non-positive-definite
Hi all
I'm new to OpenMx. Actually I'm trying to convert some SEMs written in Stata into R for a module that I am helping to deliver, and for better or worse, we have chosen OpenMx as the R package to use.
It is a very simple path analysis. In Stata the code is just
ssd init BMI SO RT SE
ssd set correlations ///
1 \ ///
0.43 1 \ ///
0.16 0.53 1 \ ///
0.02 -0.18 -0.25 1
ssd set sd 4.46 7.09 5.68 5.97
ssd set observations 202
sem ///
( SE <- RT ) ///
( RT <- SO ) ///
( SO <- BMI ) ///
, standardized nocapslatent
S Clifford
Joined: 02/19/2013
Very basic installation question
Hi, I'm a new user with an extremely basic installation question. Basically, the installation instructions provided on the website say:
"open up an R session and copy the following line into the R command line and press return.
source('http://openmx.psyc.virginia.edu/getOpenMx.R')
A few lines of R output will scroll by and you will be asked which type of OpenMx Installation you would like. "
- Read more about Very basic installation question
- 1 comment
- Log in or register to post comments
Flo
Joined: 01/29/2013
NPSOL Error Message 6
Hello everybody,
I try to do a Monte Carlo simulation with a very simple SEM. I've got 2 latent variables and 3 categorical indicators with 3 categories per latent variable (see the attachment).
If I run my model (code is also in the attachment) I receive different error messages:
-"In model 'Title' NPSOL returned a non-zero status code 1. The final iterate satisfies the optimality conditions to the accuracy requested..."
-"In model 'Title' NPSOL returned a non-zero status code 6. The model does not satisfy the first-order optimality conditions..."
- Read more about NPSOL Error Message 6
- 2 comments
- Log in or register to post comments
rabil
Joined: 01/14/2010
OpenMx Crash - double free or corruption - CT-SEM
I'm trying to run the CT-SEM examples from Oud et al. I'm running on an 8-core system that's running Red Hat EL5. I compiled R locally (2.15.2 Patched (2013-01-22 r61734)) and I'm running OpenMx 1.3.2. I've attached the CT-SEM files (containing data, input, and continuous_time function) and the output when R crashes.
psunthud
Joined: 02/14/2012
Cannot run several examples with OpenMx 1.3.2
Hi all,
I install the OpenMx for windows today. I found that I cannot run several example scripts:
http://openmx.psyc.virginia.edu/svn/trunk/demo/BivariateSaturated_MatrixRawCholesky.R
http://openmx.psyc.virginia.edu/svn/trunk/demo/BivariateHeterogeneity_PathRaw.R
The error messages are
Error in mxModel("bivSat6", mxMatrix(type = "Full", nrow = 2, ncol = 2, :
could not find function "mxFitFunctionML"
Error in mxModel("bivariate Heterogeneity Path Specification", mxModel("group1", :
could not find function "mxFitFunctionAlgebra"
Pagination
- Previous page
- Page 28
- Next page