stsNC-class: Class "stsNC" - a class inheriting from class 'sts' which...

stsNC-classR 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 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 class sts to class stsNC.

reportingTriangle

signature(x = "stsNC"): extract the reportingTriangle slot of an stsNC object.

delayCDF

signature(x = "stsNC"): extract the delayCDF slot of an stsNC object.

score

signature(x = "stsNC"): extract the scoring rules result slot of an stsNC object.

predint

signature(x = "stsNC"): extract the prediction interval slot of an stsNC object.

Author(s)

M. Höhle


surveillance documentation built on Oct. 2, 2024, 1:08 a.m.