Hi everyone,
I just have a very short question. How could I check if two variables have the same values.
In my case, I have two variables : -power_p1- and -power_p2-.
I want to check if they have the same values. In fact, they should be the same. For example: If -power_p1- is 3500 for one observation, it should be true that -power_p2- should contain 3500 as well.
I have observed that they do not match sometimes, but I contain 1,500,000 observations. Thus, doing it "by hand" is cumbersome and a pain. For example, sometimes they are miswriting typos, e.g. -power_p1- equals 2000, and -power_p2- equals 2.
Thanks for your feedback.
Best,
Michael
I just have a very short question. How could I check if two variables have the same values.
In my case, I have two variables : -power_p1- and -power_p2-.
I want to check if they have the same values. In fact, they should be the same. For example: If -power_p1- is 3500 for one observation, it should be true that -power_p2- should contain 3500 as well.
I have observed that they do not match sometimes, but I contain 1,500,000 observations. Thus, doing it "by hand" is cumbersome and a pain. For example, sometimes they are miswriting typos, e.g. -power_p1- equals 2000, and -power_p2- equals 2.
Thanks for your feedback.
Best,
Michael
Comment