Hello,

First of all i am extremely thankful to everyone whoever is helping with STATA. This forum helped me a lot in learning the software, i am here with a little query.

I have two variables related to wife and husband response toward a similar question. Well, their response are not similar at large and I needed to create a new variable where both partners have same answers. How i can do that? I am using STATA 15.1.

PS: Picture of the data is attached.


Array