OpenMx Help

Posted on
No user picture. bverhulst Joined: 03/08/2010

Loading the snowfall Package

Hi All,
I am not sure that I should post this question here or on a more general R discussion board, but here goes.
I am trying to use the snowfall package with OpenMx to use the independent = TRUE function in the mxModel command.
I am able to load the snowfall package, but when I try sfInit(parallel=T, cpus=2) the computer is fed into an infinite loop.
The first time that this happened, Windows asked for special permission to go through the Firewall (which I allowed).

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

summary(MxModel) object

trying to put OpenMxGUI into a package, i ran into a problem with the object from summary(MxModel). for some reason, the object is of class "summary.mxmodel" when all of OpenMxGUI is input using source(). in the package, however, the object is of class "table."

this is what i get when i read in the code using "source" and run the model:
> head(summary(thisOMxModel)$parameters)
name matrix row col Estimate Std.Error
1 sqrtStdE 1 1 1.9426018 0.05663194
2 sqrtStdE 2 2 2.1226024 0.08699889
3 sqrtStdE 3 3 1.8922519 0.06716601

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

OpenMx source build failed on revision 1624

I received an error on the 'resave-data' option in my most recent source build on OS X 10.6.7 from revision 1624.

Ryne-Estabrook:trunk Ryne$ make clean install
rm -rf build/*
rm -rf models/passing/temp-files/*
rm -rf models/failing/temp-files/*
cd build; R CMD build --resave-data=no ..
Unknown option: resave-data
Usage: R CMD build [options] pkgdirs

Build R packages from package sources in the directories specified by
pkgdirs.

Options:
-h, --help print short help message and exit
-v, --version print version info and exit

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

dumbfounded (or dumb) on error message

perplexed over this:

> thisOMxModel <- mxRun(thisOMxModel)
Running testModel
Error in substituteOperators(as.list(retval)) :
internal error -3 in R_decompress1
In addition: Warning message:
In substituteOperators(as.list(retval)) :
restarting interrupted promise evaluation

to get the MxModel, go to:
http://psych.colorado.edu/~carey/OpenMxGUI/weirdErrorMessage.php

everything appears normal. e.g.,
> class(thisOMxModel$MZf@data@observed$Neglect1)
[1] "ordered" "factor"
> class(thisOMxModel$MZf@data@observed$Neglect2)
[1] "ordered" "factor"

Posted on
No user picture. jlisic Joined: 04/13/2011

Derivation of the Saturated Model Likelihood result.

Hi, I've been playing a bit around with SEM models and open-mx and I am having some trouble with derivation of the 'saturated -2 log likelihood' output provided by the summary screen.

Shouldn't the Saturated model be zero always except for some machine error? Instead it tends to be fairly close to a model with 1 degree of freedom.

I might be misunderstanding something but for the saturated model where the Implied model under this condition is equal to the Sample covariance matrix which should yield a discrepancy function of zero.

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

MxMatrix object

(1) documentation for "mxMatrix" says "This functions [sic] creates a new MxMatrix object."
(2) documentation for "MxMatrix" says that it "is an S4 class."

consider:
> unit5 <- mxMatrix(name='unit5', type='Lower', nrow=2, free=FALSE, values=1)
> class(unit5)
[1] "LowerMatrix"
attr(,"package")
[1] "OpenMx"

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

How to report your error: Attach the SCRIPT if possible

Help is much easier to provide if you
1. clearly state the error (quote it from the R output)
2. give the steps to reproduce
3. attach the script that generates the error

(can this please be made sticky so it sticks at the top of the list?)

Posted on
No user picture. MNivard Joined: 12/09/2010

Error in FUN(X[[2L]], ...) : Could not find function with name + and 1 arguments

Running NucTwFam
Error in FUN(X[[2L]], ...) :
Could not find function with name + and 1 arguments

So it would appear from this error I am summing a matrixobject and empty space (hence the could not find a function for one sided summing???) in one of my mxAlgebra functions.

However I have extensively checked my code for a "+" in an maAlgebra function lead by or trailed by a non matrix object or just whitespace. I could not find such a occurence.

I am running OpenMX 1.0.6 in R 2.11

Any sugestions?

Michel

Posted on
No user picture. userzht Joined: 02/19/2011

abnormally error

Hi, everyone.

I constructed a Cholesky ACE model. When I drop parameters, one submodel (after mxRun()) showed this error:

The job for model 'AE_Cholesky' exited abnormally with the error message: Objective function returned an infinite value.

How can I deal with it? (Other submodels of similar type which dropped different parameters did run.)

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

contingency tables

am embarrassed to ask this, but a prior post (openmx.psyc.virginia.edu/thread/602) talks of fitting threshold models to contingency tables, but i have been unsuccessful in finding either instructions or an example of how to do this without writing my own functions. any help?
greg