Dear all,
I have a variable name "village", and wanted to replace the name of village in observations 1, 3, and 5 with "village A" and in 2,4, and 6 with "village B".
How can I use command foreach or forval in stata?

Thanks for your help.

Cheers,
Ris