Next:
B.1 - Monte Carlo
Up:
Checking individuals and sampling
Previous:
Appendix A - Some
Contents
Appendix B - R and JAGS code
Subsections
B.1 - Monte Carlo evaluation of Eqs. (
) and (
)
B.2 - Monte Carlo evaluation of Eq. (
)
B.3 - Monte Carlo estimate of
reported in Fig.
B.4 -
and
E
, with detailed contributions to them, using the
approximated
Eqs. (
)-(
)
B.5 - Monte Carlo estimate of
using R functions, as described in Sec.
(see Fig.
)
B.6 - Monte Carlo estimate of
JAGS from R via rjags (Sec.
)
B.7 - Check of approximated formulae
B.8 - Predicting the fractions of positives obtained sampling two different populations (Sec.
)
B.9 - JAGS model to perform the same Monte Carlo evaluation done in Appendix B.8
B.10 - JAGS model to infer
(see Sec.
)
B.11 - Inferring the proportions of infected in two different populations (see Sec.
)
B.12 - Reshaping by an informative prior the posterior distribuition obtained starting from a flat prior (see Sec.
)
B.13 - Exact calculation of
E
and
using a Beta prior (see Sec.
, footnote
)
B.14 - Approximated
from the first four moments of the distribution (see Sec.
, Eq. (
))