Skip to main content

Extended Statistical Toolkit Yet Practical

Project description

ESTYP: Extended Statistical Toolkit Yet Practical

Description

This library is a collection of statistical functions for Python.

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

Changelog

V0.3.0

  • Changed scipy>=1.11.1 to scipy>=1.10.1 as a depedency of the library.
  • New modularization of the functions in the linear_model module.
  • Added linear_model.stepwise.forward_selection() function to perform forward variable selection based in p-values.
  • Added testing.nested_models_test() function to perform nested models testing.
  • Added option to specity aditional parameters of the model like kwargs in linear_model.stepwise.forward_selection() and linear_model.stepwise.both_selection() functions.
  • Minor changes in the README.

Functions

  • linear_model.LogisticRegression(): This class implements a logistic regression model. It inherits from 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.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.
  • 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 software R.
  • 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 software R.
  • testing.nested_models_test(): Performs a nested models test to compare two nested models using deviance criterion.

Installation

To install this library, you can use pip:

pip install estyp

License

This library is under the MIT license.

Contact

If you have any questions about this library, you can contact me at errucan@gmail.com.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

estyp-0.3.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

estyp-0.3.0-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file estyp-0.3.0.tar.gz.

File metadata

  • Download URL: estyp-0.3.0.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for estyp-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e9ad54ce810b5144c7d6db0fa4b92f53c283ed6423631f3e9103e284ff30b728
MD5 0c94d7edeb1da81d771b66f51a91e1e7
BLAKE2b-256 85a03f9a494025b545dd1c0e7385d3ee2a0898265e2dc6807d979ad6d777f8ac

See more details on using hashes here.

File details

Details for the file estyp-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: estyp-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for estyp-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 233afb23dc4beb4d92133e167a98c2476180ba395094a2241448d36a248ed0d0
MD5 fa02d4cf279beb7f00ff0baebe4ca715
BLAKE2b-256 b8b2a1de93482ee9b8a16ed17eed39c081d19528348fa1ebdbdf6728895efd7d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page