Class "stsNC" – a class inheriting from class sts
which allows the user to store the results of back-projecting surveillance time series
stsNC-class.Rd
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
sts
containing 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 classsts
to classstsNC
.- reportingTriangle
signature(x = "stsNC")
: extract thereportingTriangle
slot of anstsNC
object.- delayCDF
signature(x = "stsNC")
: extract thedelayCDF
slot of anstsNC
object.- score
signature(x = "stsNC")
: extract the scoring rules result slot of anstsNC
object.- predint
signature(x = "stsNC")
: extract the prediction interval slot of anstsNC
object.