Aufgaben:Exercise 1.4Z: Sum of Ternary Quantities: Difference between revisions

From LNTwww
Fix interlanguage link: resolve redirect chain
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
   
   
{{quiz-Header|Buchseite=Stochastische Signaltheorie/Statistische Abhängigkeit und Unabhängigkeit}}
{{quiz-Header|Buchseite=Theory_of_Stochastic_Signals/Statistical_Dependence_and_Independence}}


[[File:P_ID79__Sto_Z_1_4.png|right|frame|Summe zweier Ternärgrößen  $x$  und  $y$]]
[[File:P_ID79__Sto_Z_1_4.png|right|frame|Sum of two ternary variables  $x$  and  $y$]]
Gegeben seien die ternären Zufallsgrößen
Let be given the ternary random variables


:$$x ∈ {–2, \ 0, +2},$$
:$$x ∈ {–2, \ 0, +2},$$
:$$y ∈ {–1, \ 0, +1}.$$
:$$y ∈ {–1, \ 0, +1}.$$


Diese beiden Ternärwerte treten jeweils mit gleicher Wahrscheinlichkeit auf.  Daraus wird als eine neue Zufallsgröße die Summe  $s = x + y$  gebildet.
*These two ternary values each occur with equal probability.   
 
*From this,  the sum  $s = x + y$  is formed as a new random variable.
Das nebenstehendes Schema zeigt, dass die Summe  $s$  alle ganzzahligen Werte zwischen  $–3$  und  $+3$  annehmen kann: 
*The adjacent scheme shows that the sum  $s$  can take all integer values between  $–3$  and  $+3$ :
 
:$$ s \in \{-3, -2, -1, \ 0, +1, +2, +3\}.$$
:$$ s \in \{-3, -2, -1, \ 0, +1, +2, +3\}.$$


Line 20: Line 18:




 
Hints:
''Hinweise:''
*The exercise belongs to the chapter  [[Theory_of_Stochastic_Signals/Statistical_Dependence_and_Independence|Statistical dependence and independence]].
*Die Aufgabe gehört zum  Kapitel  [[Theory_of_Stochastic_Signals/Statistische_Abhängigkeit_und_Unabhängigkeit|Statistische Abhängigkeit und Unabhängigkeit]].
   
   
*Eine Zusammenfassung der theoretischen Grundlagen mit Beispielen bringt das Lernvideo 
*The topic of this chapter is illustrated with examples in the   (German language)  learning video
::[[Statistische_Abhängigkeit_und_Unabhängigkeit_(Lernvideo)|Statistische Abhängigkeit und Unabhängigkeit]].
::[[Statistische_Abhängigkeit_und_Unabhängigkeit_(Lernvideo)|Statistische Abhängigkeit und Unabhängigkeit]]   $\Rightarrow$   "Statistical dependence and independence".






===Fragebogen===
===Questions===


<quiz display=simple>
<quiz display=simple>
{Berechnen Sie die Wahrscheinlichkeit, dass die Summe&nbsp; $s$&nbsp; positv ist:
{Calculate the probability that the sum&nbsp; $s$&nbsp; is positive:
|type="{}"}
|type="{}"}
${\rm Pr}(s>0) \ = \ $ { 0.4444 3% }
${\rm Pr}(s>0) \ = \ $ { 0.4444 3% }


{Berechnen Sie die Wahrscheinlichkeit, dass sowohl die Eingangsgröße&nbsp; $x$&nbsp; als auch die Summe&nbsp; $s$&nbsp; positiv sind:
{Calculate the probability that both the input&nbsp; $x$&nbsp; and the sum&nbsp; $s$&nbsp; are positive:
|type="{}"}
|type="{}"}
${\rm Pr}\big [(x>0) \cap (s>0)\big] \ = \ $ { 0.3333 3% }
${\rm Pr}\big [(x>0) \cap (s>0)\big] \ = \ $ { 0.3333 3% }


{Berechnen Sie die bedingte Wahrscheinlichkeit, dass die Eingangsgröße&nbsp; $x > 0$&nbsp; ist, wenn&nbsp; $s > 0$&nbsp; gilt:
{Calculate the conditional probability that the input variable&nbsp; $x > 0$,&nbsp; when&nbsp; $s > 0$&nbsp; holds:
|type="{}"}
|type="{}"}
${\rm Pr}(x>0\hspace{0.05cm}|\hspace{0.05cm}s>0)\ = \ $ { 0.75 3% }
${\rm Pr}(x>0\hspace{0.05cm}|\hspace{0.05cm}s>0)\ = \ $ { 0.75 3% }


