Skip to content
Snippets Groups Projects
Commit 98baad66 authored by Niklas Selke's avatar Niklas Selke
Browse files

Fixed typo in moving block bootstrap function name.

parent d427f3ae
No related branches found
No related tags found
2 merge requests!9Develop,!6Niklas issue009 feat calculate quantile regression
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
This module contains the following function: This module contains the following function:
calculate_seasonal_cycle - calculate the seasonal cycle calculate_seasonal_cycle - calculate the seasonal cycle
calculate_anomalies - calculate the anomalies series 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 import numpy as np
...@@ -42,7 +42,7 @@ def calculate_anomalies(data): ...@@ -42,7 +42,7 @@ def calculate_anomalies(data):
}).sort_values("datetime") }).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. """Perform the moving block bootstrap algorithm.
:param method: either ``"OLS"`` or ``"quant"`` :param method: either ``"OLS"`` or ``"quant"``
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment