Skip to contents

baselinenowcast 0.0.0.1000

  • Add support for passing in a restricted set of functions to the estimate_dispersion() function to transform the “target” dataset across reference dates.
  • Implements a safe iterator in the step where retrospective point nowcasts are generated from a list of retrospective reporting triangles, ensuring that the iterations continue even if not all retrospective point nowcasts can be generated.
  • Modify vignette to be consistent with the decided upon defaults for the number of reference times used for delay estimation and uncertainty.
  • Replace function namedreplace_lower_right_with_NA() with generate_triangle().
  • Removes requirement that all elements of the reporting triangle are integers.
  • Modify the method used to estimate dispersion. Instead of estimating dispersion on individual elements of the nowcast matrix, we now estimate dispersion on the predicted nowcasts summed across reporting dates as a function of forecast horizon.
  • Standardises naming of objects that are matrices vs vectors and objects that contain observations, point estimates, and probabilistic draws.
  • Modifies functions that estimate a delay and generate a point nowcast to ensure that they throw an error/warning if the first element of the delay PMF is 0.
  • Adjusts function to estimate delay distribution to be able to handle complete and partially complete reporting triangles.
  • Add function to convert a list of expected observed reporting squares to a long tidy dataframe indexed by reference time, delay, and a sample index.
  • Implement zero-handling in the bottom left of the reporting triangle when applying the delay to generate a point nowcast.
  • Add function to generate a list of expected observed reporting squares.
  • Add function to generate an expected observed reporting square from a point nowcast and a vector of dispersion parameters.
  • Add function to estimate dispersion parameters from a match list of nowcasts and observed reporting triangles.
  • Add functions to generate retrospective nowcasts from a single reporting triangle.
  • Refactor uncertainty estimation to use a user-facing function to generate retrospective reporting triangles.
  • Methods write-up as a separate vignette.
  • Introduced function to estimate the uncertainty from a triangle to be nowcasted and a delay distribution.
  • Introduced functions to get the delay estimate and apply the delay, and used these in the Getting Started vignette.
  • Added package skeleton.