Difference between revisions of "Aufgaben:Exercise 4.4: Two-dimensional Gaussian PDF"
From LNTwww
Line 73: | Line 73: | ||
{{ML-Kopf}} | {{ML-Kopf}} | ||
'''(1)''' <u>Both statements are true</u>: | '''(1)''' <u>Both statements are true</u>: | ||
− | *Comparing the given 2D PDF with the general 2D PDF | + | *Comparing the given 2D–PDF with the general 2D–PDF |
− | $$f_{uv}(u,v) = \frac{\rm 1}{{\rm 2}\it\pi \cdot \sigma_u \cdot \sigma_v \cdot \sqrt{{\rm 1}-\it \rho_{\it uv}^{\rm 2}}} \cdot \rm exp\left[\frac{\rm 1}{2\cdot (\rm 1-\it \rho_{uv}^{\rm 2}{\rm )}}(\frac{\it u^{\rm 2}}{\it\sigma_u^{\rm 2}} + \frac{\it v^{\rm 2}}{\it\sigma_v^{\rm 2}} - \rm 2\it\rho_{uv}\frac{\it u\cdot \it v}{\sigma_u\cdot \sigma_v}\rm )\right],$$ | + | :$$f_{uv}(u,v) = \frac{\rm 1}{{\rm 2}\it\pi \cdot \sigma_u \cdot \sigma_v \cdot \sqrt{{\rm 1}-\it \rho_{\it uv}^{\rm 2}}} \cdot \rm exp\left[\frac{\rm 1}{2\cdot (\rm 1-\it \rho_{uv}^{\rm 2}{\rm )}}(\frac{\it u^{\rm 2}}{\it\sigma_u^{\rm 2}} + \frac{\it v^{\rm 2}}{\it\sigma_v^{\rm 2}} - \rm 2\it\rho_{uv}\frac{\it u\cdot \it v}{\sigma_u\cdot \sigma_v}\rm )\right],$$ |
− | :so it can be seen that no term with $u \cdot v$ occurs in the exponent, which is only possible with $\rho_{uv} = 0$ | + | :so it can be seen that no term with $u \cdot v$ occurs in the exponent, which is only possible with $\rho_{uv} = 0$. |
*But this means that $u$ and $v$ are uncorrelated. | *But this means that $u$ and $v$ are uncorrelated. | ||
− | *For Gaussian random variables, however, statistical independence always follows from uncorrelatedness. | + | *For Gaussian random variables, however, statistical independence always follows from uncorrelatedness. |
'''(2)''' With statistical independence holds: | '''(2)''' With statistical independence holds: | ||
− | :$$f_{uv}(u, v) = f_u(u)\cdot f_v(v) | + | :$$f_{uv}(u, v) = f_u(u)\cdot f_v(v) $$ |
− | f_u(u)=\frac{{\rm e}^{-{\it u^{\rm 2}}/{(2\sigma_u^{\rm 2})}}}{\sqrt{\rm 2\pi}\cdot\sigma_u} , | + | :$$f_u(u)=\frac{{\rm e}^{-{\it u^{\rm 2}}/{(2\sigma_u^{\rm 2})}}}{\sqrt{\rm 2\pi}\cdot\sigma_u} , $$ |
+ | :$$\it f_v{\rm (}v{\rm )}=\frac{{\rm e}^{-{\it v^{\rm 2}}/{{\rm (}{\rm 2}\sigma_v^{\rm 2}{\rm )}}}}{\sqrt{\rm 2\pi}\cdot\sigma_v}.$$ | ||
− | *By comparing coefficients, we get $\sigma_u = 0.5$ and $\sigma_v = 1$. | + | *By comparing coefficients, we get $\sigma_u = 0.5$ and $\sigma_v = 1$. |
*The quotient is thus $\sigma_u/\sigma_v\hspace{0.15cm}\underline{=0.5}$. | *The quotient is thus $\sigma_u/\sigma_v\hspace{0.15cm}\underline{=0.5}$. | ||
− | + | '''(3)''' Because $u$ is a continuous random variable: | |
− | '''(3)''' | ||
:$$\rm Pr(\it u < \rm 1) = \rm Pr(\it u \le \rm 1) =\it F_u\rm (1). $$ | :$$\rm Pr(\it u < \rm 1) = \rm Pr(\it u \le \rm 1) =\it F_u\rm (1). $$ | ||
Line 99: | Line 99: | ||
− | + | [[File:P_ID265__Sto_A_4_4_d.png|right|frame|$\rm Pr\big[(\it u < \rm 1) \cap (\it v > \rm 1)\big]$]] | |
'''(4)''' Due to the statistical independence between $u$ and $v$ holds: | '''(4)''' Due to the statistical independence between $u$ and $v$ holds: | ||
:$$\rm Pr\big[(\it u < \rm 1) \cap (\it v > \rm 1)\big] = \rm Pr(\it u < \rm 1)\cdot \rm Pr(\it v > \rm 1).$$ | :$$\rm Pr\big[(\it u < \rm 1) \cap (\it v > \rm 1)\big] = \rm Pr(\it u < \rm 1)\cdot \rm Pr(\it v > \rm 1).$$ | ||
Line 108: | Line 108: | ||
:$$\Rightarrow \hspace{0.3cm} \rm Pr\big[(\it u < \rm 1) \cap (\it v > \rm 1)\big] = \rm 0.9772\cdot \rm 0.1587 \hspace{0.15cm}\underline{ = \rm 0.1551}.$$ | :$$\Rightarrow \hspace{0.3cm} \rm Pr\big[(\it u < \rm 1) \cap (\it v > \rm 1)\big] = \rm 0.9772\cdot \rm 0.1587 \hspace{0.15cm}\underline{ = \rm 0.1551}.$$ | ||
− | The sketch illustrates the given constellation: | + | The sketch on the right illustrates the given constellation: |
− | *The PDF (blue) | + | *The PDF height lines (blue) are stretched ellipses due to $\sigma_v > \sigma_u$ in vertical direction. |
− | *Drawn in red shading is the area whose probability should be calculated in this subtask. | + | *Drawn in red (shading) is the area whose probability should be calculated in this subtask. |
− | [[File:P_ID266__Sto_A_4_4_e.png|right|frame| | + | [[File:P_ID266__Sto_A_4_4_e.png|right|frame|"Dirac wall" on the correlation line]] |
− | '''(5)''' Correct are <u>the first and the third suggested solutions</u>: | + | '''(5)''' Correct are <u>the first and the third suggested solutions</u>: |
*Because $\rho_{xy} = 1$ there is a deterministic correlation between $x$ and $y$ | *Because $\rho_{xy} = 1$ there is a deterministic correlation between $x$ and $y$ | ||
− | :⇒ All values lie on the straight line $y =K | + | :⇒ All values lie on the straight line $y =K \cdot x$. |
*Because of the standard deviations $\sigma_x = 0.5$ and $\sigma_y = 1$ it holds $K = 2$. | *Because of the standard deviations $\sigma_x = 0.5$ and $\sigma_y = 1$ it holds $K = 2$. | ||
− | *On this straight line $y = 2x$ all PDF values are infinitely large. | + | *On this straight line $y = 2x$ ⇒ all PDF values are infinitely large. |
− | *This means: The | + | *This means: The joint PDF is here a "Dirac wall". |
− | *As you can see from the sketch, the PDF values are distributed | + | *As you can see from the sketch, the PDF values are Gaussian distributed on the straight line $y = 2x$. |
− | + | *The two marginal probability densities are also Gaussian functions, each with zero mean. | |
− | *The two marginal probability densities are also Gaussian functions, each with zero mean. | + | *Because of $\sigma_x = \sigma_u$ and $\sigma_y = \sigma_v$ also holds: |
− | *Because $\sigma_x = \sigma_u$ and $\sigma_y = \sigma_v$ also holds: | ||
:$$f_x(x) = f_u(u), \hspace{0.5cm}f_y(y) = f_v(v).$$ | :$$f_x(x) = f_u(u), \hspace{0.5cm}f_y(y) = f_v(v).$$ | ||
[[File:P_ID274__Sto_A_4_4_g.png|right|frame|Probability calculation for the Dirac wall]] | [[File:P_ID274__Sto_A_4_4_g.png|right|frame|Probability calculation for the Dirac wall]] | ||
− | '''(6)''' Since the PDF of the random variable | + | '''(6)''' Since the PDF of the random variable $x$ is identical to the PDF $f_u(u)$, it also results in exactly the same probability as calculated in the subtask '''(3)''': |
:$$\rm Pr(\it x < \rm 1) \hspace{0.15cm}\underline{ = \rm 0.9772}.$$ | :$$\rm Pr(\it x < \rm 1) \hspace{0.15cm}\underline{ = \rm 0.9772}.$$ | ||
Line 136: | Line 135: | ||
'''(7)''' The random event $y > 1$ is identical to the event $x > 0.5$. | '''(7)''' The random event $y > 1$ is identical to the event $x > 0.5$. | ||
*Thus, the wanted probability is equal to: | *Thus, the wanted probability is equal to: | ||
− | :$$\rm Pr \big[(\it x | + | :$${\rm Pr}\big[(x < 1) ∩ (y > 1)\big] = \rm Pr \big[ (\it x < \rm 1)\cap (\it x > \rm 0.5) \big] = \it F_x \rm( 1) - \it F_x\rm (0.5). $$ |
− | *With the standard deviation $\sigma_x = 0.5$ follows further: | + | *With the standard deviation $\sigma_x = 0.5$ it follows further: |
:$$\rm Pr \big[(\it x > \rm 0.5) \cap (\it x < \rm 1)\big] = \rm \phi(\rm 2) - \phi(1)=\rm 0.9772- \rm 0.8413\hspace{0.15cm}\underline{=\rm 0.1359}.$$ | :$$\rm Pr \big[(\it x > \rm 0.5) \cap (\it x < \rm 1)\big] = \rm \phi(\rm 2) - \phi(1)=\rm 0.9772- \rm 0.8413\hspace{0.15cm}\underline{=\rm 0.1359}.$$ | ||
{{ML-Fuß}} | {{ML-Fuß}} |
Revision as of 17:23, 23 February 2022
We consider two-dimensional random variables, where both components are always assumed to be mean-free.
- The 2D–PDF of the random variable $(u, v)$ is:
- $$f_{uv}(u, v)={1}/{\pi} \cdot {\rm e}^{-(2u^{\rm 2} \hspace{0.05cm}+ \hspace{0.05cm}v^{\rm 2}\hspace{-0.05cm}/\rm 2)}.$$
- The following parameters are known from another two-dimensional random variable $(x, y)$ which is also Gaussian:
- $$\sigma_x= 0.5, \hspace{0.5cm}\sigma_y = 1,\hspace{0.5cm}\rho_{xy} = 1. $$
- The values of the Gaussian error integral ${\rm \phi}(x)$ and the complementary function ${\rm Q}(x) = 1- {\rm \phi}(x)$ can be found in the adjacent table.
Hints:
- The exercise belongs to the chapter Two-dimensional Gaussian Random Variables.
- Reference is also made to the chapter Gaussian distributed random variables.
- More information on this topic is provided in the (German language) learning video "Gaußsche 2D-Zufallsgrößen":
- Part 1: Gaussian random variables without statistical bindings,
- Part 2: Gaussian random variables with statistical bindings.
Questions
Solution
(1) Both statements are true:
- Comparing the given 2D–PDF with the general 2D–PDF
- $$f_{uv}(u,v) = \frac{\rm 1}{{\rm 2}\it\pi \cdot \sigma_u \cdot \sigma_v \cdot \sqrt{{\rm 1}-\it \rho_{\it uv}^{\rm 2}}} \cdot \rm exp\left[\frac{\rm 1}{2\cdot (\rm 1-\it \rho_{uv}^{\rm 2}{\rm )}}(\frac{\it u^{\rm 2}}{\it\sigma_u^{\rm 2}} + \frac{\it v^{\rm 2}}{\it\sigma_v^{\rm 2}} - \rm 2\it\rho_{uv}\frac{\it u\cdot \it v}{\sigma_u\cdot \sigma_v}\rm )\right],$$
- so it can be seen that no term with $u \cdot v$ occurs in the exponent, which is only possible with $\rho_{uv} = 0$.
- But this means that $u$ and $v$ are uncorrelated.
- For Gaussian random variables, however, statistical independence always follows from uncorrelatedness.
(2) With statistical independence holds:
- $$f_{uv}(u, v) = f_u(u)\cdot f_v(v) $$
- $$f_u(u)=\frac{{\rm e}^{-{\it u^{\rm 2}}/{(2\sigma_u^{\rm 2})}}}{\sqrt{\rm 2\pi}\cdot\sigma_u} , $$
- $$\it f_v{\rm (}v{\rm )}=\frac{{\rm e}^{-{\it v^{\rm 2}}/{{\rm (}{\rm 2}\sigma_v^{\rm 2}{\rm )}}}}{\sqrt{\rm 2\pi}\cdot\sigma_v}.$$
- By comparing coefficients, we get $\sigma_u = 0.5$ and $\sigma_v = 1$.
- The quotient is thus $\sigma_u/\sigma_v\hspace{0.15cm}\underline{=0.5}$.
(3) Because $u$ is a continuous random variable:
- $$\rm Pr(\it u < \rm 1) = \rm Pr(\it u \le \rm 1) =\it F_u\rm (1). $$
- With the mean $m_u = 0$ and the standard deviation $\sigma_u = 0.5$ we get:
- $$\rm Pr(\it u < \rm 1) = \rm \phi({\rm 1}/{\it\sigma_u})= \rm \phi(\rm 2) \hspace{0.15cm}\underline{=\rm 0.9772}. $$
(4) Due to the statistical independence between $u$ and $v$ holds:
- $$\rm Pr\big[(\it u < \rm 1) \cap (\it v > \rm 1)\big] = \rm Pr(\it u < \rm 1)\cdot \rm Pr(\it v > \rm 1).$$
- The probability ${\rm Pr}(u < 1) =0.9772$ has already been calculated.
- For the second probability ${\rm Pr}(v > 1)$ holds for reasons of symmetry:
- $$\rm Pr(\it v > \rm 1) = \rm Pr(\it v \le \rm (-1) = \it F_v\rm (-1) = \rm \phi(\frac{\rm -1}{\it\sigma_v}) = \rm Q(1) =0.1587$$
- $$\Rightarrow \hspace{0.3cm} \rm Pr\big[(\it u < \rm 1) \cap (\it v > \rm 1)\big] = \rm 0.9772\cdot \rm 0.1587 \hspace{0.15cm}\underline{ = \rm 0.1551}.$$
The sketch on the right illustrates the given constellation:
- The PDF height lines (blue) are stretched ellipses due to $\sigma_v > \sigma_u$ in vertical direction.
- Drawn in red (shading) is the area whose probability should be calculated in this subtask.
(5) Correct are the first and the third suggested solutions:
- Because $\rho_{xy} = 1$ there is a deterministic correlation between $x$ and $y$
- ⇒ All values lie on the straight line $y =K \cdot x$.
- Because of the standard deviations $\sigma_x = 0.5$ and $\sigma_y = 1$ it holds $K = 2$.
- On this straight line $y = 2x$ ⇒ all PDF values are infinitely large.
- This means: The joint PDF is here a "Dirac wall".
- As you can see from the sketch, the PDF values are Gaussian distributed on the straight line $y = 2x$.
- The two marginal probability densities are also Gaussian functions, each with zero mean.
- Because of $\sigma_x = \sigma_u$ and $\sigma_y = \sigma_v$ also holds:
- $$f_x(x) = f_u(u), \hspace{0.5cm}f_y(y) = f_v(v).$$
(6) Since the PDF of the random variable $x$ is identical to the PDF $f_u(u)$, it also results in exactly the same probability as calculated in the subtask (3):
- $$\rm Pr(\it x < \rm 1) \hspace{0.15cm}\underline{ = \rm 0.9772}.$$
(7) The random event $y > 1$ is identical to the event $x > 0.5$.
- Thus, the wanted probability is equal to:
- $${\rm Pr}\big[(x < 1) ∩ (y > 1)\big] = \rm Pr \big[ (\it x < \rm 1)\cap (\it x > \rm 0.5) \big] = \it F_x \rm( 1) - \it F_x\rm (0.5). $$
- With the standard deviation $\sigma_x = 0.5$ it follows further:
- $$\rm Pr \big[(\it x > \rm 0.5) \cap (\it x < \rm 1)\big] = \rm \phi(\rm 2) - \phi(1)=\rm 0.9772- \rm 0.8413\hspace{0.15cm}\underline{=\rm 0.1359}.$$