You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: experiments/phase1/reports/calibration.qmd
+19-40Lines changed: 19 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -52,12 +52,12 @@ print(
52
52
)
53
53
```
54
54
55
-
Histograms of posterior samples compared to the probability density of each prior. To generate the histogram, we sample $n$ particles from the posterior population, where $n$ is the effective sample size of the population, in order to reflect the weight distribution of the posterior. For each plot, the prior is plotted as a blue line and the histogram of the posterior samples is plotted in orange with a kernel density estimator overlay.
55
+
Histograms of posterior samples compared to the probability density of each prior. For each plot, the prior is plotted as a blue line and the histogram of the posterior samples is plotted in orange with a kernel density estimator overlay. To generate the histogram, we sample $n$ particles from the posterior population, where $n$ is the effective sample size of the population. Re-sampling particles in this manner reflects the posterior weight distribution, the probability mass function over accepted particles determined by the ABC-SMC algorithm perturbation kernel and prior distributions.
56
56
57
57
```{python}
58
58
#| echo: false
59
59
#| eval: false
60
-
# Preferred API ----------
60
+
# Preferred API for development in calibrationtools----------
61
61
for param in results.fitted_params:
62
62
# get values and use weights to alter histogram instead of sampling with ESS
0 commit comments