{"id":29094178,"url":"https://github.com/estebanrucan/estyp","last_synced_at":"2026-03-07T17:33:26.765Z","repository":{"id":182170538,"uuid":"668063580","full_name":"estebanrucan/estyp","owner":"estebanrucan","description":"ESTYP: Extended Statistical Toolkit Library for Python","archived":false,"fork":false,"pushed_at":"2023-09-17T02:49:27.000Z","size":8463,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-25T04:37:04.836Z","etag":null,"topics":["estyp","glm","hypothesis-testing","linear-regression","machine-learning","model-selection","python","statistical-analysis","var-test"],"latest_commit_sha":null,"homepage":"http://estyp.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/estebanrucan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-19T00:14:36.000Z","updated_at":"2025-01-18T20:35:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2afbd53-27e5-45bd-b8d3-e08eeda2b74b","html_url":"https://github.com/estebanrucan/estyp","commit_stats":{"total_commits":74,"total_committers":2,"mean_commits":37.0,"dds":"0.29729729729729726","last_synced_commit":"92ca9eeb81c51e710b793ece0f757749f8b00401"},"previous_names":["estebanrucan/estyp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/estebanrucan/estyp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estebanrucan%2Festyp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estebanrucan%2Festyp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estebanrucan%2Festyp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estebanrucan%2Festyp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/estebanrucan","download_url":"https://codeload.github.com/estebanrucan/estyp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estebanrucan%2Festyp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30223412,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T17:00:40.062Z","status":"ssl_error","status_checked_at":"2026-03-07T17:00:39.026Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["estyp","glm","hypothesis-testing","linear-regression","machine-learning","model-selection","python","statistical-analysis","var-test"],"created_at":"2025-06-28T09:03:21.611Z","updated_at":"2026-03-07T17:33:26.744Z","avatar_url":"https://github.com/estebanrucan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESTYP: Extended Statistical Toolkit Yet Practical\n\n[![Downloads](https://static.pepy.tech/badge/estyp)](https://pepy.tech/project/estyp) [![](https://github.com/estebanrucan/estyp/actions/workflows/test.yml/badge.svg)](https://github.com/estebanrucan/estyp/actions/workflows/test.yml) [![Documentation Status](https://readthedocs.org/projects/estyp/badge/?version=latest)](https://estyp.readthedocs.io/en/latest/?badge=latest) [![PyPI version](https://badge.fury.io/py/estyp.svg)](https://badge.fury.io/py/estyp) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Contributions](https://img.shields.io/badge/Contributions-welcome-blue.svg)](https://github.com/estebanrucan/estyp/issues) [![Chilean](https://img.shields.io/badge/Made_in-%F0%9F%87%A8%F0%9F%87%B1_Chile-blue.svg)](https://es.wikipedia.org/wiki/Chile)\n\n## Description\n\nESTYP (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. \n\nActually, the name comes from the way my friends call me (Esti), plus \"p\" which is the initial of `python`.\n\n## Installation\n\nTo install this library, you can use PyPI:\n\n```bash\npip install estyp\n```\n\nAlso, you can install it from the source code:\n\n```bash\ngit clone https://github.com/estebanrucan/estyp.git\ncd estyp\npip install -e .\n```\n\n## Documentation\n\nYou can have a friendly introduction to this library in the [documentation](https://estyp.readthedocs.io/en/latest/).\n\n## Changelog\n\nYou can see the full changelog [here](./CHANGELOG.md).\n\n## Features\n\n### `testing` module\n\n* `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.\n* `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.\n* `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.\n* `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.\n* `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.\n* `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.\n* `testing.nested_models_test()`: Performs a nested models test to compare two nested models using deviance criterion.\n* `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.\n\n### `linear_model` module\n\n* `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`.\n* `linear_model.Stepwise()`:  Provides a implementation to add or remove predictors based on their significance, AIC or BIC in a model.\n\n\n### `cluster` module\n\n* `cluster.NClusterSearch`: A helper class to identify the optimal number of clusters for clustering algorithms with elbow or silhuette methods.\n\n## License\n\nThis library is under the MIT license.\n\n## Contact\n\nIf you have any questions about this library, you can contact me at [LinkedIn](https://www.linkedin.com/in/estebanrucan/).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festebanrucan%2Festyp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Festebanrucan%2Festyp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festebanrucan%2Festyp/lists"}