Non-Linear Constraint in Survival Ana... PreviousNext
Mplus Discussion > Growth Modeling of Longitudinal Data >
Message/Author
 ACC posted on Monday, March 11, 2013 - 3:42 pm
Hi. I'm following along to "Applications of continuous-time survival in latent variable models" on the website. I see that Table 6 includes info on a log-linear model, but I didn't see code for it. Would it be possible to show how to do this next model? Just the model constraint part that is? Thanks so much. I'd like to do something similar in the work I'm doing. I've used the posted code to do similar analyses and now would like to fit the log-linear model. Thanks!
 Linda K. Muthen posted on Monday, March 11, 2013 - 4:02 pm
Can you post a link to this. I'm not sure where on the website you are looking.
 ACC posted on Monday, March 11, 2013 - 10:22 pm
http://www.statmodel.com/examples/penn.shtml#lily
 Linda K. Muthen posted on Tuesday, March 12, 2013 - 4:46 pm
We don't have an input but the following should work:

new(b);
p2 = exp(log(p1)+b*1);
p3 = exp(log(p1)+b*2);
p4 = exp(log(p1)+b*3);
p5 = exp(log(p1)+b*4);
p6 = exp(log(p1)+b*5);
p7 = exp(log(p1)+b*6);
p8 = exp(log(p1)+b*7);
p9 = exp(log(p1)+b*8);
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: