Message/Author |
|
ACC posted on Monday, March 11, 2013 - 10:42 am
|
|
|
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! |
|
|
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 - 5:22 pm
|
|
|
http://www.statmodel.com/examples/penn.shtml#lily |
|
|
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 |