File: Measles1861.Rd

package info (click to toggle)
r-cran-epiestim 2.2-4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 636 kB
  • sloc: sh: 15; makefile: 2
file content (45 lines) | stat: -rw-r--r-- 1,605 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{Measles1861}
\alias{Measles1861}
\title{Data on the 1861 measles epidemic in Hagelloch, Germany.}
\format{A list of two elements:
\itemize{
\item \strong{incidence:} a vector containing 48 days of observation,
\item \strong{si_distr:} a vector containing a set of 38 probabilities.
}}
\source{
Groendyke C. et al. (2011) Bayesian Inference for Contact Networks
Given Epidemic Data. Scandinavian Journal of Statistics 38(3): 600-616.
}
\description{
This data set gives:
\enumerate{
\item the daily incidence of onset of symptoms in Hallegoch (Germany) during
the 1861 measles epidemic (see source and references),
\item the discrete daily distribution of the serial interval for measles,
assuming a shifted Gamma distribution with mean 14.9 days, standard
deviation 3.9 days and shift 1 day (see references).
}
}
\examples{
## load data on measles in Hallegoch in 1861
data("Measles1861")

## estimate the reproduction number (method "non_parametric_si")
res <- estimate_R(Measles1861$incidence, method="non_parametric_si",
          config = make_config(list(
                t_start = seq(17, 42), 
                t_end = seq(23, 48),
                si_distr = Measles1861$si_distr)))
plot(res)
## the second plot produced shows, at each each day,
## the estimate of the reproduction number
## over the 7-day window finishing on that day.
}
\references{
Groendyke C. et al. (2011) Bayesian Inference for Contact
Networks Given Epidemic Data. Scandinavian Journal of Statistics 38(3):
600-616.
}