I have not seen a reply to this, so I will offer a couple of feeble
comments, hoping that you might find them useful even though they don't
answer your question. It is difficult for me to understand your
question, because my SAS experience is so limited.
1. R is open
I am trying to mimic the SAS code below in R. The trick is that each
row in the dataset has variable t which controls how many times the
do-loop below will be iterated (that is, the model is fit to the
response, ifate, 0 to t-1 times for each row of data). Is it possible to
incorporate