{Berechnen Sie die bedingte Wahrscheinlichkeit, dass die Summe&nbsp; $s$&nbsp; positiv ist, wenn die Eingangsgröße&nbsp; $x > 0$&nbsp; ist:
{Calculate the conditional probability that the sum&nbsp; $s$&nbsp; is positive,&nbsp; when the input variable is&nbsp; $x > 0$&nbsp;:
|type="{}"}
|type="{}"}
${\rm Pr}(s>0\hspace{0.05cm}|\hspace{0.05cm}x>0)\ = \ $ { 1 }
${\rm Pr}(s>0\hspace{0.05cm}|\hspace{0.05cm}x>0)\ = \ $ { 1 }
Line 50: Line 47:
</quiz>
</quiz>


===Musterlösung===
===Solution===
{{ML-Kopf}}
{{ML-Kopf}}
[[File:P_ID99__Sto_Z_1_4_a.png|right|frame|Ternärgrößen im Venndiagramm]]
[[File:P_ID99__Sto_Z_1_4_a.png|right|frame|Ternary variables in the Venn diagram]]
In nebenstehender Grafik sind
In the adjacent graph
*die drei zum Ereignis&nbsp; $&#132;x&nbsp;>&nbsp;0&#147;$&nbsp; geh&ouml;renden Felder violett umrandet,  
*the three fields belonging to the event&nbsp; $\big[x&nbsp;>&nbsp;0\big]$&nbsp; are outlined in purple,  
* die Felder f&uuml;r&nbsp; $&#132;s&nbsp;>&nbsp;0&#147;$&nbsp; gelb hinterlegt.  
*the fields for&nbsp; $\big[ s&nbsp;>&nbsp;0\big]$&nbsp; are highlighted in yellow.




Alle gesuchten Wahrscheinlichkeiten k&ouml;nnen hier mit Hilfe der klassischen Definition ermittelt werden.
All sought probabilities can be determined here with the help of the classical definition.
<br><br>
<br><br>
'''(1)'''&nbsp; Dieses Ereignis ist durch die gelb hinterlegten Felder gekennzeichnet:
'''(1)'''&nbsp; This event is marked by the fields with yellow background:
:$$\rm Pr (\it s > \rm 0) = \rm 4/9 \hspace{0.15cm}\underline { \approx \rm 0.444}.$$
:$$\rm Pr (\it s > \rm 0) = \rm 4/9 \hspace{0.15cm}\underline { \approx \rm 0.444}.$$






'''(2)'''&nbsp; Hier gilt folgender Sachverhalt:
'''(2)'''&nbsp; The following facts hold here:
:$$\rm Pr \big[(\it x > \rm 0) \cap (\it s>\rm 0) \big ] = \rm Pr(\it x > \rm 0) =\rm 3/9\hspace{0.15cm}\underline { \approx \rm 0.333}. $$
:$$\rm Pr \big[(\it x > \rm 0) \cap (\it s>\rm 0) \big ] = \rm Pr(\it x > \rm 0) =\rm 3/9\hspace{0.15cm}\underline { \approx \rm 0.333}. $$






'''(3)'''&nbsp; Mit den Ergebnissen der Teilaufgaben&nbsp; '''(1)'''&nbsp; und&nbsp; '''(2)'''&nbsp; folgt:
'''(3)'''&nbsp; Using the results of subtasks&nbsp; '''(1)'''&nbsp; and&nbsp; '''(2)''',&nbsp; it follows:
:$$\rm Pr \big[(\it x > \rm 0) \hspace{0.05cm}| \hspace{0.05cm} (\it s > \rm 0)\big]  =  \frac{{\rm Pr} [(\it x > \rm 0) \cap (\it s > \rm 0)]}{{\rm Pr}(\it s > \rm 0)}= \frac{3/9}{4/9}\hspace{0.15cm}\underline {= 0.75}.$$
:$$\rm Pr \big[(\it x > \rm 0) \hspace{0.05cm}| \hspace{0.05cm} (\it s > \rm 0)\big]  =  \frac{{\rm Pr} [(\it x > \rm 0) \cap (\it s > \rm 0)]}{{\rm Pr}(\it s > \rm 0)}= \frac{3/9}{4/9}\hspace{0.15cm}\underline {= 0.75}.$$






