Description Usage Arguments Details Value See Also
Runs sequential importance sampling without resamplingon a given Non-Linear State Space models with prior kernel as proposal.
1 | sis(nlss, y, N)
|
nlss |
Non-linear state space model |
y |
Sequence of observations. Its length T is the number of timesteps. |
N |
Number of particles |
resampling |
Resampling scheme to use |
This algorithm is not recommended and included for
illustrative purposes only. This version is therefore a
minimalistic and only supports NLLS with univariate
states. Use sisr
instead.
The variant siskernel
allows for arbitrary
proposal kernel.
A list with the following components:
particles |
Array (T, N) of the sampled particles |
logweights |
Array (T, N) of the logarithm of the non-normalized importance weights of the particles |
weights |
Array (T, N) of the normalized importance weights of the particles |
t |
Indices 1 to T, included for ease of plotting |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.