testResample

0th

Percentile

Test the residual resampling algorithm.

Test the residual resampling algorithm.

Usage
testResample(values, weights, pseudo)
Arguments
values

A vector of SMC particles.

weights

A vector of importance weights for each particle.

pseudo

A matrix of pseudo-data for each particle.

Value

A list containing the following elements:

beta

A vector of resampled particles.

wt

The new importance weights, after resampling.

pseudo

A matrix of pseudo-data for each particle.

idx

The indices of the parents of the resampled particles.

Aliases
  • testResample
Documentation reproduced from package bayesImageS, version 0.4-0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.