'''(4)'''&nbsp; Analog zur Teilaufgabe&nbsp; '''(3)'''&nbsp; gilt nun:
'''(4)'''&nbsp; Analogous to subtask&nbsp; '''(3)'''&nbsp; now holds:
:$$\rm Pr(\it s > \rm 0 \hspace{0.05cm} | \hspace{0.05cm} \it x > \rm 0)=\frac{Pr \big[(\it x > \rm 0) \cap (\it s > \rm 0) \big]}{Pr(\it x >\rm 0)}=\rm \frac{3/9}{3/9}\hspace{0.15cm}\underline {= 1}.$$
:$$\rm Pr(\it s > \rm 0 \hspace{0.05cm} | \hspace{0.05cm} \it x > \rm 0)=\frac{Pr \big[(\it x > \rm 0) \cap (\it s > \rm 0) \big]}{Pr(\it x >\rm 0)}=\rm \frac{3/9}{3/9}\hspace{0.15cm}\underline {= 1}.$$
{{ML-Fuß}}
{{ML-Fuß}}
Line 81: Line 78:




[[Category:Theory of Stochastic Signals: Exercises|^1.3 Statistische (Un-)Abhängigkeit^]]
[[Category:Theory of Stochastic Signals: Exercises|^1.3 Statistical Dependence/Independence^]]
[[de:Aufgaben:Aufgabe 1.4Z: Summe von Ternärgrößen]]

Latest revision as of 17:53, 16 March 2026

Sum of two ternary variables  $x$  and  $y$

Let be given the ternary random variables

$$x ∈ {–2, \ 0, +2},$$
$$y ∈ {–1, \ 0, +1}.$$
  • These two ternary values each occur with equal probability. 
  • From this,  the sum  $s = x + y$  is formed as a new random variable.
  • The adjacent scheme shows that the sum  $s$  can take all integer values between  $–3$  and  $+3$ :
$$ s \in \{-3, -2, -1, \ 0, +1, +2, +3\}.$$




Hints:

  • The topic of this chapter is illustrated with examples in the  (German language)  learning video
Statistische Abhängigkeit und Unabhängigkeit   $\Rightarrow$   "Statistical dependence and independence".


Questions

1 Calculate the probability that the sum  $s$  is positive:

${\rm Pr}(s>0) \ = \ $

2 Calculate the probability that both the input  $x$  and the sum  $s$  are positive:

${\rm Pr}\big [(x>0) \cap (s>0)\big] \ = \ $

3 Calculate the conditional probability that the input variable  $x > 0$,  when  $s > 0$  holds:

${\rm Pr}(x>0\hspace{0.05cm}|\hspace{0.05cm}s>0)\ = \ $

4 Calculate the conditional probability that the sum  $s$  is positive,  when the input variable is  $x > 0$ :

${\rm Pr}(s>0\hspace{0.05cm}|\hspace{0.05cm}x>0)\ = \ $


Solution

Ternary variables in the Venn diagram

In the adjacent graph

  • the three fields belonging to the event  $\big[x > 0\big]$  are outlined in purple,
  • the fields for  $\big[ s > 0\big]$  are highlighted in yellow.


All sought probabilities can be determined here with the help of the classical definition.

(1)  This event is marked by the fields with yellow background:

$$\rm Pr (\it s > \rm 0) = \rm 4/9 \hspace{0.15cm}\underline { \approx \rm 0.444}.$$


(2)  The following facts hold here:

$$\rm Pr \big[(\it x > \rm 0) \cap (\it s>\rm 0) \big ] = \rm Pr(\it x > \rm 0) =\rm 3/9\hspace{0.15cm}\underline { \approx \rm 0.333}. $$


(3)  Using the results of subtasks  (1)  and  (2),  it follows:

$$\rm Pr \big[(\it x > \rm 0) \hspace{0.05cm}| \hspace{0.05cm} (\it s > \rm 0)\big] = \frac{{\rm Pr} [(\it x > \rm 0) \cap (\it s > \rm 0)]}{{\rm Pr}(\it s > \rm 0)}= \frac{3/9}{4/9}\hspace{0.15cm}\underline {= 0.75}.$$


(4)  Analogous to subtask  (3)  now holds:

$$\rm Pr(\it s > \rm 0 \hspace{0.05cm} | \hspace{0.05cm} \it x > \rm 0)=\frac{Pr \big[(\it x > \rm 0) \cap (\it s > \rm 0) \big]}{Pr(\it x >\rm 0)}=\rm \frac{3/9}{3/9}\hspace{0.15cm}\underline {= 1}.$$