Difference between revisions of "Aufgaben:Exercise 3.10Z: Rayleigh? Or Rice?"

From LNTwww
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
}}
 
}}
  
[[File:P_ID149__Sto_Z_3_10.png|right|frame|Does the present PDF describe Rayleigh or Rice?]]
+
[[File:P_ID149__Sto_Z_3_10.png|right|frame|Does the present PDF describe  "Rayleigh"  or  "Rice"?]]
 
The probability density function of the random variable  $x$  is given as follows:
 
The probability density function of the random variable  $x$  is given as follows:
 
:$$f_x(x)=\frac{\it x}{\lambda^{2}}\cdot{\rm e}^{-x^{\rm 2}/(\lambda^{\rm 2})}.$$
 
:$$f_x(x)=\frac{\it x}{\lambda^{2}}\cdot{\rm e}^{-x^{\rm 2}/(\lambda^{\rm 2})}.$$
  
Correspondingly, for the associated distribution function:
+
Correspondingly,  for the associated distribution function:
 
:$$F_x(r)= {\rm Pr}(x \le r) = 1-{\rm e}^{- r^{\rm 2}/(2 \lambda^{\rm 2})}.$$
 
:$$F_x(r)= {\rm Pr}(x \le r) = 1-{\rm e}^{- r^{\rm 2}/(2 \lambda^{\rm 2})}.$$
  
 
*It is known that the value  $x_0 = 2$  occurs most frequently.  
 
*It is known that the value  $x_0 = 2$  occurs most frequently.  
*This also means that the PDF  $f_x(x)$  is maximum at  $x = x_0 $ .
+
*This also means that the PDF  $f_x(x)$  is maximum at  $x = x_0 $.
 
 
 
 
 
 
  
  
Line 20: Line 17:
  
 
Hints:
 
