PhD

The LaTeX sources of my Ph.D. thesis
git clone https://esimon.eu/repos/PhD.git
Log | Files | Refs | README | LICENSE

rellda plate.tex (1538B)


      1 \begin{tikzpicture}[node distance=5mm]
      2 	\node[pdiag observed, opacity=0] (ff) {\(\rndm{f}\)};
      3 	\node[pdiag latent, above=of ff] (r) {\(\rndm{r}_i\)};
      4 	\node (fdots) {\(\cdots\)};
      5 	\node[pdiag observed, left=1mm of ff] (f1) {\(\rndm{f}_{ij}\)};
      6 	\node[pdiag observed, right=1mm of ff] (f2) {\(\rndm{f}_{ik}\)};
      7 	\draw[arrow] (r) -- (f1);
      8 	\draw[arrow] (r) -- (f2);
      9 
     10 	\coordinate (p1lspace) at ($(f2.south) + (0,-2mm)$);
     11 	\node[pdiag plate, inner sep=2.5mm, fit=(r) (f1) (f2) (p1lspace)] (p1) {};
     12 
     13 	\node[pdiag latent, above=of r] (theta) {\(\rndm{\theta}_d\)};
     14 	\coordinate (p2lspace) at ($(p1.south) + (0,-5mm)$);
     15 	\node[pdiag plate, fit=(p1) (theta) (p2lspace)] (p2) {};
     16 	\draw[arrow] (theta) -- (r);
     17 
     18 
     19 	\makeatletter
     20 	\ifthesis@presentation
     21 		\node[right=15mm of theta] (alpha) {\(\alpha\)};
     22 		\node[pdiag latent, left=19mm of ff, inner sep=0.1mm] (phi) {\(\rndm{\phi}_{rj}\)};
     23 		\coordinate (p3lspace) at ($(phi.south) + (0,-3mm)$);
     24 	\else
     25 		\node[right=12mm of theta] (alpha) {\(\alpha\)};
     26 		\node[pdiag latent, left=15mm of ff] (phi) {\(\rndm{\phi}_{rj}\)};
     27 		\coordinate (p3lspace) at ($(phi.south) + (0,-2mm)$);
     28 	\fi
     29 	\makeatother
     30 	\draw[arrow] (alpha) -- (theta);
     31 	\node[pdiag plate, inner sep=2.5mm, fit=(phi) (p3lspace)] (p3) {};
     32 	\draw[arrow] (phi) -- (f1);
     33 
     34 	\node[above=of phi] (beta) {\(\beta\)};
     35 	\draw[arrow] (beta) -- (phi);
     36 
     37 	\node[anchor=south east] at (p1.south east) {\(n_d\)};
     38 	\node[anchor=south east] at (p2.south east) {\(D\)};
     39 	\node[anchor=south east] at (p3.south east) {\(|\relationSet|\)};
     40 \end{tikzpicture}