I want to test for correlation between dataset A and dataset B (both have numerical data). For example, dataset B consist of hemoglobin values which have different reference ranges for male and female. How to correlate this kind of data with data from set A? Should I use converted hemoglobin values based on gender or some other approach?