Hints:
This exercise belongs to the chapter  [[Theory_of_Stochastic_Signals/Further_Distributions|Further Distributions]].
+
*This exercise belongs to the chapter  [[Theory_of_Stochastic_Signals/Further_Distributions|"Further Distributions"]].
*In particular, reference is made to the pages   [[Theory_of_Stochastic_Signals/Further_Distributions#Rayleigh_PDF|Rayleigh PDF]]  and   [[Theory_of_Stochastic_Signals/Further_Distributions#Rice_PDF|Rice PDF]] .
+
*In particular, reference is made to the sections   [[Theory_of_Stochastic_Signals/Further_Distributions#Rayleigh_PDF|"Rayleigh PDF"]]  and   [[Theory_of_Stochastic_Signals/Further_Distributions#Rice_PDF|"Rice PDF"]] .  
+
*You can check your results with interactive applet  [[Applets:PDF,_CDF_and_Moments_of_Special_Distributions|"PDF, CDF and moments of special distributions"]].
*You can check your results with interactive applet  [[Applets:WDF,_VTF_und_Momente_spezieller_Verteilungen_(Applet)|PDF, CDF and moments of special distributions]] .
 
 
*Consider the following definite integral in the solution:
 
*Consider the following definite integral in the solution:
 
:$$\int_{0}^{\infty}x^{\rm 2}\cdot {\rm e}^{ -x^{\rm 2}/\rm 2}  \, {\rm d}x=\sqrt{{\pi}/{\rm 2}}.$$
 
:$$\int_{0}^{\infty}x^{\rm 2}\cdot {\rm e}^{ -x^{\rm 2}/\rm 2}  \, {\rm d}x=\sqrt{{\pi}/{\rm 2}}.$$
Line 35: Line 31:
 
{ Which of the following statements are true?
 
{ Which of the following statements are true?
 
|type="[]"}
 
|type="[]"}
- It is a rice-distributed random size.
+
- It is a rice-distributed random variable.
+ It is a rayleigh distributed random size.
+
+ It is a rayleigh distributed random variable.
 
- The 3rd order central moment   ⇒   $\mu_3$  is zero.
 
- The 3rd order central moment   ⇒   $\mu_3$  is zero.
 
- The kurtosis has the value  $K_x = 3$.
 
- The kurtosis has the value  $K_x = 3$.
  
  
{What is the numerical value of the distribution parameter  $\lambda$ here?
+
{What is the numerical value of the distribution parameter  $\lambda$?
 
|type="{}"}
 
|type="{}"}
 
$\lambda \ = \ $ { 2 3% }
 
$\lambda \ = \ $ { 2 3% }
  
  
{What is the probability that  $x$  is less than  $x_0 = 2$ ?
+
{What is the probability that  $x$  is less than  $x_0 = 2$?
 
|type="{}"}
 
|type="{}"}
 
${\rm Pr}(x < x_0 ) \ = \ $ { 39.3 3% } $\ \%$
 
${\rm Pr}(x < x_0 ) \ = \ $ { 39.3 3% } $\ \%$
  
  
{What is the mean value of the random size $x$? Interpretation.
+
{What is the mean value of the random variable&nbsp; $x$?&nbsp; Interpretation.
 
|type="{}"}
 
|type="{}"}
 
$m_x \ = \ $ { 2.506 3% }
 
$m_x \ = \ $ { 2.506 3% }
Line 65: Line 61:
 
===Solution===
 
===Solution===
 
{{ML-Kopf}}
 
{{ML-Kopf}}
'''(1)'''&nbsp; Correct is <u>only the second proposed solution</u>.
+
'''(1)'''&nbsp; Correct is&nbsp; <u>only the second proposed solution</u>.
*Because of the given PDF there is no Rice distribution, but a <u>Rayleigh distribution</u>.  
+
*Because of the given PDF there is no Rice distribution,&nbsp; but a&nbsp; <u>Rayleigh distribution</u>.  
 
*This is asymmetric around the mean&nbsp; $m_x$&nbsp; so that&nbsp; $\mu_3 \ne 0$&nbsp;.  
 
*This is asymmetric around the mean&nbsp; $m_x$&nbsp; so that&nbsp; $\mu_3 \ne 0$&nbsp;.  
*Only in the case of a smoothly distributed random size does the kurtosis&nbsp; $K = 3$.  
+
*Only in the case of a Gaussian distributed random variable does the kurtosis&nbsp; $K = 3$.  
*For the Rayleigh distribution, a larger value&nbsp; $(K = 3.245)$ is obtained due to more pronounced PDF&ndash;emitters, independent of&nbsp; $\lambda$.  
+
*For the Rayleigh distribution,&nbsp; a larger value&nbsp; $(K = 3.245)$&nbsp; is obtained due to more pronounced PDF emitters,&nbsp; independent of&nbsp; $\lambda$.  
  
  
  
 
'''(2)'''&nbsp; The derivative of the PDF with respect to&nbsp; $x$&nbsp; yields:
 
'''(2)'''&nbsp; The derivative of the PDF with respect to&nbsp; $x$&nbsp; yields:
: $$\frac{\rm d} f_x(x)}{\rm d} x} = \frac{\rm 1}{\lambda^{\rm 2}}\cdot{\rm e}^{ - {x^{\rm 2}}/({2 \lambda^{\rm 2}})}+\frac{ x}{ \lambda^{\rm 2}}\cdot{\rm e}^{ -{x^{\rm 2}}/({ 2 \lambda^{\rm 2}})}\cdot(-\frac{2 x}{2 \lambda^{\rm 2}}). $$
+
:$$\frac{{\rm d} f_x(x)}{{\rm d} x} = \frac{\rm 1}{\lambda^{\rm 2}}\cdot{\rm e}^{ -{x^{\rm 2}}/({2 \lambda^{\rm 2}})}+\frac{ x}{ \lambda^{\rm 2}}\cdot{\rm e}^{ -{x^{\rm 2}}/({ 2 \lambda^{\rm 2}})}\cdot(-\frac{2 x}{2 \lambda^{\rm 2}}).$$
 
 
 
*From this follows as the equation of determination for&nbsp; $x_0$&nbsp; (only the positive solution is meaningful):
 
*From this follows as the equation of determination for&nbsp; $x_0$&nbsp; (only the positive solution is meaningful):
 
:$$\frac{1}{\lambda^{\rm 2}}\cdot{\rm e}^{ -{x_{\rm 0}^{\rm 2}}/{(2 \lambda^{\rm 2}})}\cdot(\rm 1-{\it x_{\rm 0}^{\rm 2}}/{\it \lambda^{\rm 2}})=0 \quad \Rightarrow \quad {\it x}_0=\it \lambda.$$
 
:$$\frac{1}{\lambda^{\rm 2}}\cdot{\rm e}^{ -{x_{\rm 0}^{\rm 2}}/{(2 \lambda^{\rm 2}})}\cdot(\rm 1-{\it x_{\rm 0}^{\rm 2}}/{\it \lambda^{\rm 2}})=0 \quad \Rightarrow \quad {\it x}_0=\it \lambda.$$
Line 83: Line 78:
  
  
'''(3)'''&nbsp; The probability we are looking for is equal to the distribution function at the point&nbsp; $r = x_0 = \lambda$:
+
'''(3)'''&nbsp; The probability we are looking for is equal to the cumulative distribution function&nbsp; $\rm (CDF)$&nbsp; at the point&nbsp; $r = x_0 = \lambda$:
 
:$${\rm Pr}(x<x_{\rm 0})={\rm Pr}( x \le x_{\rm 0})=
 
:$${\rm Pr}(x<x_{\rm 0})={\rm Pr}( x \le x_{\rm 0})=
 
F_x(x_{\rm 0})=1-{\rm e}^{-{\lambda^{\rm 2}}/({ 2 \lambda^{\rm 2}})}=1-{\rm e}^{-0.5}\hspace{0.15cm}\underline{=\rm 39.3\%}.$$
 
F_x(x_{\rm 0})=1-{\rm e}^{-{\lambda^{\rm 2}}/({ 2 \lambda^{\rm 2}})}=1-{\rm e}^{-0.5}\hspace{0.15cm}\underline{=\rm 39.3\%}.$$
Line 89: Line 84:
  
  
'''(4)'''&nbsp; For example, the mean can be calculated using the following equation:
+
'''(4)'''&nbsp; For example,&nbsp; the mean can be calculated using the following equation:
 
:$$m_x=\int_{-\infty}^{+\infty}\hspace{-0.45cm}x\cdot f_x(x)\,{\rm d}x=\int_{\rm 0}^{\infty}\frac{\it x^{\rm 2}}{\it \lambda^{\rm 2}} \cdot \rm e^{-{\it x^{\rm 2}}/({\rm 2\it \lambda^{\rm 2}})}\,{\rm d}\it x = \sqrt{{\rm \pi}/{\rm 2}}\cdot \it \lambda\hspace{0.15cm}\underline{=\rm 2.506}.$$
 
:$$m_x=\int_{-\infty}^{+\infty}\hspace{-0.45cm}x\cdot f_x(x)\,{\rm d}x=\int_{\rm 0}^{\infty}\frac{\it x^{\rm 2}}{\it \lambda^{\rm 2}} \cdot \rm e^{-{\it x^{\rm 2}}/({\rm 2\it \lambda^{\rm 2}})}\,{\rm d}\it x = \sqrt{{\rm \pi}/{\rm 2}}\cdot \it \lambda\hspace{0.15cm}\underline{=\rm 2.506}.$$
  
*The mean&nbsp; $m_x$&nbsp; is of course larger than&nbsp; $x_0$&nbsp; $(=$ maximum value of the PDF$)$, since the PDF is bounded downward but not upward.
+
*The mean&nbsp; $m_x$&nbsp; is of course larger than&nbsp; $x_0$&nbsp; $(=$ maximum value of the PDF$)$,&nbsp; since the PDF is bounded downward but not upward.
 +
 
  
  
  
'''(5)'''&nbsp; In general, for the sought probability:
+
'''(5)'''&nbsp; In general,&nbsp; for the sought probability:
 
:$${\rm Pr}(x>m_x)=1- F_x(m_x).$$
 
:$${\rm Pr}(x>m_x)=1- F_x(m_x).$$
  
*With the given distribution function and the result of the subtask&nbsp; '''(4)'''&nbsp; we obtain:
+
*With the given CDF and the result of the subtask&nbsp; '''(4)'''&nbsp; we obtain:
 
:$${\rm Pr}(x>m_x)={\rm e}^{-{m_x^{\rm 2}}/({ 2\lambda^{\rm 2})}}={\rm e}^{-\pi/ 4}\hspace{0.15cm}\underline{\approx \rm 45.6\%}.$$
 
:$${\rm Pr}(x>m_x)={\rm e}^{-{m_x^{\rm 2}}/({ 2\lambda^{\rm 2})}}={\rm e}^{-\pi/ 4}\hspace{0.15cm}\underline{\approx \rm 45.6\%}.$$
  

Latest revision as of 12:59, 3 February 2022

Does the present PDF describe  "Rayleigh"  or  "Rice"?

The probability density function of the random variable  $x$  is given as follows:

$$f_x(x)=\frac{\it x}{\lambda^{2}}\cdot{\rm e}^{-x^{\rm 2}/(\lambda^{\rm 2})}.$$

Correspondingly,  for the associated distribution function:

$$F_x(r)= {\rm Pr}(x \le r) = 1-{\rm e}^{- r^{\rm 2}/(2 \lambda^{\rm 2})}.$$
  • It is known that the value  $x_0 = 2$  occurs most frequently.
  • This also means that the PDF  $f_x(x)$  is maximum at  $x = x_0 $.



Hints:

$$\int_{0}^{\infty}x^{\rm 2}\cdot {\rm e}^{ -x^{\rm 2}/\rm 2} \, {\rm d}x=\sqrt{{\pi}/{\rm 2}}.$$



Questions

1

Which of the following statements are true?

It is a rice-distributed random variable.
It is a rayleigh distributed random variable.
The 3rd order central moment   ⇒   $\mu_3$  is zero.
The kurtosis has the value  $K_x = 3$.

2

What is the numerical value of the distribution parameter  $\lambda$?

$\lambda \ = \ $

3

What is the probability that  $x$  is less than  $x_0 = 2$?

${\rm Pr}(x < x_0 ) \ = \ $

$\ \%$

4

What is the mean value of the random variable  $x$?  Interpretation.

$m_x \ = \ $

5

With what probability is  $x$  larger than its mean  $m_x$?

${\rm Pr}(x > m_x) \ = \ $

$\ \%$


Solution

(1)  Correct is  only the second proposed solution.

  • Because of the given PDF there is no Rice distribution,  but a  Rayleigh distribution.
  • This is asymmetric around the mean  $m_x$  so that  $\mu_3 \ne 0$ .
  • Only in the case of a Gaussian distributed random variable does the kurtosis  $K = 3$.
  • For the Rayleigh distribution,  a larger value  $(K = 3.245)$  is obtained due to more pronounced PDF emitters,  independent of  $\lambda$.


(2)  The derivative of the PDF with respect to  $x$  yields:

$$\frac{{\rm d} f_x(x)}{{\rm d} x} = \frac{\rm 1}{\lambda^{\rm 2}}\cdot{\rm e}^{ -{x^{\rm 2}}/({2 \lambda^{\rm 2}})}+\frac{ x}{ \lambda^{\rm 2}}\cdot{\rm e}^{ -{x^{\rm 2}}/({ 2 \lambda^{\rm 2}})}\cdot(-\frac{2 x}{2 \lambda^{\rm 2}}).$$
  • From this follows as the equation of determination for  $x_0$  (only the positive solution is meaningful):
$$\frac{1}{\lambda^{\rm 2}}\cdot{\rm e}^{ -{x_{\rm 0}^{\rm 2}}/{(2 \lambda^{\rm 2}})}\cdot(\rm 1-{\it x_{\rm 0}^{\rm 2}}/{\it \lambda^{\rm 2}})=0 \quad \Rightarrow \quad {\it x}_0=\it \lambda.$$
  • Thus, we obtain for the distribution parameter  $\lambda = x_0\hspace{0.15cm}\underline{= 2}$.


(3)  The probability we are looking for is equal to the cumulative distribution function  $\rm (CDF)$  at the point  $r = x_0 = \lambda$:

$${\rm Pr}(x<x_{\rm 0})={\rm Pr}( x \le x_{\rm 0})= F_x(x_{\rm 0})=1-{\rm e}^{-{\lambda^{\rm 2}}/({ 2 \lambda^{\rm 2}})}=1-{\rm e}^{-0.5}\hspace{0.15cm}\underline{=\rm 39.3\%}.$$


(4)  For example,  the mean can be calculated using the following equation:

$$m_x=\int_{-\infty}^{+\infty}\hspace{-0.45cm}x\cdot f_x(x)\,{\rm d}x=\int_{\rm 0}^{\infty}\frac{\it x^{\rm 2}}{\it \lambda^{\rm 2}} \cdot \rm e^{-{\it x^{\rm 2}}/({\rm 2\it \lambda^{\rm 2}})}\,{\rm d}\it x = \sqrt{{\rm \pi}/{\rm 2}}\cdot \it \lambda\hspace{0.15cm}\underline{=\rm 2.506}.$$
  • The mean  $m_x$  is of course larger than  $x_0$  $(=$ maximum value of the PDF$)$,  since the PDF is bounded downward but not upward.



(5)  In general,  for the sought probability:

$${\rm Pr}(x>m_x)=1- F_x(m_x).$$
  • With the given CDF and the result of the subtask  (4)  we obtain:
$${\rm Pr}(x>m_x)={\rm e}^{-{m_x^{\rm 2}}/({ 2\lambda^{\rm 2})}}={\rm e}^{-\pi/ 4}\hspace{0.15cm}\underline{\approx \rm 45.6\%}.$$