View source: R/pfDesign_filter.R
pdFilterSingle | R Documentation |
Particle filter for a given interval
pdFilterSingle( y, last_smps, last_weights = NULL, f_ll = pdBinPmf, thresh_ess = NULL, ... )
y |
current Y |
last_smps |
col 1: prior samples of theta; col 2: mixture indicator |
last_weights |
normalized weights corresponding to last_smps. If NULL, all weights are 1/N. |
f_ll |
likelihood function |
col 1: theta; col 2: mixture indicator; col 3: weights
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.