OpenMx General Help

Cannot run several examples with OpenMx 1.3.2
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"

Aggregating covariate patterns
I'm working with quite large data sets ~500000 lines of 4-28 variables (number of covariate patterns >500). I'm trying to simplify the input data into OpenMx by aggregating covariate patterns so that I can specify one line per unique pattern, and then multiply the objective function by how many observations there are of the specific pattern. The reason for me to do this is that I want to save computing time.
- Read more about Aggregating covariate patterns
- 3 comments
- Log in or register to post comments

Selecting submatrix within functions
myFun <- function() {
x <- 2
cat("Matrix in R:\n")
A1 <- matrix(1:16, ncol=4, nrow=4)
B1 <- A1[1:x,1:x, drop=FALSE]
print(B1)
myModel <- mxModel("test",
A2 <- mxMatrix("Full", nrow=4, ncol=4, values=1:16, name="A2"),
- Read more about Selecting submatrix within functions
- 4 comments
- Log in or register to post comments

Problem with CIs (to close to point estimate)
Fitting tri-variate models with CIs but CIs look odd.
They are to close to the point estimate and lower point is sometimes higher that point estimate.
Below a selection
MZMmodel.sdAm[1,1] 3.224423e-01 0.32244499 0.39122315
MZMmodel.sdAm[1,2] 4.477139e-01 0.58554106 0.58555366
MZMmodel.sdAm[1,3] 8.285475e-01 0.82850806 0.82855803
MZMmodel.sdAm[2,1] 4.477139e-01 0.58554106 0.58555366
MZMmodel.sdAm[2,2] 4.104425e-01 0.41044353 0.41043733
MZMmodel.sdAm[2,3] 4.554080e-01 0.45540625 0.61216648
MZMmodel.sdAm[3,1] 8.285475e-01 0.82850806 0.82855803
- Read more about Problem with CIs (to close to point estimate)
- 1 comment
- Log in or register to post comments

CIs vs. fit statistics
I've calculated genetic and environmental cross-trait correlations in a bivariate model, based on the correlational approach for scalar and non-scalar sex limitations (Neale et al., 2006, Twin Research and Human Genetics).
I've tested their significance by looking at the CIs and by checking what happens when I drop each parameter.
Now I have the situation where zero lies within the CIs - but when I drop the parameter, the model changes significantly. How is that possible (--> output attached!)?
(For a different phenotype, this didn't happen.)
- Read more about CIs vs. fit statistics
- 15 comments
- Log in or register to post comments

Inflated disturbance estimate
- Read more about Inflated disturbance estimate
- 2 comments
- Log in or register to post comments

Exctract CI values
Is it possible to extract values of upper and lower bounds of CI separately? Let's say I would like to estimate CI's for path estimates for males by introducing the following command:
ciVm = mxCI(c('am','cm','em'))
The only thing I am able to get is:
> QualACEFit@output$confidenceIntervals
lbound ubound
MZM.am[1,1] 6.128870 10.699917
MZM.cm[1,1] -7.901978 7.901978
MZM.em[1,1] 3.775610 5.115599
What I am interested in is to get, e.g., a value for the lower boud of CI for am. Is that feasible somehow?
- Read more about Exctract CI values
- 3 comments
- Log in or register to post comments

clustered/multilevel sampling
I have data from a survey, e.g, several Items answered by pupils within several schools. And further I want to confirm that there are 4 latent with assumed loadings on the Items (CFA assuming a normal distribution). Is it possible to analyze this multilevel structure (school/pupil) with OpenMx (some way to get a Mplus-like handling 'Type=complex cluster=school')?
Thanks in advance,
René
- Read more about clustered/multilevel sampling
- 2 comments
- Log in or register to post comments

Estimation of RAM-model
But please help me understand: When I specify a path like
mxPath(
from=latents, # names of latent variables
arrows=2,
connect='single',
free=T,
values=NA,
labels=('lab1','lab2','lab3')
)
and run a model (RAM) with this and other path for the indicators with mxRun(), are 'lab1', 'lab2', 'lab3' the estimates of variances of the latent variables or are they estimates of variances of the latent disturbance?
Thanks in advance!!
- Read more about Estimation of RAM-model
- 2 comments
- Log in or register to post comments

lbound for variances
I need some assistance:
When running my model (factor analysis with four indicators) with mxRun() I get a negative residual variance. So I used lbound = 0 for the estimate of this variance. The output gives me 0 for the estimate. I wonder whether OpenMx really estimates there or does it try to estimate in the direction of the old, negative estimate and stop at the lower bound of 0.
If this is not detailed enough I could provide my script and full output.
Thanks in advance!
Sophia
- Read more about lbound for variances
- 1 comment
- Log in or register to post comments
Pagination
- Previous page
- Page 12
- Next page