Skip to content

Commit

Permalink
Correct caption error #55
Browse files Browse the repository at this point in the history
  • Loading branch information
athowes committed Jul 4, 2023
1 parent d1480c0 commit ff627d6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file modified docs/appendix.pdf
Binary file not shown.
Binary file modified docs/paper.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion src/docs_paper/orderly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ depends:
- docs_bayescomp-poster:
id: latest
use:
depends/naomi_results.png: fig3.png
depends/naomi-results.png: fig3.png
- plot-tikz_algorithm-flowchart:
id: latest
use:
Expand Down
4 changes: 2 additions & 2 deletions src/docs_paper/paper.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ Samples from this mixture of Gaussians may be obtained by drawing a node $\z$ wi

## Principal components analysis \label{sec:pca}

```{r aghq, fig.cap="The Gauss-Hermite quadrature nodes $\\z \\in \\mathcal{Q}(2, 3)$ for a two dimensional integral with three nodes per dimension (A). Adaption occurs based on the mode (B) and covariance matrix of the target via the Cholesky decomposition (C) or spectral decompostion (D) of the inverse curvature at the mode. In PCA-AGHQ (E) only nodes along the first $s = 1$ principal components are kept. The Scree plot (F) shows that over 90% of variation is explained by keeping just the first principal component. The integrand is $f(\\btheta) = \\text{sn}(0.5 \\theta_1, \\alpha = 2) \\cdot \\text{sn}(0.8 \\theta_1 - 0.5 \\theta_2, \\alpha = -2)$, where $\\text{sn}(\\cdot)$ is the standard skewnormal probability density function with shape parameter $\\alpha \\in \\mathbb{R}$."}
```{r aghq, fig.cap="The Gauss-Hermite quadrature nodes $\\z \\in \\mathcal{Q}(2, 3)$ for a two dimensional integral with three nodes per dimension (A). Adaption occurs based on the mode (B) and covariance matrix of the target via the Cholesky decomposition (C) or spectral decompostion (D) of the inverse curvature at the mode. In PCA-AGHQ (E) only nodes along the first $s = 1$ principal components are kept. The Scree plot (F) shows that over 90\\% of variation is explained by keeping just the first principal component. The integrand is $f(\\btheta) = \\text{sn}(0.5 \\theta_1, \\alpha = 2) \\cdot \\text{sn}(0.8 \\theta_1 - 0.5 \\theta_2, \\alpha = -2)$, where $\\text{sn}(\\cdot)$ is the standard skewnormal probability density function with shape parameter $\\alpha \\in \\mathbb{R}$."}
figA
```

Expand Down Expand Up @@ -400,7 +400,7 @@ For all methods, we simulated age-sex-district specific HIV prevalence, ART cove
Example model outputs from TMB are illustrated in Figure \ref{fig:naomi-results}.

```{r naomi-results, fig.cap="District-level model outputs for adults aged 15-49. Inference conducted with TMB."}
knitr::include_graphics("depends/naomi_results.png")
knitr::include_graphics("depends/naomi-results.png")
```

The \textsc{R} [@r] code used to produce all results we describe below is available at `github.com/athowes/naomi-aghq`.
Expand Down

0 comments on commit ff627d6

Please sign in to comment.