I'm writing code to calculate if the correlation between two random variables is significant.
I've recently come across Fisher's z transformation as a method for finding significance. But from reading around:
it seems this transform only applies to normal variables. A lot of the variables I'm working with aren't normal. Is there a corresponding transform for non-normal random variables?
Background
The variables I'm dealing with
- Most of my variables have some amount of skew and so are not perfectly normally distributed.
- My dataset also has binary indicator variables, with Bernoulli distributions.
The excerpt from Wikipedia I'm concerned about
If $(X, Y)$ has a bivariate normal distribution with correlation ρ and the pairs $(X_i, Y_i)$ are independent and identically distributed, then $z$ is approximately normally distributed with mean $${1 \over 2}\ln \left({{1+\rho } \over {1-\rho }}\right),$$ and standard error $${1 \over {\sqrt {N-3}}},$$
Wouldn't this mean the underlying variables (X, Y) have to be normal?
– Connor May 19 '23 at 09:23