library(mvtnorm) Function to run SMC ABC Created by Carla Chen and Sarah Belet
1 | ABC_rep(tol = 101, Np, alpha, x, obs, c_v)
|
tol |
tolerance level |
Np |
Number of particles |
alpha |
proportion of particles dropped each step |
x |
thingo vector |
obs |
observations vector |
c_v |
Probability that a particle is not moved at least once —- Initial setup —- # Set initial tolerance —- Rejection ABC part ————– |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.