Please i want to know the different situations or cases where we can use the weighted pearson or spearman correlation?
My situation is that i want to study the correlation between iron intake and age among representative subsample of subjects. I have the corresponding weight of each observation.
When i have used correlation without weighting data, pearson test result was negative but when i have weighted observations, correlation was positive.
Beforehand is grateful