Is there such thing as a statistical concept of orthogonality? Does somebody could provide a formal explanation about the relationship between orthogonality and conditional expectation of a RV? Here is the motivation for the question. In Greene (2011) Econometric Analysis, pg. 93, he writes
(1) "Assumption A3 states that the disturbances in the population are stochastically orthogonal to the independent variables in the model; that is, $E[\epsilon|\vec{x}]=0$"
A3: $E[\epsilon|\vec{x}]=E[\epsilon|x_1,x_2,...,x_n]=0$
Why $E[\epsilon|\vec{x}]=0$ is the same thing as to say that $e_i$ is stochastically orthogonal of each $x_i$, the independent variables in the model. How to random variables can be orthogonal?
Definition of orthogonality: it is defined in Linear Algebra and it requires at least two vectors. One possible way to say two vectors are orthogonal is that their dot product is zero, that is, if $x=(x_1,...,x_n)$ and $y=(y_1,...,y_n)$ then
$x\cdot y = 0$
Definition of conditional expectation:
$E[\epsilon|\vec{x}] = \int_\epsilon \epsilon f(\epsilon|\vec{x})d\epsilon$
How the two concepts are formally related?