OpenMx Developer Forums

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

Square bracket operator implemented

I implemented the square bracket operator for MxAlgebra expressions. In an algebra it is now possible to write A[x, y] or A[,y] or A[x,] or A[,]. x and y must be either numeric literal values, or they can also be an arbitrary 1 x 1 matrices if you want to get fancy. A lion's share of the credit should be attributed to Tim Brick. The matrix operator and function interface that we designed made it fairly easy to implement this operator. It seemed like the square-bracket operator might be useful. See models/passing/AlgebraComputePassing.R for some examples.

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

Mixture distribution, zygosity example

I seem to have this almost working but for a pesky error:

Error: The job for model 'twinACE' exited abnormally with the error message: Objective returned invalid value.
Execution halted

Script and data files attached (albeit with an extra _ in the name of the latter, ffs).

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

empty model name

We spoke at the developer's meeting about reserved symbols for labels. The symbols that cannot be used are "." which is special as a separator between the model name and label name. Also the '[' and ']' are special and they are used for substitutions. Also it turns out that if you give a model an empty name "", things currently break. I'll probably throw an error if you try to name anything with the empty name.

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

Developers Meeting 10/30/09

The deveoper's meeting began with some talk of migrating the web server and subversion repository to a mac mini server. Some logistical issues regarding this issue were discussed. The next topic of conversation was designing an interface for the likelihood variables in a FIML objective function.

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

Superior syntax for the R interface?

Hi folks, I am just pasting in here some email discussion between Greg Carey and myself concerning the language interface. In the thread we drifted off to talk about models of assortative mating.

Greg Carey's email:

mike,
just looked at openMx and am worried that things might get unnecessarily complicated when dealing with large multivariate problems.

Posted on
Picture of user. izahn Joined: 09/02/2009

Path diagrams

One of the nice things about John Fox's sem package is that it can output path diagrams. I think this is a very nice feature, and would love to see it in OpenMx. Even better if it's implemented using grid or some other R graphics system instead of graphviz (as the sem package does). Graphviz works great once you get it installed and set up, but this can be difficult.

Posted on
No user picture. pjohnson Joined: 09/19/2009

More followup about "experienced R user" reaction

I was bugging you about R usage last month.  I think some elements in your design are going to confuse experienced R users and from your Wiki I gather they befuddle the new users as well. Some things you can addressed by making your "tutorial go slower". But you could tighten up usage instead, and avoid the confustion in the start.

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

mxModel error checking

hi,
Any chance that this could return an error: I think it will be a common mistake
(the error is entering the same submodel twice instead of two distinct models (in this case modelDZ and modelMZ).

the name clash maybe should throw an error

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

Checklist for new release

To create a new release, do the following:

  • Update the TARGET in the Makefile
  • Update the Version field in the DESCRIPTION file
  • Update the Date field in the DESCRIPTION file (NEW)
  • Rename the "trunk" in the CHANGES file to the new version number
  • Update release and possibly version in docs/source/conf.py
    (only if Sphinx documentation has changed)
Posted on
Picture of user. mspiegel Joined: 07/31/2009

Debugging sphinx documentation

Forums

After writing some documentation in a ReStructured Text (.rst) file, the next step is to run "make html" or "make latex" to build this documentation. The Sphinx build system likes to generate warning messages. Even though a warning is not an error, a warning should be fixed because it signals that there could be an error in the documentation markup. In my experience, fixing warnings generated by Sphinx can be a somewhat tricky. First off, the messages are somewhat cryptic.