OpenMx
Published on OpenMx (https://openmx.ssri.psu.edu)

Home > New Way to Do Mixture Models in OpenMx

1 post / 0 new
Log in [1] or register [2] to post comments
Fri, 07/09/2010 - 18:52
#1 [3]
mhunter's picture
mhunter [4]
Offline
Joined: 07/31/2009 - 15:26
New Way to Do Mixture Models in OpenMx
AttachmentSize
Binary Data exampleMixturePoisson.R [5]2.75 KB
Plain text icon exampleMixturePoisson.txt [6]4.86 KB
Plain text icon dataEarthquakes.txt [7]856 bytes

Hi All,

On my way to doing other models, I found a way to estimate independent mixture distribution models in OpenMx by using the undocumented, unsupported, but oh so useful mxRowObjective function. I've attached the R script, its plain text output, and the data. The data is from Zucchini and MacDonald's (2009) text on Hidden Markov Models, and is freely available on the book's website .

I'll add the license information to the script, add the mxCheckCloseEnough, and generally follow the template of the other scripts; then I'll add it to trunk/models/passing.

Any comments or suggestions are welcome.

Top

Copyright © 2007-2021 The OpenMx Project

Powered by Drupal

Source URL: https://openmx.ssri.psu.edu/thread/583

Links
[1] https://openmx.ssri.psu.edu/user/login?destination=node/583%23comment-form
[2] https://openmx.ssri.psu.edu/user/register?destination=node/583%23comment-form
[3] https://openmx.ssri.psu.edu/thread/583
[4] https://openmx.ssri.psu.edu/users/mhunter
[5] https://openmx.ssri.psu.edu/sites/default/files/exampleMixturePoisson.R
[6] https://openmx.ssri.psu.edu/sites/default/files/exampleMixturePoisson.txt
[7] https://openmx.ssri.psu.edu/sites/default/files/dataEarthquakes.txt