This is a sort of revision of my previous post:
https://www.statalist.org/forums/for...-time-variable
I figured this title was more descriptive of my issue and more open to different ways to solve it. To sum up that post, I need to add an observation with a precise Time value (which is in seconds for my dataset) for Time = 60, 120, 180, 240, and 300. I want the other variables in the new observations I create to match the last observation closest to the new time one. For example, I may have an observation at t=57.8 seconds and my next one is t=67.2 seconds. I want to add an observation for t=60 seconds and have all other variables in that observation match that of the t=57.8 observation.
Thank you so much in advance!
Nicole
https://www.statalist.org/forums/for...-time-variable
I figured this title was more descriptive of my issue and more open to different ways to solve it. To sum up that post, I need to add an observation with a precise Time value (which is in seconds for my dataset) for Time = 60, 120, 180, 240, and 300. I want the other variables in the new observations I create to match the last observation closest to the new time one. For example, I may have an observation at t=57.8 seconds and my next one is t=67.2 seconds. I want to add an observation for t=60 seconds and have all other variables in that observation match that of the t=57.8 observation.
Thank you so much in advance!
Nicole
Comment