Hi,
I have data identified by postcode (string) and year (2002 to 2017). Postcodes are sometimes repeated, as they pertain to multiple years and multiple individuals (string). I have road noise exposure data for 2012 and 2017, which was estimated at postcode level. I want to fill in missing noise data from 2002 to 2011 with the 2012 noise data, and the 2013 to 2016 missing noise data with an average of 2012 and 2017 noise exposure data. How can I do this in Stata?
Thanks so much.
Sophia
I have data identified by postcode (string) and year (2002 to 2017). Postcodes are sometimes repeated, as they pertain to multiple years and multiple individuals (string). I have road noise exposure data for 2012 and 2017, which was estimated at postcode level. I want to fill in missing noise data from 2002 to 2011 with the 2012 noise data, and the 2013 to 2016 missing noise data with an average of 2012 and 2017 noise exposure data. How can I do this in Stata?
Thanks so much.
Sophia

Comment