Latent Growth Curve Biometric Model

2 replies [Last post]
koak's picture
Offline
Joined: 05/10/2012

Hello again

OK today's challenge has been getting the Latent Growth curve model to work for my data. I need to covary for 4 variables (age, sex, education and marital status). I think I am having a problem with the model.
The model is reporting non-conformable arrays. I just can't find where or what I need to change. Help greatly appreciated :-)

Script is attached.

Thank you heaps in advance

Karen

AttachmentSize
Latent Growth Curve.doc33.5 KB
tbates's picture
Offline
Joined: 07/31/2009
FAQ: unexpected symbol

> it says there is an unexpected symbol in the model, but gives me no hints to where!

R will give you a hint where: the error message includes the closest guess R can make about where it got confused.

This is (now) a common error

PS: You will avoid a lot of grief if you use a programmer's editor (or R Studio etc.) to work in your R files as .txt Working in .doc is asking for trouble with smart and dumb quotes, etc.

koak's picture
Offline
Joined: 05/10/2012
Now just the non conformable arrays problem

I have managed to get rid of my error problem. Now it is just the non-conformable arrays problem. I have re-worked the script (attached).

I usually work directly in R scripts for my scripts!

Thanks heaps

Karen

AttachmentSize
Latent Growth Curve.doc 33.5 KB