maximise_reporting_logp: Select reporting parameters by maximising log-probability

View source: R/sampling.R

maximise_reporting_logpR Documentation

Select reporting parameters by maximising log-probability

Description

Select reporting parameters by maximising log-probability

Usage

maximise_reporting_logp(
  snapshot_with_true_cases_df,
  current_reporting_parameters,
  prior_parameters
)

Arguments

snapshot_with_true_cases_df

a tibble with four columns: time_onset, time_reported, cases_reported, cases_true

current_reporting_parameters

a tibble with column names: "reporting_piece_index", "mean", "sd"

prior_parameters

named list with elements 'mean_mu', 'mean_sigma', 'sd_mu', 'sd_sigma' representing the gamma prior parameters for the mean and sd parameters of the reporting parameters (itself described by a gamma distribution)

Value

a tibble with four columns: "reporting_piece_index", "draw_index", "mean, "sd"


ben18785/incidenceinflation documentation built on Feb. 8, 2024, 2:36 a.m.