Hello, I have data across 5 surveys, an extract of which is below:
ID GenderS1 GenderS2 GenderS3 GenderS4 GenderS5
1 Male Male Male Male Male
2 Male Female Male Male Male
3 Female Female Female Female Male
4 Female Female Female Female Female
5 Male Male Male Male Male
6 Male Male Male Male Male
When checking the data for consistency there is clearly an issue with person 2 and person 3 where the coding was perhaps erroneously entered.
Is there a way of listing which ID's have inconsistent data on gender? Especially for thousands of lines of data.
Thank you.
ID GenderS1 GenderS2 GenderS3 GenderS4 GenderS5
1 Male Male Male Male Male
2 Male Female Male Male Male
3 Female Female Female Female Male
4 Female Female Female Female Female
5 Male Male Male Male Male
6 Male Male Male Male Male
When checking the data for consistency there is clearly an issue with person 2 and person 3 where the coding was perhaps erroneously entered.
Is there a way of listing which ID's have inconsistent data on gender? Especially for thousands of lines of data.
Thank you.

Comment