diff options
Diffstat (limited to 'tikz/chaussette')
-rw-r--r-- | tikz/chaussette/a.tex | 30 | ||||
-rw-r--r-- | tikz/chaussette/ba.tex | 30 |
2 files changed, 30 insertions, 30 deletions
diff --git a/tikz/chaussette/a.tex b/tikz/chaussette/a.tex index 1d001c2..595d196 100644 --- a/tikz/chaussette/a.tex +++ b/tikz/chaussette/a.tex @@ -1,33 +1,33 @@ \begin{tikzpicture} \def \h{4} -\node () at (0,1) {$X=0$}; +\node () at (0,1) {$Y=0$}; \node[rectangle,draw=bonus] (G0) at (0,0) {$\begin{matrix}\bigcirc&\bigcirc\\\bigcirc&\bigcirc\end{matrix}$}; -\node () at (\h,1) {$X=1$}; +\node () at (\h,1) {$Y=1$}; \node[rectangle,draw=bonus] (G1) at (\h,0){$\begin{matrix}\bigcirc&\bigcirc&\bigtriangleup\\&\bigcirc&\bigtriangleup\end{matrix}$}; -\node () at (2*\h,1) {$X=2$}; +\node () at (2*\h,1) {$Y=2$}; \node[rectangle,draw=bonus] (G2) at (2*\h,0){$\begin{matrix}\bigcirc&\bigcirc&\times\\&\bigcirc&\times\end{matrix}$}; \pause \node (L0) at (0,-2) {$ \begin{matrix} - P(Y=\bigcirc|X=\emph{0}) = 1\\[6pt] - P(Y=\bigtriangleup|X=\emph{0}) = 0\\[6pt] - P(Y=\times|X=\emph{0}) = 0 + P(S=\bigcirc|Y=\emph{0}) = 1\\[6pt] + P(S=\bigtriangleup|Y=\emph{0}) = 0\\[6pt] + P(S=\times|Y=\emph{0}) = 0 \end{matrix} $}; \node (L1) at (\h,-2) {$ \begin{matrix} - P(Y=\bigcirc|X=\emph{1}) = \frac{3}{5}\\[6pt] - P(Y=\bigtriangleup|X=\emph{1}) = \frac{2}{5}\\[6pt] - P(Y=\times|X=\emph{1}) = 0 + P(S=\bigcirc|Y=\emph{1}) = \frac{3}{5}\\[6pt] + P(S=\bigtriangleup|Y=\emph{1}) = \frac{2}{5}\\[6pt] + P(S=\times|Y=\emph{1}) = 0 \end{matrix} $}; \node (L2) at (2*\h,-2) {$ \begin{matrix} - P(Y=\bigcirc|X=\emph{2}) = \frac{3}{5}\\[6pt] - P(Y=\bigtriangleup|X=\emph{2}) =0 \\[6pt] - P(Y=\times|X=\emph{2}) = \frac{2}{5} + P(S=\bigcirc|Y=\emph{2}) = \frac{3}{5}\\[6pt] + P(S=\bigtriangleup|Y=\emph{2}) =0 \\[6pt] + P(S=\times|Y=\emph{2}) = \frac{2}{5} \end{matrix} $}; @@ -47,9 +47,9 @@ \pause \node (x2) at (2*\h,-3) {}; - \node (f0) at (0,-4) {$f(\emph{0}) = \bigcirc$}; - \node (f1) at (\h,-4) {$f(\emph{1}) = \bigcirc$}; - \node (f2) at (2*\h,-4) {$f(\emph{2}) = \bigcirc$}; + \node (f0) at (0,-4) {$a(\emph{0}) = \bigcirc$}; + \node (f1) at (\h,-4) {$a(\emph{1}) = \bigcirc$}; + \node (f2) at (2*\h,-4) {$a(\emph{2}) = \bigcirc$}; \draw[->] (x0) to (f0); \draw[->] (x1) to (f1); diff --git a/tikz/chaussette/ba.tex b/tikz/chaussette/ba.tex index b1cc883..3a2ffa4 100644 --- a/tikz/chaussette/ba.tex +++ b/tikz/chaussette/ba.tex @@ -1,32 +1,32 @@ \begin{tikzpicture} \def \h{4} -\node () at (-1.5,-1) {$Y=\bigcirc$}; +\node () at (-1.5,-1) {$S=\bigcirc$}; \node[rectangle,draw=,anchor=north] (G0) at (0,0) {$\begin{matrix}0&0\\0&0\\1&1\\&1\\2&2\\&2\end{matrix}$}; -\node () at (\h-1.5,-1) {$Y=\bigtriangleup$}; +\node () at (\h-1.5,-1) {$S=\bigtriangleup$}; \node[rectangle,draw=,anchor=north] (G1) at (\h,0){$\begin{matrix}1&1\end{matrix}$}; -\node () at (2*\h-1.5,-1) {$Y=\times$}; +\node () at (2*\h-1.5,-1) {$S=\times$}; \node[rectangle,draw=,anchor=north] (G2) at (2*\h,0){$\begin{matrix}2&2\end{matrix}$}; \pause \node (L0) at (0,-4.5) {$ \begin{matrix} - P(X=\emph{0}|Y=\bigcirc) = \frac{4}{10}\\[6pt] - P(X=\emph{1}|Y=\bigcirc) = \frac{3}{10}\\[6pt] - P(X=\emph{2}|Y=\bigcirc) = \frac{3}{10} + P(Y=\emph{0}|S=\bigcirc) = \frac{4}{10}\\[6pt] + P(Y=\emph{1}|S=\bigcirc) = \frac{3}{10}\\[6pt] + P(Y=\emph{2}|S=\bigcirc) = \frac{3}{10} \end{matrix} $}; \node (L1) at (\h,-4.5) {$ \begin{matrix} - P(X=\emph{0}|Y=\bigtriangleup) = 0\\[6pt] - P(X=\emph{1}|Y=\bigtriangleup) = 1\\[6pt] - P(X=\emph{2}|Y=\bigtriangleup) = 0 + P(Y=\emph{0}|S=\bigtriangleup) = 0\\[6pt] + P(Y=\emph{1}|S=\bigtriangleup) = 1\\[6pt] + P(Y=\emph{2}|S=\bigtriangleup) = 0 \end{matrix} $}; \node (L2) at (2*\h,-4.5) {$ \begin{matrix} - P(X=\emph{0}|Y=\times) = 0\\[6pt] - P(X=\emph{1}|Y=\times) = 0\\[6pt] - P(X=\emph{2}|Y=\times) =1 + P(Y=\emph{0}|S=\times) = 0\\[6pt] + P(Y=\emph{1}|S=\times) = 0\\[6pt] + P(Y=\emph{2}|S=\times) =1 \end{matrix} $}; @@ -49,9 +49,9 @@ \draw[blue] (-2+2*\h,-3.7-2*\s) rectangle (1.9+2*\h,-4.3-2*\s); \pause - \node[anchor=west] () at (-2,-6) {$f(\emph{2}) = \times$}; - \node[anchor=west] () at (-2,-6-\s) {$f(\emph{1}) = \bigtriangleup$}; - \node[anchor=west] () at (-2,-6-2*\s) {$f(\emph{0}) = \bigcirc$}; + \node[anchor=west] () at (-2,-6) {$a(\emph{2}) = \times$}; + \node[anchor=west] () at (-2,-6-\s) {$a(\emph{1}) = \bigtriangleup$}; + \node[anchor=west] () at (-2,-6-2*\s) {$a(\emph{0}) = \bigcirc$}; \node[anchor=west] (f2) at (-2.1,-6) {}; \node[anchor=west] (f1) at (-2.1,-6-\s) {}; |