I have read forums regarding the same issue and have tried using the solutions provided but nothing has worked so far.
The difference I am getting in values is extremely small though.
Correlation between weight and height is expected to be 0.3 but I am getting it as 0.2 and between weight and overweight it is expected as 0.7 but I am getting it as 0.6.