Hi, I am using the following code to determine correlation between data with non-normal distribution. My code is as follows, but with generic variable names: spearman x1 x2 x3 x4, star(0.05)
I am encountering an issue of restricted observations for this test because x4 has less observations than x1, x2, x3. To my understanding, because spearman is a rank correlation, this restriction is mathematically necessary. However, I would like to include my full set of observations because my dataset is limited in size and x4 is of interest. Is there a way to get around this statistically using rank correlation?
I am encountering an issue of restricted observations for this test because x4 has less observations than x1, x2, x3. To my understanding, because spearman is a rank correlation, this restriction is mathematically necessary. However, I would like to include my full set of observations because my dataset is limited in size and x4 is of interest. Is there a way to get around this statistically using rank correlation?
Comment