Skip to main content

Treat multicollinearity and non-significant variables from your statsmodels linear and logistic regressions

Project description

Regression and Statistical Inference Toolkit

Welcome to the reg_stat_inference toolkit!

This toolkit provides functions for treating multicollinearity and performing feature selection based on p-values in linear regression and logistic regression models. It leverages the statsmodels library for model analysis.

Purpose

The purpose of this toolkit is to offer a collection of Python functions that streamline the process of dealing with multicollinearity and feature selection in regression models. It aims to simplify the analysis of complex datasets by automating tasks like variance inflation factor (VIF) calculation and p-value-based feature removal.

Usage

To use the toolkit, import the functions in your scripts or notebooks:

from reg_stat_inference import treat_regression_model, treat_multicollinearity, treat_pvalue

You can then apply these functions to your dataset to enhance the quality of your regression models.

Contributing

Contributions are welcome! If you have suggestions, bug reports, or improvements, please open an issue or submit a pull request.

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

reg_stat_inference-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

reg_stat_inference-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file reg_stat_inference-0.1.0.tar.gz.

File metadata

  • Download URL: reg_stat_inference-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/5.15.0-1028-aws

File hashes

Hashes for reg_stat_inference-0.1.0.tar.gz
Algorithm Hash digest
SHA256 799efdf43ff64981113f5db2e277afd17b32fdb9c2f0039b25a13164a37dc4d5
MD5 9e25d3528279cb7197eded0154fbe351
BLAKE2b-256 e88928222a2a1ea73b3a32695ddea2e40ef0a30ca36dd01c3c3b95f571031689

See more details on using hashes here.

File details

Details for the file reg_stat_inference-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: reg_stat_inference-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/5.15.0-1028-aws

File hashes

Hashes for reg_stat_inference-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf0b780cbf9b39b68ecb5b4071ce5c17e195c231c0dc6755e19684cd297bb35f
MD5 b5c7accd80df912f901e3883331c2a7e
BLAKE2b-256 52e2242c9ac4543caeb4c6885cfee3ae1804e92b99f17b1958244c34c15a10f5

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