Included plate notation, implemented sampling from posterior distribution

This commit is contained in:
2026-01-20 16:50:06 +01:00
parent 71a9f865d2
commit 6ad2f44360
4 changed files with 389 additions and 52 deletions

3
.gitignore vendored
View File

@@ -3,6 +3,9 @@
*.pdf *.pdf
*.html *.html
# Include figures
!figure_1.pdf
# ---> JupyterNotebooks # ---> JupyterNotebooks
# gitignore template for Jupyter Notebooks # gitignore template for Jupyter Notebooks
# website: http://jupyter.org/ # website: http://jupyter.org/

View File

@@ -0,0 +1,40 @@
<mxfile host="Electron" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/29.3.0 Chrome/140.0.7339.249 Electron/38.7.2 Safari/537.36" version="29.3.0">
<diagram name="Page-1" id="jT85XBeup1NeTahS1Asv">
<mxGraphModel dx="1303" dy="810" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="1" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="BI58ZdXyUgc78HW8vuIT-15" parent="1" style="rounded=1;fillColor=none;labelPosition=center;verticalLabelPosition=middle;align=left;verticalAlign=bottom;whiteSpace=wrap;html=1;fontFamily=Georgia;fontSize=24;spacingLeft=20;spacing=11;spacingBottom=-30;" value="&lt;div&gt;&lt;span style=&quot;text-align: center; background-color: transparent; color: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));&quot;&gt;$$j=1,...,J$$&lt;/span&gt;&lt;/div&gt;" vertex="1">
<mxGeometry height="350" width="320" x="260" y="200" as="geometry" />
</mxCell>
<mxCell id="BI58ZdXyUgc78HW8vuIT-11" edge="1" parent="1" source="BI58ZdXyUgc78HW8vuIT-3" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" target="BI58ZdXyUgc78HW8vuIT-7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BI58ZdXyUgc78HW8vuIT-13" edge="1" parent="1" source="BI58ZdXyUgc78HW8vuIT-7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="BI58ZdXyUgc78HW8vuIT-8">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BI58ZdXyUgc78HW8vuIT-7" parent="1" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fontSize=24;fontFamily=Georgia;" value="$$\ln \lambda_j$$" vertex="1">
<mxGeometry height="80" width="80" x="380" y="220" as="geometry" />
</mxCell>
<mxCell id="BI58ZdXyUgc78HW8vuIT-14" parent="1" style="rounded=1;fillColor=none;labelPosition=center;verticalLabelPosition=middle;align=left;verticalAlign=bottom;whiteSpace=wrap;html=1;fontFamily=Georgia;fontSize=24;spacingLeft=0;spacing=11;spacingBottom=-30;" value="&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;$$i=1,...,n_j$$" vertex="1">
<mxGeometry height="150" width="240" x="300" y="340" as="geometry" />
</mxCell>
<mxCell id="BI58ZdXyUgc78HW8vuIT-8" parent="1" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fontSize=24;fontFamily=Georgia;fillColor=#CCCCCC;fontColor=#333333;strokeColor=#666666;" value="$$y_{ij}$$" vertex="1">
<mxGeometry height="80" width="80" x="380" y="360" as="geometry" />
</mxCell>
<mxCell id="BI58ZdXyUgc78HW8vuIT-12" edge="1" parent="1" source="BI58ZdXyUgc78HW8vuIT-6" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" target="BI58ZdXyUgc78HW8vuIT-7">
<mxGeometry relative="1" as="geometry">
<mxPoint x="360" y="185" as="sourcePoint" />
<mxPoint x="392" y="242" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="BI58ZdXyUgc78HW8vuIT-3" parent="1" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fontSize=24;fontFamily=Georgia;" value="$$\mu_0$$" vertex="1">
<mxGeometry height="80" width="80" x="320" y="100" as="geometry" />
</mxCell>
<mxCell id="BI58ZdXyUgc78HW8vuIT-6" parent="1" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fontSize=24;fontFamily=Georgia;" value="$$\sigma_0$$" vertex="1">
<mxGeometry height="80" width="80" x="440" y="100" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

File diff suppressed because one or more lines are too long

BIN
figure_1.pdf Normal file

Binary file not shown.