OpenMx Developer Forums

constant + free parameter substitution proposal
There has been some talk recently of simplifying the MxAlgebra interface in two regards. It would be convenient to specify constant values or matrices in an MxAlgebra statement, without having to explicitly declare a separate MxMatrix that contains constant values. It would also be convenient to specify free parameters in an MxAlgebra statment, without having to explicitly declare a separate 1 x 1 MxMatrix that contains the free parameter. We have been referring to these proposed changes as constant substitution and free parameter substitution, respectively.

algebras checked in the front-end
As of revision 769, MxAlgebra are checked for correct dimensions before the optimizer is called.
> A <- mxMatrix("Full", nrow = 1, ncol = 1, name = 'A') > B <- mxMatrix("Full", nrow = 1, ncol = 2, name = 'B') > C <- mxAlgebra(A + B, name = 'C') > model <- mxModel('model', A, B, C) > mxRun(model) Running model Error: The algebra 'model.C' in model 'model' generated the error message: non-conformable arrays
- Read more about algebras checked in the front-end
- 1 comment
- Log in or register to post comments

new 'compute' flag to mxEval()
If 'compute' is FALSE (the default), then MxAlgebra expressions returns their current value as they have been computed by the optimization call (using mxRun). If the 'compute' argument is TRUE, then MxAlgebra expressions will be calculated in R. Any references to an objective function that has not yet been calculated will return a 1 x 1 matrix with a value of NA. Users will like this feature because it allows them to compare the result of algebraic expressions as computed by the back-end against those values computed by R.
- Read more about new 'compute' flag to mxEval()
- 7 comments
- Log in or register to post comments

means vector
The means vector is now always converted into an n x 1 matrix. The argument to mxData continues to accept an R numeric vector (in fact, I don't think the mxData function currently will accept a matrix for the means argument). But the means are now always stored as an n x 1 matrix. We had some sloppiness in the R interface where sometimes it was n x 1 and sometimes it was 1 x n. I updated the test suite in light of these changes, but I did not update the /docs.
- Read more about means vector
- 8 comments
- Log in or register to post comments

the test suite
A gentle reminder that scripts must live in either the models/passing, models/failing, or demo/ directories, and in exactly one of these locations. Duplicating the files causes "make test" to run longer than necessary (which is a nuisance), but also forces the developers to make corrections to an existing script in two locations (which they will forget to do). Use the "svn mv" command when moving files in subversion. Also, when adding a script to the /demo directory, remember to update demo/00INDEX, although people have been good about that lately.
- Read more about the test suite
- 2 comments
- Log in or register to post comments

documentation-wide discussion (layout, how to include code, etc.)
Topic for discussing things that pertain to most or all of the documentation, such as software for figures, or code formatting...

demo files
for talking about the demo files
- Read more about demo files
- 8 comments
- Log in or register to post comments

Graphical output from RAM
A place to discuss DOT format output
- Read more about Graphical output from RAM
- 2 comments
- Log in or register to post comments

Ordinal Data Interface
At the last developer's meeting, it was decided that the ideas presented in Ordinal Data Proposal #2 would be implemented. The mxFIMLObjective(), mxMLObjective(), and mxRAMObjective() functions have been updated with a new argument "thresholds" (in the subversion trunk). This new argument is a character string that will be the name of the MxMatrix that will serve as the thresholds matrix. The thresholds matrix is an r x c matrix where r equals the length of the data with the most levels minus one and c must equal the dimensions of the covariance matrix.
- Read more about Ordinal Data Interface
- 1 comment
- Log in or register to post comments

mxEval
Topic for discussing mxEval
- Read more about mxEval
- 5 comments
- Log in or register to post comments
Pagination
- Previous page
- Page 22
- Next page