OpenMx Developer Forums

Posted on
Picture of user. Steve Joined: 07/30/2009

Tutorials start too fast

Forums

As we begin to get comments, I think we may be surprised at how rapidly our tutorials tend to move relative to the general public of SEM'ers. We run the risk of turning people off before they even begin.

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

large function call confusion, commas, and semicolons

Forums

We spoke about this before, but, as Bill pointed out recently, having blocks of code that cannot be evaluated (and that appears to be ending in commas) is going to be a source of confusion for users. Unless we place those pieces of code in the context of a large function call--by showing that large function call as one unit before the other pieces (and possibly referring to line numbers, which can be turned on)--we should probably just make use of variables in R.

We also have some irregular usage of semicolons in the documentation that needs addressed.

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

provide warning when data includes variables which are not modeled?

The code below grabs the first 6 variables from myFADataRaw as manifest, but then provides the full n=9-variable covariance matrix to the mxModel

It runs, and gives no warning that half the variables are not modelled. Would be very helpful to say
"variables x-y are included in the covariance matrix, but do not appear in your model!"

or something similar?

########## reduction ##########

require(OpenMx)
data(myFADataRaw); myData = myFADataRaw;
manifests = names(myData)[1:6] # Just the first 6
#[1] "x1" "x2" "x3" "x4" "x5" "x6"
latents = c("G")

factorModel = mxModel(

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

Where should example data live?

Forums

Hi all,
Currently, the example on the front page doesn't work out of the box, because.

demoData = read.csv("demoOneFactor.csv", header=TRUE)
# cannot open file 'demoOneFactor.csv': No such file or directory

Just because it's so obvious on the home page, I think a lot of people will copy and paste it in, so it would be nice if it ran...

I can't see a datafile in the package called "demoOneFactor.csv"

Using the ability of R to access the web, we could do:
read.csv("http://openmx.psyc.virginia.edu/data/demoOneFactor.csv", header = TRUE)

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

mxMatrix defaults

playing with this

> mxMatrix("Stand", cov2cor(matrix(c(10,9,9,15), nrow=2)), name="Y")
Error in row(tmp) :
a matrix-like object is required as argument to 'row/col'
In addition: Warning messages:
1: In if (is.na(nrow)) { :
the condition has length > 1 and only the first element will be used
2: In if (nrow != ncol) { :
the condition has length > 1 and only the first element will be used

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

using mxMatrix

Shouldn't matrices of type "Symm" only take one triangle of data? Otherwise you can do this: run runs fine, but sees asymmetrical values in the matrix

s <- mxMatrix(type="Symm", 3, 3,
c(FALSE, TRUE, TRUE, TRUE, FALSE, TRUE, TRUE, TRUE, FALSE),
c(1, .9, .8, .8, 1, .8, .8, .8, 1),
c(NA, "free1", "free2", "free1", NA, "free3", "free2", "free3", NA))
s

Posted on
Picture of user. Steve Joined: 07/30/2009

User interface issues for ordinal data

We will be implementing estimation for ordinal data soon.

We need to lock down an interface for the user to specify what is necessary for categorical estimation.

Issues I can think of right away include:

(1) Specifying data cast. That is, which columns are ordinal? If the observed data is an R dataframe, then this information is already included. Do we insist on dataframes in order to estimate ordinal columns? Or do we add another option somewhere?

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

shared memory space between R & OpenMx AND between R & xxm

Forums

Posted on behalf of Paras:

Hi,

I am hoping that the c gurus can help me understand how OpenMx matrices
are stored, updated and passed around.

Here is the situation:
We are trying design data-structures for the block-sparse BLAS routines
and are struggling with the issue of ownership of "double" matrices. Our
key data-structure is called the "blockSparseMatrix". For example, there
may be a huge "factor-loading" matrix where each dense sub-block would
map on to one or more OpenMx parameter matrices. In the ordinary
factor-model, each dense sub-block would point to the single

Posted on
Picture of user. Steve Joined: 07/30/2009

Welcome to the Graphical User Interface forum

The work on the OpenMx GUI is just beginning. So this forum will be actively discussing the developments as they occur. We welcome input from the beta testers as well as the developers.

Posted on
Picture of user. Steve Joined: 07/30/2009

Welcome to the Documentation forum

Forums

This is a place to alert the developer team to typos or errors in the documentation, to make suggestions about how to improve the documentation, or to discuss the demo scripts that go along with the documentation.

We expect this forum to be used by the beta testers as well as the development team.