Skip to content

Commit 600549b

Browse files
committed
minor changes to the vignette
1 parent ce9bdb8 commit 600549b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vignettes/bayesRecon.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ A <- recon.matrices$A
171171
To reconcile using Bottom-Up Important Sampling (BUIS) we
172172
we use the function `reconc_BUIS`, passing to it
173173
the $\mathbf{S}$ matrix, the *base forecasts*, the type of the base forecasts (`in_type`="samples") and whether the samples are discrete or integer (`distr` = "discrete").
174-
The examples shown later perform instead reconciliation of Gaussian base forecasts, in which case (`in_type`="params").
175174

176175

177176
``` {r reconc}
@@ -183,7 +182,8 @@ recon.res <- bayesRecon::reconc_BUIS(
183182
seed = 42
184183
)
185184
```
186-
The function returns samples from the *reconciled forecast distribution*.
185+
186+
Here we obtain samples from the reconciled forecast distribution.
187187
```{r res}
188188
reconciled_samples <- recon.res$reconciled_samples
189189
dim(reconciled_samples)
@@ -392,7 +392,7 @@ for (s in infantMortality) {
392392
}
393393
```
394394

395-
Build the $\mathbf{S}$ matrix.
395+
Now we build the $\mathbf{S}$ matrix.
396396

397397
```{r infants-s, dpi=300, out.width = '70%', fig.align='center', fig.cap="**Figure 6**: Infants mortality - The aggregating matrix A (red=1, yellow=0).", fig.dim = c(8, 8)}
398398
# we have 16 bottom time series, and 11 upper time series

0 commit comments

Comments
 (0)