OpenMx Developer Forums

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

Improve performance of R front end of OpenMx

So I have this model and it takes 800 seconds to compile in the front end. Yes, it has some 81 submodels in it, but still... Classic Mx had finished running the script in less time whereas Open is still going after 9hrs (preliminary results only, it is possible that model is mis-specified).

This thread caught my eye: http://www.r-bloggers.com/the-new-r-compiler-package-in-r-2-13-0-some-first-experiments/

Is it worth trying to compile some bits of the OpenMx frontend to improve performance there?

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

RFC: Fixing implementation of 'all' and 'excludeself' in mxPath()

Forums

There has been some discussion of changing the behavior of mxPath() when arrows='2', all=TRUE, and paths from (a,b) and (b,a) are specified. See here for that discussion. I have become convinced that our current implementation of mxPath() needs some improvement. These improvements are orthogonal to the discussion of 'all=TRUE' for symmetric paths. I will describe the current state of the implementation, and then suggest several improvements.

Current System

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

mxCompare: make comparison optional

This is a minor proposal, but I'd like this to work:

> mxCompare2(fit1)
base comparison ep minus2LL df AIC diffLL diffdf p
1 ACE_Non_ScSL_Cor_a 24 67751.8 9976 47799.8 NA NA NA

Currently it would error: Comparison model missing.

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

Correct behavior for 'all=TRUE' for symmetric paths.

Motivated by http://openmx.psyc.virginia.edu/thread/996, Tim (Brick) and I have been talking about how mxPath behaves when arrows=2 and all=TRUE. The current behavior creates all possible paths, save for when excludeself is set to TRUE, in which case the paths from a variable to itself are created then ignored as best as I can figure (I wasn't there/don't remember the meeting for this spec).

Posted on
Picture of user. smedland Joined: 08/04/2009

constraints and SE

Forums

Hi
It would be very helpful to add a comment to the mxConstraint documentation to tell users that using this will turn off the standard errors.
I couldn't find any comments in the example ordinal data scripts advising users about this.
thanks
Sarah

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

help(package="OpenMx") doesn't look up html version

Forums

hi there,
I was expecting help(package="OpenMx") to startDynamicHelp.

Would be nice if it did, as the plain text is not very helpful :-)
t

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

mxCI working?

hi, I have a model to which I add an mxCI as follows

model <- mxModel(fit1a, mxModel(fit1a@submodels$top,mxCI("top.a21")));
fit= mxRun(model, intervals=T); 

This runs fine without error, but summary(fit) does not show a CI

> summary(fit)
snip...
Information Criteria: 
     df Penalty Parameters Penalty Sample-Size Adjusted
AIC    887.2424           7439.242                   NA
BIC -14988.3563           7541.666              7474.97

CFI: Put CFI Forumla Here. 
TLI: Put TLI Forumla Here. 
RMSEA:  NA 
timestamp: 2011-05-26 16:52:47 
Posted on
Picture of user. tbates Joined: 07/31/2009

AIC(fit1)

would it be worth getting this to work for Mx as an accessor function for AIC, with the benefit of being consilient with other functions in R?
AIC(fit1)
Error in UseMethod("logLik") :
no applicable method for 'logLik' applied to an object of class "MxModel"

Posted on
Picture of user. rgore Joined: 01/27/2011

Undocumented mx* and omx* functions as of v1648 on 05/19/2011

Forums

The goal of this forum post is to "document" the list of mx* and omx* functions that were missing documentation.

These are based on v1648 as of 05/19/2011.

Undocumented mx* functions:
mxDeparse

Undocumented omx* functions:
omxCheckMatrices
omxCheckNamespace
omxExponential
omxGetRAMDepth
omxInterval
omxNameAnonymousParameters
omxParallelCI
omxQuotes
omxRAMtoML
omxSelectCols
omxSelectRows
omxSelectRowsAndCols
omxSymbolTable
omxTransformModelPPML

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

How to use SVN version of OpenMx with pre-release versions of R

Hi all,
Wanting to try R 2.13 [1], but the svn OpenMx install doesn't seem to find the new application library path. Is it me?

[1] http://r.research.att.com/R-2.13-branch-leopard.pkg