Coverage for src / ts_stat_tests / heteroscedasticity / __init__.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.13.2, created at 2026-02-01 09:48 +0000

1# ============================================================================ # 

2# # 

3# Title: Heteroscedasticity Module # 

4# Purpose: Initialize the heteroscedasticity module by importing # 

5# algorithms and tests, and defining exports. # 

6# # 

7# ============================================================================ # 

8 

9 

10# ---------------------------------------------------------------------------- # 

11# # 

12# Overview #### 

13# # 

14# ---------------------------------------------------------------------------- # 

15 

16 

17# ---------------------------------------------------------------------------- # 

18# Description #### 

19# ---------------------------------------------------------------------------- # 

20 

21 

22""" 

23!!! note "Summary" 

24 This module provides tools to assess heteroscedasticity in time series data. It includes various algorithms and tests to evaluate the presence of heteroscedasticity, which is the condition where the variance of errors differs across observations in a dataset. 

25""" 

26 

27 

28# ---------------------------------------------------------------------------- # 

29# # 

30# Setup #### 

31# # 

32# ---------------------------------------------------------------------------- # 

33 

34 

35# ---------------------------------------------------------------------------- # 

36# Imports #### 

37# ---------------------------------------------------------------------------- # 

38 

39 

40# ## Local First Party Imports ---- 

41from ts_stat_tests.heteroscedasticity.algorithms import arch, bpl, gq, wlm 

42from ts_stat_tests.heteroscedasticity.tests import ( 

43 heteroscedasticity, 

44 is_heteroscedastic, 

45) 

46 

47 

48# ---------------------------------------------------------------------------- # 

49# Exports #### 

50# ---------------------------------------------------------------------------- # 

51 

52 

53__all__: list[str] = ["arch", "bpl", "gq", "wlm", "heteroscedasticity", "is_heteroscedastic"]