arch.bootstrap.StationaryBootstrap.clone

StationaryBootstrap.clone(*args: ndarray | DataFrame | Series, seed: int | Generator | RandomState | None = None, **kwargs: ndarray | DataFrame | Series) → CircularBlockBootstrap

Clone the bootstrap using different data with a fresh prng.

The block size is the block size of this bootstrap.

Parameters:
*args: ndarray | DataFrame | Series

Positional arguments to bootstrap.

seed: int | Generator | RandomState | None = None

The seed value to pass to the cloned generator.

**kwargs: ndarray | DataFrame | Series

Keyword arguments to bootstrap.

Returns:

A new bootstrap instance of the same type as this instance.

Return type:

CircularBlockBootstrap