Man pages for ben18785/incidenceinflation
Estimate R0 Given Case Reporting Delays

accept_rejectPerforms Metropolis accept-reject step
combine_chainsCombines Markov chains across multiple runs of mcmc_single
conditional_cases_logpCalculates (unnormalised) log-probability of a true case...
construct_w_matrixConstructs a matrix of w vectors
convert_df_to_posterior_formatConverts a single tibble to posterior format
convert_results_to_posterior_formatConverts results to format required for posterior package
create_reporting_from_single_parameters_dfCreates a reporting parameter tibble with a single set of...
detected_after_unobserved_probProbability a case is detected by a later time given it was...
dgamma_mean_sdReparameterisation of gamma pdf using mean and sd
expected_casesGives cases expected given history of cases and Rt
gamma_discrete_pmfDiscrete gamma probability mass function
generate_snapshotsGenerates case data with snapshots of reported cases at each...
ILI_2014Influenza-like illness (ILI) in US from 2014-2015
maximise_reporting_logpSelect reporting parameters by maximising log-probability
max_uncertain_daysCalculates max number of days we are uncertain about...
mcmcRuns MCMC or optimisation to estimate Rt, cases and reporting...
mcmc_singleRuns MCMC or optimisation to estimate Rt, cases and reporting...
measles_NL_2013Measles outbreak data in Netherlands from 2013-2014
metropolis_stepSample reporting parameters using a single Metropolis step
metropolis_step_overdispersionPerforms a single Metropolis step to update overdispersion...
metropolis_stepsSample reporting parameters using Metropolis MCMC
nb_log_likelihood_Rt_pieceCalculates negative-binomial log-likelhood within a single Rt...
observation_process_all_times_logpObservation probability across all onset times
observation_process_logpCalculates observation process log probability density
observation_process_single_logpCalculates observation process log probability density for a...
observed_casesGenerate reported case trajectories for each day when cases...
observed_cases_singleCases arising on a given day which are reported between two...
observed_cases_trajectoryGenerate trajectory of reported cases for a given count...
pgamma_mean_sdReparameterisation of gamma cdf using mean and sd
prior_reporting_parametersGamma prior for reporting parameters
propose_overdispersion_parameterPropose new overdispersion parameter by sampling from a...
propose_reporting_parametersPropose new reporting parameters using normal kernel centered...
qgamma_mean_sdReparameterisation of gamma inverse-cdf using mean and sd
sample_cases_historyDraws a possible history (or histories) of cases
sample_nb_Rt_pieceUses importance resampling to infer a posterior over Rt under...
sample_or_maximise_gammaDraws from the gamma distribution or returns the value which...
sample_reportingDraw reporting parameter values either by sampling or by...
sample_RtSample piecewise-constant Rt values
sample_Rt_single_pieceSample a single Rt value corresponding to a single piecewise-...
sample_true_cases_single_onsetSamples a case count arising on a given onset day
state_process_logpDetermines the probability of a given number of cases given a...
state_process_nb_logp_all_onsetsCalculates the overall log-probability of cases conditional...
thin_seriesThins cases
thin_single_seriesThins cases for a single onset time
true_casesGenerate true case series
true_cases_singleGenerates true cases for a single day
undetected_probProbability case remains undetected over time
weights_seriesGenerate weights series
ben18785/incidenceinflation documentation built on Feb. 8, 2024, 2:36 a.m.