Man pages for adamkucharski/serosolver
Inference framework for serological data

add_measurement_shiftsAdd measurement shifts to predictions
add_noiseAdd noise
bb_meanBeta binomial mean
bb_varBeta binomial variance
calc_phi_probsCalculate FOI log probability
calc_phi_probs_indivCalculate FOI log probability vector
calc_phi_probs_indiv_bruteFOR DEBUGGING
calc_phi_probs_monthlyCalculate FOI from spline
calculate_infection_history_statisticsGet posterior information infection histories
calibrate_temperaturescalibrate temperatures for parallel chains - Ada Yan
check_attack_ratesChecks the attack_rates supplied in simulate_data
check_dataChecks the entries of data used in run_MCMC
check_par_tabCheck par_tab for simulate_data
check_proposalsChecks if the multivarite proposal is being used with the FOI...
create_age_maskCreate age mask
create_cross_reactivity_vectorConvert melted antigenic map to cross reactivity
create_posterior_funcPosterior function pointer
create_posterior_func_fastPosterior function pointer - FAST VERSION
create_prior_muCreate strain specific bias prior
create_prob_shiftsMeasurement shift creation
create_strain_maskCreate strain mask
dbBeta prior on an infection
dbbBeta binomial density
dbb_priorBeta binomial prior used here (no choose constant)
density_beta_binomBeta binomial density
estimate_modeEstimate vector mode
expand_summary_inf_chainExpands default MCMC saved infChain
expand_summary_infChainExpand sparse infection history matrix
find_bb_2Beta binomial parameter match
find_beta_parametersFind beta parameters for mean and variance
find_prior_alpha_betaBeta binomial parameters
fit_beta_priorFit beta distribution to MCMC output
fit_normal_priorFit normal distribution to MCMC output
fromUnitScaleConvert from unit scale to original scale
generate_alpha_beta_prior_modeFind Beta distribution parameters with mode
generate_antigenic_mapGenerate antigenic map
generate_antigenic_map_flexibleGenerate antigenic map, flexible
generate_ar_annualGenerates attack rates from an SIR model with fixed...
generate_beta_prior_meanFind beta parameters with maximum variance
generate_cumulative_inf_plotsPlot cumulative and per time posterior infection probability...
generate_phisGenerate FOI phis
generate_quantilesFormatted quantiles
gen_spline_yGenerates a spline for 'generate_phis'
get_best_parsBest pars
get_index_parsIndex pars
get_n_aliveGet number alive
get_n_alive_locationGet number alive bylocation
get_titre_predictionsGenerate titre credible intervals
get_total_number_infectionsGet total number of infections
hist_rbbBeta binomial histogram
infection_history_betabinomBeta binomial infection history update
infection_history_betabinom_groupDEPRECATED - implemented in Cpp for speed
infection_history_priorBeta binomial infection history prior
infection_history_proposalInfection history proposal - original version
infection_history_proposal_gibbsGibbs sampling of infection histories
infection_history_proposal_gibbs_fastInfection history gibbs proposal, fast Generates a new...
infection_history_proposal_gibbs_RR implementation of the infection history gibbs proposal, now...
infection_history_symmetricBrute force infection history proposal
infection_model_indivModel function sample
inf_hist_prob_phiDEPRECATED - propose inf hist from phi
inf_hist_prop_cppFast infection history proposal function
inf_hist_swapSwap infection history years
inf_hist_swap_phiSwap infection history years with phi term
inf_mat_priorInfection history prior R
inf_mat_prior_cppMarginal prior probability (p(Z)) of a particular infection...
inf_mat_prior_cpp_vectorMarginal prior probability (p(Z)) of a particular infection...
inf_mat_prior_total_cppMarginal prior probability (p(Z)) of a particular infection...
likelihood_data_individualLikelihood for one individual
likelihood_func_fastFast observation error function Calculate the probability of...
likelihood_titre_basicCalculate likelihood basic
load_antigenic_map_fileRead in antigenic_map
load_infection_chainsLoad MCMC chains for infection histories
load_mcmc_chainsCombine theta and infection history chains
load_start_tabRead in start_tab
load_theta_chainsLoad MCMC chains for theta
load_titre_datRead in titre_dat
melt_antigenic_coordsCreate useable antigenic map
mvr_proposalMultivariate proposal function
pad_alphas_and_betasPad par_tab with alpha and betas
pad_inf_chainPad infection history chain
parallel_temperingperforms parallel tempering - Ada Yan
pbbBeta binomial distribution function
phi_proposalDEPRECATED - proposal for phi based on number of infections
plot_attack_rate_residualsPlot attack rate residuals
plot_attack_ratesPlot historical attack rates
plot_attack_rates_monthlyPlot historical attack rates monthly
plot_dataUseful plot for looking at simulated data
plot_infection_historiesPlots infection histories and titre model fits
plot_infection_history_chains_indivPlot MCMC trace for infections per individual
plot_infection_history_chains_timePlot MCMC trace for infections per year
plot_number_infectionsPlot point range number infections per individual
plot_posteriors_infhistPlot inferred posteriors infection histories
plot_posteriors_thetaPlot inferred posteriors theta
plot_samples_distancesPlot time between samples
plot_total_number_infectionsTotal number of infections
prob_musPrior probability of strain specific boosting
prob_shiftsPrior on measurement shifts
protectProtect function
qbbBeta binomial quantile function
rbbBeta binomial random generation
r_likelihoodLikelihood function given data
rm_scaleRobins and Monro scaler, thanks to Michael White
run_MCMCAdaptive Metropolis-within-Gibbs/Metropolis Hastings Random...
run_MCMC_pt_fastParallel tempering MCMC
save_infection_history_to_diskWrite given infection history to disk
scaletuningScale step sizes
setup_infection_histories_newPropose initial infection histories
setup_infection_histories_new_2Propose initial infection histories 2 - use this!
setup_infection_histories_oldPropose initial infection histories - OLD VERSION
setup_infection_histories_totalInitial infection history prior on total
setup_titredat_for_posterior_funcSetup titre data indices
simulate_attack_ratesSimulate attack rates
simulate_cross_sectionalSimulates multiple cohorts in a cross-sectional framework.
simulate_dataSimulate full data set
simulate_groupSimulate group data
simulate_individualSimulate individual data
simulate_infection_historiesSimulate infection histories
solve_model_individualSolves the antibody kinetics model for a single individual
subset_nullable_vectorTakes a subset of a Nullable NumericVector, but only if it...
sum_bucketsSums a vector based on bucket sizes
sum_likelihoodsSum likelihoods into buckets
titre_data_fastOverall model function, fast implementation
titre_data_groupModel function overall
titre_data_individualModel function individual
titre_dependent_boosting_plotTitre dependent boosting relationship
to.pdfPDF - Rich's function to print to device without potential...
to.pngPNG - Rich's function to print to device without potential...
to.svgSVG - Rich's function to print to device without potential...
toUnitScaleConvert to unit scale
univ_proposalMCMC proposal function
wane_functionFunction to calculate non-linear waning All additional...
adamkucharski/serosolver documentation built on April 12, 2019, 2:47 p.m.