X_boot: Obtain a block bootstrap data sample

View source: R/z_utils.R

X_bootR Documentation

Obtain a block bootstrap data sample

Description

X_boot performs a simple block bootstrap for the data matrix. This is a direct copy of the code used in Forni and Gambetti (2010) available at http://pareto.uab.es/lgambetti/ReplicaForniGambettiJME.zip.

Usage

X_boot(X, L)

Arguments

X

data matrix

L

determines the block size

Value

bootstrapped data matrix of the same dimensions as the original one


juhokalle/rmfd4dfm documentation built on July 18, 2024, 10:19 p.m.