Published on *OpenMx* (http://openmx.psyc.virginia.edu)

By *Ryne*

Created *11/07/2010 - 11:02*

Sun, 11/07/2010 - 11:02 — Ryne [1]

Here's a beta of a new function to get standardized output from a RAM model. I've only tested it on one or two models, so I'd love some help breaking it. You have to either supply a model that uses mxRAMObjective or you have to supply the names of the A and S matrices.

Edit (11/1/10): Previous version standardized S correctly but A incorrectly. Fixed. Also improved some error messages.

Edit (12/13/10): Previous version correctly standardized model and matrix output, but incorrectly standardized A matrix on 'parameters' output. Fixed. Reminder that when using 'model' output, only the model matrices are affected: the matrices in the 'output' slot are not affected, as that would require changing model optimization information.

Attachment | Size |
---|---|

standardizeRAM.R [2] | 3.07 KB |

**Links:**

[1] http://openmx.psyc.virginia.edu/users/ryne

[2] http://openmx.psyc.virginia.edu/sites/default/files/standardizeRAM_2.R

[3] http://openmx.psyc.virginia.edu/thread/786

[4] http://openmx.psyc.virginia.edu/thread/761

[5] http://openmx.psyc.virginia.edu/forums/openmx-developer-forums/r-functions-and-user-interface