Description Usage Arguments Details Value Author(s) See Also
Simple function that normalize vectors (ie takes log weights and returns normalized weights, in the SMC context).
1 | normalizeweight(log_weights)
|
log_weights |
Object of class |
.
Simple function that takes log weights (ie any real-valued vector), computes the exponential of it, divides it by its sum and returns it.
The function returns an object of class "data.frame"
, with columns for the chain indices, the chain values,
the iteration indices, and the associated log density values.
Luke Bornn <bornn@stat.harvard.edu>, Pierre E. Jacob <pierre.jacob.work@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.