Runs a systematic resampling algorithm, taking a uniform variable, normalized weights and a number of desired draws and returning a vector of ancestors
1 | systematic_resampling_n(normalized_weights, N, u)
|
A vector of ancestors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.