1
$\begingroup$

Suppose that Y and X are two random variables.

What is the difference between $Y|X$ and $Y|X=x$?

$\endgroup$
6
  • 3
    $\begingroup$ Neither are defined as such. When writing $\mathbb E[Y|X]$ this is understood as a random variable that is a (deterministic) transform of the random variable $X$. When writing $\mathbb E[Y|X=x]$ this is understood as the realisation of the above rv when the realisation of $X$ is $x$. $\endgroup$
    – Xi'an
    Commented Dec 7, 2021 at 20:10
  • $\begingroup$ If neither are defined as such then how can we say that $Y|X=x\sim \mathcal{N}(5x,\,\sigma^{2})\,$. Am I missing something? $\endgroup$
    – gnikol
    Commented Dec 7, 2021 at 21:00
  • 1
    $\begingroup$ This means that the $Y$ random variable, conditioned on the realization $x$ of the random variable $X$ is normally distributed with mean $5x$ and standard deviation $\sigma$. $\endgroup$ Commented Dec 7, 2021 at 21:17
  • 1
    $\begingroup$ $Y|X$ as such does not have a meaning. $Y$ is a random variable and $(X,Y)$ is a pair of random variables. $\endgroup$
    – Xi'an
    Commented Dec 8, 2021 at 7:20
  • 1
    $\begingroup$ See also the discussion on this question: stats.stackexchange.com/q/507236/7224 $\endgroup$
    – Xi'an
    Commented Dec 8, 2021 at 7:43

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.