this post was submitted on 06 Aug 2024
31 points (97.0% liked)

chapotraphouse

13445 readers
1029 users here now

Banned? DM Wmill to appeal.

No anti-nautilism posts. See: Eco-fascism Primer

Vaush posts go in the_dunk_tank

Dunk posts in general go in the_dunk_tank, not here

Don't post low-hanging fruit here after it gets removed from the_dunk_tank

founded 3 years ago
MODERATORS
 

...Or, more rigorously, non-correlation does not imply independence.

As this little guy and everybody else knows, one of the most famous correlation coefficients out there is Pearson's correlation coefficient: cor(ξ, η) = (E[(ξ-E[ξ])(η-E[η])])/sqrt(D[ξ]D[η]), where E[x] is the mathematical expectation of random variable x, D[x] is the dispersion of random variable x, and sqrt(x) is the (prime) square root of x.

As we all know, if cor(ξ, η) != 0, then ξ and η are not independent random variables. But recently, this little guy heard that it does not follow from cor(ξ, η) = 0 that ξ and η are independent. Obviously, he craves the light of knowledge and wants to hear some examples of non-independent random variables having a correlation coefficient of 0.

top 8 comments
sorted by: hot top controversial new old
[–] Tomorrow_Farewell@hexbear.net 5 points 1 month ago* (last edited 1 month ago) (1 children)

I'll start.

Let's consider two perfectly fair three-sided coins, one with the faces labelled '-1', '0', '1', and the other - with the faces labelled '0', '1', '0'. When we conduct the following experiment, ξ will be the random variable that maps the label of the face of the first coin that we got to a real number, and η does the same for the second one.

The experiment is as follows: we toss the first coin, and, after it lands, we set the second coin to some face chosen as follows:

  • If the first coin lands on '-1' or '1', we set the second one to one of its '0' faces.
  • If the first coin lands on '0', we set the second coin to '1'.

As such, E[ξ] = -1*1/3+0*1/3+1*1/3 = 0, E[η] = 0*1/3+1*1/3+0*1/3 = 1/3, covariance cov(ξ, η) = E[(ξ-E[ξ])(η-E[η])] = (-1-0)(0-1/3)*1/3+(0-0)(1-1/3)*1/3+(1-0)(0-1/3)*1/3 = ((-1-0)-(1-0))(0-1/3)*1/3 = 0, and, thus, cor(ξ, η) = 0/sqrt(D[ξ]D[η]) = 0.
However, it's obvious that the random variables are not independent, as P(ξ = 0, η = 1) = 1/3 != 1/9 = P(ξ = 0)*P(η = 1).

[–] Flyberius@hexbear.net 5 points 1 month ago (1 children)
[–] Tomorrow_Farewell@hexbear.net 4 points 1 month ago

Perfectly fair three-faced coins.

[–] GaveUp@hexbear.net 3 points 1 month ago (1 children)

I'm ngl this is too hard to read

Maybe it'd get more attention if it was a pic of paper or latex?

[–] Tomorrow_Farewell@hexbear.net 1 points 1 month ago (1 children)

Perhaps. Although, I feel, it is too late to change things at this point, and I'm low on energy right now.
There is also the fact that, unlike my previous post, this topic is harder to understand for lay people, and there don't seem to be a lot of fellow mothheads here on Hexbear.

Seems like this one will be a failure.

[–] GaveUp@hexbear.net 2 points 1 month ago (1 children)

How did you even type those Greeks, my keyboard doesn't have them

Copy paste after googling the name?

[–] Tomorrow_Farewell@hexbear.net 1 points 1 month ago

Copy/paste, and, prior to a recent OS malfunction, I kept a file with a bunch of relevant symbols, including Greek letters.

[–] tamagotchicowboy@hexbear.net 1 points 1 month ago

This pairs well with the linear perception of time being illusory, also hismat.