Hi,
I have a data set with multiple observations per subject, and for one particular variable there is a value for the last observation for each subject, but for other observations within the subject the value is missing - e.g.,
id1 obs1 .
id1 obs2 .
id1 obs3 .
id1 obs4 x
How can I set the value of the variable to "x" within each subject's entire BY group, so that each observation for the same subject has the value "x"?
Thanks so much for any insight - I haven't been able to figure out a way to program this using FIRST.variables or LAST.variables.
NG