I have a large dataset with 112 variables with each giving each person's weight at attendance1, attendance2 etc. If the individual did not attend that week then the value for that week is missing as they were not weighed.
I want to create a Last Observation Carried Forward where at 112 weeks I have a value for each person that is equal to the last time they were weighed.
Does anyone know how I go about this? I can't figure it out.
I want to create a Last Observation Carried Forward where at 112 weeks I have a value for each person that is equal to the last time they were weighed.
Does anyone know how I go about this? I can't figure it out.
Comment