MC_sums: Compute sums of a Monte Carlo vector for use in resmoothing.
Description
Compute sums of a Monte Carlo vector for use in resmoothing.
Usage
MC_sums(a, n, nMC, nbw)
Value
list with nbw elements. The j'th element of which is
a vector of length n, the i'th element being the sum of the
(((j-1)n + (i-1)) x nMC + 1) to (((j-1)n + i) x nMC)
elements of a inclusive.