Bayesian Inference for DLMS

Functions for filtering, backward sampling and Gibbs sampling for dynamic linear models.

Ops(<dual>)

Operators for univariate Dual Numbers

clean_results()

Clean one fixture of scraped results

concat()

Concatenate strings together as a comma-separated list

const()

Title

ctmc_build_rate_matrix()

Title

ctmc_log_likelihood()

Title

ctmc_sim_exact()

Simulate from a continuous time markov chain

da_step()

Title

density_plot()

Plot a density plot from MCMC output

diag_inverse()

Title

divide()

Title

dual()

Representation of a Dual Number

effective_size()

Calculate Effective Sample Size

ehmc()

Hamiltonian Monte Carlo

ehmc_helper()

Empirical Hamiltonian Monte Carlo

ehmc_step()

Title

extract_date()

Get the date of a fixture

find_reasonable_epsilon()

Title

format_course()

Title

format_course_name()

Title

get_course_list()

Get a list of courses for a given year

get_division_results()

Get Harrier League Results

get_harrier_league_results()

Fetch a table containing the harrier league results

get_results_home()

Get the URL of a single fixture

hmc()

Hamiltonian Monte Carlo

hmc_da()

Hamiltonian Monte Carlo

hmc_da_helper()

Hamiltonian Monte Carlo

hmc_helper()

Hamiltonian Monte Carlo

hmc_leapfrog_step()

Leapfrog Step

hmc_leapfrogs()

Perform n_steps Leapfrog steps

hmc_log_acceptance()

Log Acceptance for the HMC algorithm

hmc_step()

HMC Step

hmm_backward()

Title

hmm_backward_step()

Title

hmm_forward()

Forward Filtering an HMM

hmm_forward_backward()

Perform smoothing using the forward-backward algorithm

hmm_forward_step()

Forward step for HMM

hmm_log_likelihood()

Marginal log-likelihood HMM

hmm_simulate()

Simulate from a hidden Markov model

latex_summary_table()

Title

latex_table_sim()

Title

lift_function()

Lift a function to operate on bare numbers

ll_step()

Title

longest_batch()

Title

matching_course()

Title

metropolis()

Metropolis Algorithm

metropolis_helper()

Metropolis Helper

metropolis_step()

Metropolis Step

minus()

Title

mvrnorm_prec()

Title

normalise()

Normalise such that the values of the vector sum to one

not_all_na()

Check if some columns contain non-missing values

parse_results_table()

Get the raw HTML table from HTML

plot_diagnostics()

Title

plot_diagnostics_sim()

Plot MCMC diagnostics with known values

plot_pdf()

Plot a probability density function

plus()

Title

prior_posterior()

Plot the prior and posterior

rename_clean()

Title

sample_beta()

Sample beta

spatial_dlm()

Title

spatial_dlm_parallel()

Gibbs sample spatial DLM in parallel

summary_table()

Title

thin()

Thin MCMC

times()

Title

traceplot()

Plot a traceplot

update_step_size()

Title

variable()

Build a variable

Hamiltonian Monte Carlo

An R implementation of Hamiltonian Monte Carlo

hmc()

Hamiltonian Monte Carlo

hmc_da()

Hamiltonian Monte Carlo

hmc_da_helper()

Hamiltonian Monte Carlo

hmc_helper()

Hamiltonian Monte Carlo

hmc_leapfrog_step()

Leapfrog Step

hmc_leapfrogs()

Perform n_steps Leapfrog steps

hmc_log_acceptance()

Log Acceptance for the HMC algorithm

hmc_step()

HMC Step

Metropolis Hastings

An R implementation of Metropolis Hastings

metropolis()

Metropolis Algorithm

metropolis_step()

Metropolis Step

Bayesian Posterior Analysis

Functions for summarising the output of MCMC algorithms

thin()

Thin MCMC

traceplot()

Plot a traceplot

density_plot()

Plot a density plot from MCMC output

plot_diagnostics()

Title

summary_table()

Title

latex_summary_table()

Title

plot_pdf()

Plot a probability density function

latex_table_sim()

Title

plot_diagnostics_sim()

Plot MCMC diagnostics with known values

prior_posterior()

Plot the prior and posterior

effective_size()

Calculate Effective Sample Size

Forward Mode Automatic Differentiation

A simple implementation of forward mode automatic differentiation

dual()

Representation of a Dual Number

variable()

Build a variable

Parsing the North East Harrier League website

Functions to download results from the North East Harrier League

get_division_results()

Get Harrier League Results

get_course_list()

Get a list of courses for a given year

get_results_home()

Get the URL of a single fixture

parse_results_table()

Get the raw HTML table from HTML

clean_results()

Clean one fixture of scraped results

get_harrier_league_results()

Fetch a table containing the harrier league results