[[File:P_ID423__Sto_Z_4_7.png|right|Vorgaben zur Erzeugung einer 2D-Zufallsgröße]]
[[File:P_ID423__Sto_Z_4_7.png|right|frame|Requirements for the generation of a <br>two-dimensional random variable]]
Ausgehend von statistisch unabhängigen Größen $u$ und $v$ die beide zwischen $-1$ und $+1$ gleichverteilt sind und somit jeweils die Varianz $\sigma^2 = 2/3$ besitzen, soll eine 2D-Zufallsgröße $(x, y)$ generiert werden, wobei für die Komponenten gilt:
Given statistically independent quantities $u$ and $v$,
:$$x = A \cdot u + B \cdot v + C,$$
*both of which are uniformly distributed between $-1$ and $+1$, and
:$$y= D \cdot u + E \cdot v + F.$$
*thus each have variance $\sigma^2 = 2/3$,
Die zu erzeugende 2D–Zufallsgröße $(x, y)$ soll die folgenden statistischen Eigenschaften aufweisen:
* Die Varianzen seien $\sigma_x^2 = 4$ und $\sigma_y^2 = 10$.
* Die Zufallsgröße $x$ sei mittelwertfrei $(m_x =0)$.
* Für den Mittelwert von $y$ gelte $m_y = 1$.
* Der Korrelationskoeffizient zwischen $x$ und $y$ betrage $\rho_{xy} = \sqrt{0.9} = 0.949.$
* Die Zufallsgröße $x$ besitze eine dreieckförmige WDF $f_x(x)$ entsprechend der oberen Grafik.
* Die Zufallsgröße $y$ besitze eine trapezförmige WDF $f_y(y)$ entsprechend der unteren Grafik.
generate a two-dimensional random variable $(x,\hspace{0.08cm} y)$ where for the components:
:$$x = A \cdot u + B \cdot v + C,$$
:$$y= D \cdot u + E \cdot v + F.$$
''Hinweise:''
The two-dimensional random variable $(x,\hspace{0.08cm} y)$ to be generated should have the following statistical properties:
*Die Aufgabe gehört zum Kapitel [[Stochastische_Signaltheorie/Linearkombinationen_von_Zufallsgrößen|Linearkombinationen von Zufallsgrößen]].
* Let the variances be $\sigma_x^2 = 4$ and $\sigma_y^2 = 10$.
*Insbesondere wird Bezug genommen auf die Seite [[Stochastische_Signaltheorie/Linearkombinationen_von_Zufallsgrößen#Erzeugung_korrelierter_Zufallsgr.C3.B6.C3.9Fen|Erzeugung korrelierter Zufallsgrößen]].
* Let the random variable $x$ be mean-free $(m_x =0)$.
*Um Mehrdeutigkeiten zu vermeiden wird festgelegt, dass alle Koeffizienten $A$, ... , $F$ nicht negativ sein sollen.
* For the mean of $y$ let $m_y = 1$ hold.
*Sollte die Eingabe des Zahlenwertes „0” erforderlich sein, so geben Sie bitte „0.” ein.
* The random variable $x$ possess a triangular PDF $f_x(x)$ corresponding to the above graph.
* The random variable $y$ has a trapezoidal PDF $f_y(y)$ according to the lower graph.
===Fragebogen===
Hints:
*The exercise belongs to the chapter [[Theory_of_Stochastic_Signals/Linear_Combinations_of_Random_Variables|Linear Combinations of Random Variables]].
*In particular, reference is made to the page [[Theory_of_Stochastic_Signals/Linear_Combinations_of_Random_Variables#Generation_of_correlated_random_variables|Generation of correlated random variables]].
*To avoid ambiguity, it is specified that all coefficients $A$, ... , $F$ should be non-negative.
===Questions===
<quiz display=simple>
<quiz display=simple>
{Bestimmen Sie die Koeffizienten $C$ und $F$.
{Determine the coefficients $C$ and $F$.
|type="{}"}
|type="{}"}
$C \ = $ { 0. }
$C \ = \ $ { 0. }
$F\ = $ { 1 3% }
$F\ = \ $ { 1 3% }
{Bestimmen Sie die Koeffizienten $A$ und $B$.
{Determine the coefficients $A$ and $B$.
|type="{}"}
|type="{}"}
$A \ = $ { 1.732 3% }
$A \ = \ $ { 1.732 3% }
$B \ = $ { 1.732 3% }
$B \ = \ $ { 1.732 3% }
{Bestimmen Sie die Koeffizienten $D$ und $E$, wobei $D > E$ gelten soll.
{Determine the coefficients $D$ and $E$, where $D > E$ should hold.
|type="{}"}
|type="{}"}
$D \ = $ { 3.464 3% }
$D \ = \ $ { 3.464 3% }
$E \ = $ { 1.732 3% }
$E \ = \ $ { 1.732 3% }
{Geben Sie die Maximalwerte für $x$ und $y$ an.
{Specify the maximum values for $x$ and $y$.
|type="{}"}
|type="{}"}
$x_\text{max}\ = $ { 3.464 3% }
$x_\text{max}\ = \ $ { 3.464 3% }
$y_\text{max}\ = $ { 6.196 3% }
$y_\text{max}\ = \ $ { 6.196 3% }
</quiz>
</quiz>
===Musterlösung===
===Solution===
{{ML-Kopf}}
{{ML-Kopf}}
:<b>1.</b> Aufgrund der angegebenen Mittelwerte muss gelten: <u><i>C</i> = <i>m<sub>x</sub></i> = 0</u> und <u><i>F</i> = <i>m<sub>y</sub></i> = 1</u>.
'''(1)''' Given the mean values, it must hold:
:$$ C = m_x\hspace{0.15cm}\underline{ = 0},$$
:$$ F = m_y\hspace{0.15cm}\underline{ = 1}.$$
:<b>2.</b> Unter Berücksichtigung von <i>σ</i><sup>2</sup> = 2/3 gilt:
'''(2)''' Taking into account $\sigma^2 = 2/3$ holds:
'''(3)''' With $ A = B = \sqrt{3}$ corresponding to the last subtask, two equations of determination remain for $D$ and $E$:
:Die Gleichung führt in Verbindung mit <i>D</i><sup>2</sup> + <i>E</i><sup>2</sup> = 15 und der oben angegebenen Nebenbedingung (<i>D</i> > <i>E</i>) zum Ergebnis:
:<b>4.</b> Mit <i>A</i> = <i>B</i> = 1.732 kann die Zufallsgröße <u><i>x</i> maximal den Wert 3.464</u> annehmen (wenn jeweils <i>u</i> = 1 und <i>υ</i> = 1 gilt).
'''(4)''' The random variables $x$ and $y$ resp. take their maximum values when $u= +1$ and $v= +1$ holds:
:Das Maximum von <i>y</i> ergibt sich mit diesen Parameterwerten zu <u><i>y</i><sub>max</sub> =</u> <i>D</i> + <i>E</i> + <i>F</i> <u>= 6.196</u>, der Minimalwert zu <i>y</i><sub>min</sub> = –<i>D</i> –<i>E</i> +<i>F</i> = –4.196 (siehe Skizze der 2D-WDF).
<br><br><br><br>
{{ML-Fuß}}
{{ML-Fuß}}
[[Category:Aufgaben zu Stochastische Signaltheorie|^4.3 Linearkombinationen^]]
[[Category:Theory of Stochastic Signals: Exercises|^4.3 Linear Combinations^]]
[[de:Aufgaben:Aufgabe 4.7Z: Erzeugung einer 2D–WDF]]