-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Decoupled
scipy.stats
L-moment methods (#378)
- Loading branch information
Showing
13 changed files
with
642 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,37 @@ | ||
""" | ||
Robust statistics with trimmed L-moments and L-comoments. | ||
""" | ||
"""L-moments for robust data analysis, inference, and non-parametric statistics.""" | ||
|
||
import sys # noqa: I001 | ||
from typing import TYPE_CHECKING, Final | ||
|
||
from ._lm import ( | ||
l_loc, | ||
l_scale, | ||
l_variation, | ||
l_skew, | ||
l_kurtosis, | ||
l_kurt, | ||
l_kurtosis, | ||
l_loc, | ||
l_moment, | ||
l_ratio, | ||
l_stats, | ||
l_moment_cov, | ||
l_ratio_se, | ||
l_stats_se, | ||
l_moment_influence, | ||
l_ratio, | ||
l_ratio_influence, | ||
l_ratio_se, | ||
l_scale, | ||
l_skew, | ||
l_stats, | ||
l_stats_se, | ||
l_variation, | ||
l_weights, | ||
) | ||
from ._lm_co import ( | ||
l_coloc, | ||
l_coscale, | ||
l_corr, | ||
l_coskew, | ||
l_cokurtosis, | ||
l_cokurt, | ||
l_cokurtosis, | ||
l_coloc, | ||
l_comoment, | ||
l_coratio, | ||
l_corr, | ||
l_coscale, | ||
l_coskew, | ||
l_costats, | ||
) | ||
from . import constants, diagnostic, distributions, errors, linalg, special, theoretical | ||
from ._meta import get_version as _get_version | ||
|
||
|
||
|
@@ -41,6 +40,7 @@ | |
from .contrib import install as _install | ||
|
||
_install() | ||
del _install | ||
|
||
|
||
if "pytest" in sys.modules: | ||
|
@@ -52,22 +52,23 @@ | |
del np | ||
|
||
__version__: Final[str] = _get_version() | ||
__author__: Final[str] = "Joren Hammdugolu" | ||
__author__: Final[str] = "Joren Hammudoglu" | ||
__email__: Final[str] = "[email protected]" | ||
__description__: Final[str] = ( | ||
"Robust statistics with trimmed L-moments and L-comoments." | ||
) | ||
__all__ = ( | ||
"__version__", | ||
"l_cokurt", | ||
"l_cokurtosis", | ||
"l_coloc", | ||
"l_comoment", | ||
"l_coratio", | ||
"l_corr", | ||
"l_coscale", | ||
"l_coskew", | ||
"l_costats", | ||
|
||
__all__ = ["__version__"] | ||
__all__ += [ | ||
"constants", | ||
"diagnostic", | ||
"distributions", | ||
"errors", | ||
"linalg", | ||
"special", | ||
"theoretical", | ||
] | ||
__all__ += [ | ||
"l_kurt", | ||
"l_kurtosis", | ||
"l_loc", | ||
|
@@ -83,4 +84,20 @@ | |
"l_stats_se", | ||
"l_variation", | ||
"l_weights", | ||
) | ||
] | ||
|
||
__all__ += [ | ||
"l_cokurt", | ||
"l_cokurtosis", | ||
"l_coloc", | ||
"l_comoment", | ||
"l_coratio", | ||
"l_corr", | ||
"l_coscale", | ||
"l_coskew", | ||
"l_costats", | ||
] | ||
|
||
|
||
def __dir__() -> list[str]: | ||
return __all__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.