the "Resampling" step draws a weighted sample from the prior

proposed framework in applications where the data represent a surveillance system.

index=sample(seq(1,N),size=m,replace=T,prob=w)
