Moving block bootstrap sampler

Share:

Description

Not usually used on its own, called from within dsm.var.movblk.

Usage

1
2
generate.mb.sample(num.blocks.required, block.size, which.blocks, dsm.data,
  unit.info, n.units)

Arguments

num.blocks.required

number of blocks that we need.

block.size

number of segments per block.

which.blocks

which blocks should be sampled.

dsm.data

the $data element of the result of a call to dsm.

unit.info

result of calling block.info.per.su.

n.units

number of sampling units.

Value

vector of log-residuals

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.