Extended Statistical Toolkit Yet Practical
Project description
ESTYP: Extended Statistical Toolkit Yet Practical
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 changelog here
Features
testing
module
testing.CheckModel()
: This class provides methods to test the assumptions of the linear regression model., inspired by theperformance::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 thet.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 thevar.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 theprop.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 thechisq.test()
function of the R software.testing.cor_test()
: Performs a correlation test with Pearson, Spearman or Kendall method. This function is inspired by thecor.test()
function of the R software.testing.nested_models_test()
: Performs a nested models test to compare two nested models using deviance criterion.
linear_model
module
linear_model.LogisticRegression()
: This class implements a logistic regression model. It inherits from theLogisticRegression()
class fromscikit-learn
, but adds additional methods for calculating confidence intervals, p-values, and model summaries likeLogit
class instatsmodels
.linear_model.stepwise.both_selection()
: This function performs both forward and backward variable selection using the Akaike Information Criterion (AIC).linear_model.stepwise.forward_selection()
: This function performs forward variable selection based on p-values.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file estyp-0.9.0.tar.gz
.
File metadata
- Download URL: estyp-0.9.0.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cc402cd22389bfa6c77c5aa0432665c83d3f922f4f09b8deeb267808a46f9d1 |
|
MD5 | c7d5db669af29e06bd19d3a8313d99e7 |
|
BLAKE2b-256 | f840323024a9b6bb96141b224c701c2c5982b07369842c96a43452901fab84fa |
File details
Details for the file estyp-0.9.0-py3-none-any.whl
.
File metadata
- Download URL: estyp-0.9.0-py3-none-any.whl
- Upload date:
- Size: 33.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e04360c42d196fce800d1d14e0c2a393f185337f63cb7d34af20583dfb53f24d |
|
MD5 | 144d36aae363d7e9db8da9a2c6b27532 |
|
BLAKE2b-256 | c3a1dfabc419eb7e308c1e78b2fffebbd448d281e1acaeed7beb39a6d0296768 |