diff --git a/toarstats/trends/utils.py b/toarstats/trends/utils.py index cf97a9451b49e70418cafe4a58bb70e7601ab2eb..e3bdad873e26ccf136407245248eb5bb7ffab5d3 100644 --- a/toarstats/trends/utils.py +++ b/toarstats/trends/utils.py @@ -3,7 +3,7 @@ This module contains the following function: calculate_seasonal_cycle - calculate the seasonal cycle calculate_anomalies - calculate the anomalies series -moving_block_boostrap - perform the moving block bootstrap algorithm +moving_block_bootstrap - perform the moving block bootstrap algorithm. """ import numpy as np @@ -42,7 +42,7 @@ def calculate_anomalies(data): }).sort_values("datetime") -def moving_block_boostrap(method, data, quantile, num_samples=1000): +def moving_block_bootstrap(method, data, quantile, num_samples=1000): """Perform the moving block bootstrap algorithm. :param method: either ``"OLS"`` or ``"quant"``