arch.bootstrap.IIDBootstrap.clone

IIDBootstrap.clone(*args: ndarray | DataFrame | Series, seed: None | int | RandomState | Generator = None, **kwargs: ndarray | DataFrame | Series) IIDBootstrap[source]

Clones the bootstrap using different data with a fresh prng.

Parameters:
*args: ndarray | DataFrame | Series

Positional arguments to bootstrap

seed: None | int | RandomState | Generator = None

The seed value to pass to the closed generator

**kwargs: ndarray | DataFrame | Series

Keyword arguments to bootstrap

Returns:

Bootstrap instance

Return type:

type[self]