Skip to content

Commit

Permalink
replace tikz picture with png
Browse files Browse the repository at this point in the history
  • Loading branch information
elizavetasemenova committed Mar 29, 2024
1 parent 375c7d2 commit 5d24634
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions 15_hierarchical_modelling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -367,27 +367,8 @@
"source": [
"On the level of data, hierarchies usually are expressed in terms of groups:\n",
"\n",
"```{tikz}\n",
"% Nodes\n",
"\\node (pop) {population}\n",
" % Second level nodes\n",
" child { node (group1) {group1}\n",
" % Third level nodes for Group 1\n",
" child {node {$y_{11}$} }\n",
" }\n",
" child { node (group2) {group2}\n",
" % Third level nodes for Group 2\n",
" child { node {$y_{21}$} }\n",
" child { node {$y_{22}$} }\n",
" % Add more children for Group 2 as needed\n",
" };\n",
"![](assets/pop_group.png)\n",
"\n",
"% Arrows\n",
" \\draw[->] (pop) -- (group1);\n",
" \\draw[->] (pop) -- (group2);\n",
" \\draw[->] (pop) -- (group2);\n",
" \\draw[->] (pop) -- (group2);\n",
"```\n",
"\n",
"For example, $y_{2j}$ here could represent repeated measurements within the same group."
]
Expand Down
Binary file added assets/pop_group.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5d24634

Please sign in to comment.