Hi all,
I am very new to STATA and unfortunately working on a deadline to submit a cleaned dataset.
Can someone please help me with the following?
I have three variables of interest. Day the observation is collected (start_day), location incorrectly entered (location) and correct locations (location2).
For example I would like to replace all observations with "london" under variable location WITH "durban" under new variable location2 IF the day was 18
I have looked on the STATA help section and all over the internet but haven't been able to find a solution.
I am very new to STATA and unfortunately working on a deadline to submit a cleaned dataset.
Can someone please help me with the following?
I have three variables of interest. Day the observation is collected (start_day), location incorrectly entered (location) and correct locations (location2).
For example I would like to replace all observations with "london" under variable location WITH "durban" under new variable location2 IF the day was 18
I have looked on the STATA help section and all over the internet but haven't been able to find a solution.
Comment