Learn R Programming

quantspec (version 1.0-0)

getPositions-MovingBlocks: Get Positions for the Moving Blocks Bootstrap.

Description

Get Positions for the Moving Blocks Bootstrap.

Usage

## S3 method for class 'MovingBlocks':
getPositions(object, B = 1)

Arguments

object
a MovingBlocks object; used to specify the parameters N, l and the type of the bootstrap.
B
Number of independent repetitions to bootstrap.

Value

  • a matrix of dimension [N,B] where each column gives the positions in which to reorder the observations to yield one bootstrap replication.