| stsNC-class {surveillance} | R Documentation |
Class "stsNC" – a class inheriting from class sts which
allows the user to store the results of back-projecting
surveillance time series
Description
A class inheriting from class sts, but with additional slots
to store the results of nowcasting.
Slots
The slots are as for "sts". However, a number of
additional slots exists.
reportingTriangle:An array containing the upper and lower limit of the confidence interval.
predPMF:Predictive distribution for each nowcasted time point.
pi:A prediction interval for each nowcasted time point. This is calculated based on
predPMF.truth:An object of type
stscontaining the true number of cases.delayCDF:List with the CDF of the estimated delay distribution for each method.
SR:Possible output of proper scoring rules
Methods
The methods are the same as for "sts".
- coerce
signature(from = "sts", to = "stsNC"): convert an object of classststo classstsNC.- reportingTriangle
signature(x = "stsNC"): extract thereportingTriangleslot of anstsNCobject.- delayCDF
signature(x = "stsNC"): extract thedelayCDFslot of anstsNCobject.- score
signature(x = "stsNC"): extract the scoring rules result slot of anstsNCobject.- predint
signature(x = "stsNC"): extract the prediction interval slot of anstsNCobject.
Author(s)
M. Höhle