File tree Expand file tree Collapse file tree
pages/guide/output_analysis Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1580,6 +1580,55 @@ Not relevant - replicating an existing model described in a paper, so just used
15801580
15811581## Test yourself
15821582
1583+ <div class =" h3-tight " ></div >
1584+
1585+ ### Quiz
1586+
1587+ ``` {r}
1588+ #| echo: false
1589+ library(webexercises) # nolint: library_call_linter
1590+ ```
1591+
1592+ ::: {.callout-note}
1593+
1594+ ## Why do we need multiple replications when analysing a DES model?
1595+
1596+ ``` {r}
1597+ #| output: asis
1598+ #| echo: false
1599+ cat(longmcq(c(
1600+ "Because replications are required to remove all randomness from the model.",
1601+ "Because each replication uses a different model structure.",
1602+ answer = paste0(
1603+ "Because each run is affected by randomness, and averaging over many ",
1604+ "replications produces a more stable and reliable estimate."
1605+ )
1606+ )))
1607+ ```
1608+
1609+ :::
1610+
1611+ ::: {.callout-note}
1612+
1613+ ## What is the core idea behind the confidence interval method for choosing the number of replications?
1614+
1615+ ``` {r}
1616+ #| output: asis
1617+ #| echo: false
1618+ cat(longmcq(c(
1619+ answer = paste0(
1620+ "Increase the number of replications until the confidence interval ",
1621+ "around the mean becomes sufficiently narrow and stable."
1622+ ),
1623+ "Run a fixed, large number of replications regardless of variability.",
1624+ "Keep adding replications until the mean exactly matches a target value."
1625+ )))
1626+ ```
1627+
1628+ :::
1629+
1630+ ### Activity
1631+
15831632Have a go for yourself!
15841633
15851634Try out both the manual and automated methods described above to work out how many replications you need for your own simulation model.
You can’t perform that action at this time.
0 commit comments