README.md

pblas

My implementations for pair-based likelihood approximations as seen in Stockdale, et al. (2019). This software adds to the original reference code at jessicastockdale/PBLA. Namely, I have:

See this video for my oral exam. Some functions exist to reproduct the results of Stockdale, et al. (2019). Practitioners should use:

For large epidemics, some efficient memory use may be important; I demonstrate such with global variable assignments <<- in pbla-ebola.R. To simulate a general stochastic epidemic, use rgsem. (See multitypes.R with pbla_multi.R for mulitype SEM. A case study is pbla-mcmc-tristan.R.)

Some key files in this repository are:

This package has been tested on R 3.6.2 and R 4.0.5. Besides pbla_prod_parallel, source code is exclusively base R, so the package should operate for older versions of R. pbla_prod_parallel utilizes parallel, foreach, and doParallel to offer parallel computing for the O(n^2) loop. Parallel computing will only speed up calculations for n > 10,000.

Correction! Please note that there is a mistake in the slides and in the report. On slide 8/31, the MLE for the removal rate gamma should be the MLE for an exponential rate. This impacts the figure on slide 22/31. R[0] estimates for the completely observed SEM do increase with increasing infected proportion. Thus, any commentary in the report and in the YouTube talk related to this figure are invalid. Other commentary remains valid.



sdtemple/pblas documentation built on Jan. 8, 2022, 8:36 a.m.