generate.mb.sample: Moving block bootstrap sampler

View source: R/generate.mb.sample.R

generate.mb.sampleR Documentation

Moving block bootstrap sampler

Description

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

Usage

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


dsm documentation built on Aug. 21, 2022, 1:07 a.m.