Infinite Error Message

3 replies [Last post]
Ryne's picture
Offline
Joined: 07/31/2009

The attached code generates the following error message:

> first <- mxRun(model)	
Running Alg 
Error: Trying to evaluate 'Alg.cov' in model 'Alg' generated the error message: The label 'U[1, 1]' of matrix 'U' in model 'Alg' generated the error message: The label 'U[1, 1]' of matrix 'U' in model 'Alg' generated the error message: The label 'U[1, 1]' of matrix 'U' in model 'Alg' generated the error message: The label 'U[1, 1]' of matrix 'U' in model 'Alg' generated the error message: The label 'U[1, 1]' of matrix 'U' in model 'Alg' generated the error message: The label 'U[1, 1]' of matrix 'U' in model 'Alg' generated the error message: The label 'U[1, 1]' of matrix 'U' in model 'Alg' generated the error message: The label 'U[1, 1]' of matrix 'U' in model 'Alg' generated the error message: The label 'U[1, 1]' of matrix 'U' in model 'Alg' generated the error message: The label 'U[1, 1]' of matrix 'U' in model 'Alg' generated the error message: The label 'U[1, 1]' of matrix 'U' in model 'Alg' generated the error message: The label 'U[1, 1]' of matrix 'U' in model 'Alg' generated th
 
I'm trying to use algebras rather than constraints in a binary data model, so that the latent continuous variable under my indicators is unit normal. This is, by far, the funniest error message I've received in OpenMx.  

AttachmentSize
algebra test.R952 bytes
mspiegel's picture
Offline
Joined: 07/31/2009
Hi Ryne. I think I fixed

Hi Ryne. I think I fixed this bug in the svn trunk. Now I'm getting the error message: "Objective function returned an infinite value." See if the script is OK or not with the latest code. Also I made some changes to the square bracket specification, but it doesn't directly affect the script you wrote: http://openmx.psyc.virginia.edu/thread/684.

Steve's picture
Offline
Joined: 07/30/2009
No code attached.

No code attached.

Ryne's picture
Offline
Joined: 07/31/2009
Should be there now. I think

Should be there now. I think I've had this issue with post before, where I attach the code to a post, then preview the post, and the file gets chopped off at the preview. Is this a Drupal issue, or a user issue?