Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Does a significance test on Pearson's correlation coefficient require the dataset to be iid or at least independent?

    I am trying to conduct a simple correlation significance test and realized that some data points might be dependent. I have been reading up on wikipedia (https://en.wikipedia.org/wiki/Pearso...t-distribution) and it doesn't mention that the underlying dataset need to be independent. Feels something is wrong here as the data could be driven by random numbers of correlated data ...

  • #2
    I think the significance test that Stata computes in -pwcorr- depends on the iid assumption.

    But you can easily go around this. Just calculate the correlation through regression, and then you have testing robust to heteroskedasticity and auto correlation.

    Comment


    • #3
      thanks! that's super helpful

      Comment

      Working...
      X