Hi,

I am using Stata 15 on Windows 10 OS. I have data collected in several rounds as demonstrated in the example below

Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input byte(id round var1 var2) str3 var3 int var4 str3 var5
1 1 1 25 "Yes" 2500 "Yes"
1 2 1 23 "Yes" 2500 "Yes"
2 1 1 60 "Yes" 1000 "No" 
2 2 2 60 "No"  1000 "No" 
3 1 2 75 "Yes" 3500 "Yes"
3 2 2 75 "Yes" 3500 "No" 
end
The goal is to modify any discrepancy in earlier round in cases where there's discrepancy between rounds. For instance, for id 1 change var2 in round 1 to 23, id 2 change var1 and var3 to 2 and No respectively. I would appreciate a simple way out in achieving this task.

Thanks in advance!

Best,
Stephen.