Hi all,
I am wondering if there is a way in STATA to test for/prove that two continuous variables are independent of each other. I am new to statistics so any help would be appreciated.
The one thing I can think of is using the corr command to produce a value of Pearson's correlation coefficient, like so:
. corr inf sasy
(obs=128)
inf sasy
inf 1.0000
sasy -0.4855 1.0000
This displays a negative correlation, but is there some sort of threshold, or burden of proof, with the Pearson coefficient that would sufficiently show that the two variables are independent? Is this just p=0?
Thanks,
Ethan
I am wondering if there is a way in STATA to test for/prove that two continuous variables are independent of each other. I am new to statistics so any help would be appreciated.
The one thing I can think of is using the corr command to produce a value of Pearson's correlation coefficient, like so:
. corr inf sasy
(obs=128)
inf sasy
inf 1.0000
sasy -0.4855 1.0000
This displays a negative correlation, but is there some sort of threshold, or burden of proof, with the Pearson coefficient that would sufficiently show that the two variables are independent? Is this just p=0?
Thanks,
Ethan
Comment