Learn R Programming

ADTSA (version 1.0.1)

JN_VMBBA: The Acceleration of the Vectorized Moving Block Bootstrap

Description

This function computes the acceleration constants for the vectorized moving block bootstrap, which is a method used to generate a large number of replications of a time series sample in order to estimate the sampling distribution of a statistic.

Usage

JN_VMBBA(ts, lgmx, bs)

Value

a vector of the acceleration constants for autocorrelations up to lagmax.

Arguments

ts

a vector of time series data.

lgmx

maximum lag at which to compute autocorrelations.

bs

block size of the vectorized moving block bootstrap.

Author

Hossein hassani, Masoud yarmohammadi, Mohammad reza yeganegi and Leila Marvian Mashhad.

Examples

Run this code
data(co2)
JN_VMBBA(co2, lgmx=5, bs = 2)

Run the code above in your browser using DataLab