my question is the following: let $X$ be a real random variable, $b\in\mathbb{R}$ and $X_{1},\cdots , X_{n}$ a sample of $X$ independent and identically distributed. My question is whether or not $|X_{1} - b|,\cdots , |X_{n} - b|$ is a sample of the real random variable $|X - b|$.
Thanks in advance.
Yes. Consider this example:
Let $X \sim \mathsf{Unif}(1,4)$ and $b = 2.$ Then let $Y = |X-2|.$
Simulation in R:
What do you suppose is the density function of the random variable $Y?$