CR_indexmatching: Coupled Resampling: index-matching

Description Usage Value

Description

This function performs coupled resampling based on index-matching. It takes vectors of normalized weights, of same sizes, and number of desired samples ('ntrials'). If 'ntrials' is not given, default to size of normweights1.

Usage

1
2
CR_indexmatching(xparticles1, xparticles2, normweights1, normweights2,
  ntrials)

Value

Two vectors of ancestors, column-binded in a matrix. Takes values between 1 and length(normweights1)


pierrejacob/CoupledCPF documentation built on May 25, 2019, 6:05 a.m.