Skip to main content

ESTYP: Extended Statistical Toolkit Yet Practical

Downloads Documentation Status PyPI version License: MIT Contributions Chilean

Description

ESTYP (Extended Statistical Toolkit Yet Practical) is a Python library that serves as a multifaceted toolkit for statistical analysis. The testing module encompasses a wide range of statistical tests, including t-tests, chi-squared tests, and correlation tests, providing robust methods for data comparison and validation. In the linear_model module, users can find functionalities related to logistic regression, including variable selection techniques and additional methods for calculating confidence intervals and p-values. This module enhances the capabilities of traditional logistic regression analysis. The cluster module is designed to assist in clustering analysis, offering tools to identify the optimal number of clusters using methods like the elbow or silhouette techniques. Together, these modules form a comprehensive and practical statistical toolkit that caters to various analytical needs.

Actually, the name comes from the way my friends call me (Esti), plus "p" which is the initial of python.

Installation

To install this library, you can use PyPI:

pip install estyp

Also, you can install it from the source code:

git clone https://github.com/estebanrucan/estyp.git
cd estyp
pip install -e .

Documentation

You can have a friendly introduction to this library in the documentation.

Changelog

You can see the full changelog here.

Features

testing module

  • testing.CheckModel(): This class provides methods to test the assumptions of the linear regression model., inspired by the performance::check_model() function of the R software.
  • testing.t_test(): Performs one and two sample t-tests on groups of data. This function is inspired by the t.test() function of the R software.
  • testing.var_test(): Performs an F test to compare the variances of two samples from normal populations. This function is inspired by the var.test() function of the R software.
  • testing.prop_test(): it can be used for testing the null that the proportions (probabilities of success) in several groups are the same, or that they equal certain given values. This function is inspired by the prop.test() function of the R software.
  • testing.chisq_test(): Performs a chi-squared test of independence of variables in a contingency table. This function is inspired by the chisq.test() function of the R software.
  • testing.cor_test(): Performs a correlation test with Pearson, Spearman or Kendall method. This function is inspired by the cor.test() function of the R software.
  • testing.nested_models_test(): Performs a nested models test to compare two nested models using deviance criterion.
  • testing.dw_test(): Performs the Durbin-Watson test for autocorrelation of disturbances (includes a p-value). Inspired by the lmtest::dwtest() function of the R software.

linear_model module

  • linear_model.LogisticRegression(): This class implements a logistic regression model. It is like the LogisticRegression() class from scikit-learn, but adds additional methods for calculating confidence intervals, p-values, and model summaries like Logit class in statsmodels.
  • linear_model.Stepwise(): Provides a implementation to add or remove predictors based on their significance, AIC or BIC in a model.

cluster module

  • cluster.NClusterSearch: A helper class to identify the optimal number of clusters for clustering algorithms with elbow or silhuette methods.

License

This library is under the MIT license.

Contact

If you have any questions about this library, you can contact me at LinkedIn.

Metadata

Release files for estyp 0.9.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for estyp 0.9.3
File Size Uploaded
estyp-0.9.3.tar.gz 34.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for estyp 0.9.3
File Interpreter ABI Platform
estyp-0.9.3-py3-none-any.whl Python 3 none any Details

Total release size: 68.6 kB

Release files / estyp-0.9.3.tar.gz

Download URL estyp-0.9.3.tar.gz
Size 34.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4d13b348afe9ee9682a068a49d711bf9bcaec5c545c2198fbf69d0c897aaa72c
BLAKE2b-256 checksum
How to use checksums
be9e8fea8dad427fdd0bd1cad2b659885c4351782a4491ed3456de70529f074e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release files / estyp-0.9.3-py3-none-any.whl

Download URL estyp-0.9.3-py3-none-any.whl
Size 34.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f26004970bfd0c4696903f77608120b47e3cf306be9955d45e48b583a6948ce0
BLAKE2b-256 checksum
How to use checksums
97c89c7237f90e7192f16441ddc5d5e76541523d5b5c3d1ff955342b94add9ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release history Release notifications | RSS feed

This release

0.9.3 This release

2 release files

0.9.2

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page