# Geometric interpretation of element by element division of one vector by another

This is my first post here, and I'm not a mathematician, so please go easy on me :)

In statistics there is a geometric interpretation of correlation that uses basic vector geometry. This is fairly straight forward, even for me: each of two vectors of data are transformed so that the length of each new vector is equal to the standard deviation of the elements in the original vector. The i'th element of the new vector x is then: $x[i]=(X[i]-mean(X))/\sqrt{n-1}$ , where n is the number of elements in the vector and X is the original data vector.

Then, the correlation between the two original vectors of data is then simply the cosine of the angle between the two transformed vectors. Neat !

Now, the really interesting (for me) thing is that if we have 3 independent vectors of data generated from the same probability distribution, let's call them X Y and Z, so the correlation between any 2 of them is close to zero, then the correlation between X/Z and Y/Z is usually close to 0.5-0.6, where X/Z is the element by element division of X by Z. I say "usually" because there are certain provisions, such that the data come from a probability distribution where near-zero values are impossible or highly unlikely (and some others which I won't go into here).

So you are probably wondering why I am posting this here and not on stats.se. Well, that's because I'm trying to get a handle on the geometric interpretation of this, and in particular, the geometric interpretation of dividing one vector by another, element by element, and I guess this is more of a maths concept.

EDIT/UPDATE: I was informed (in the real world) that it is not correct to try to interpret this element-by-element division of one vector by another geometrically. Instead, we should first take the natural log of the original data vectors (this is justified since the data are physical measurements), transform them as above, and then interpret the vectors $\ln (x)-\ln (z)$ and $\ln (y)-\ln (z)$ geometrically. Apparently "it follows" that the angle between them will be $\pi /3$ giving the required correlation of 0.5. Unfortunately it didn't "follow" for me ! Could anyone help explain ?

There is a fairly neat geometric interpretation when one of the vectors $(x,y,z)$ is thought of as variable, while the other vector is fixed, like $(3,4,5)$. Then dividing $(x,y,z)$ by $(3,4,5)$ means scaling the vector $(x,y,z)$ by different factors, namely $\frac{1}{3}$, $\frac{1}{4}$, and $\frac{1}{5}$ in the directions parallel respectively to the three axes. This can have statistical significance, if we are dividing by the vector of the means. For then we are normalizing three features of the data to have mean $1$ in each important feaure. – André Nicolas Mar 2 '12 at 20:19
@P Sellaz: When we divide the vectors $X$ and $Y$ by the vector $Z$, we are scaling are scaling $X$ and $Y$ by in a sense the same factor $Z$, but that factor acts differently in the three principal directions. So it transforms a cubical box into a more general kind of box. The usual scalar multiplication of a vector by the real number $\lambda$ might change the size of the box, but would leave it a cube. – André Nicolas Mar 2 '12 at 22:00