Skip to main content

A package for step-by-step regression analysis including simple, multiple, and logistic regression.

Project description

Step-by-Step Linear Regression

This Python package is designed to assist students learning simple, multiple, and logistic regression by breaking down every calculation step.
It is especially helpful when solving exam-style problems, where it's easy to make minor arithmetic errors that derail understanding.
Instead of spending excessive time on mechanical computation, you can use this tool to verify intermediate steps, identify mistakes quickly, and focus more on understanding the underlying formulas and concepts.

Features

  • .fit(X, y) — fits the model
  • .summary() — prints slope, intercept, SSR, SSE, MSE, etc.
  • .steps_df — prints an annotated DataFrame showing internal computation steps

Installation

You can install the package from PyPI:

pip install StepByStepLinearRegression

Usage

It is recommended to run this package in .ipynb (Jupyter Notebook) format for best interactivity and readability of computation steps. Check test.ipynb to see how to use this package in practice.

Author

Created by Mellamochiao.

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

stepbysteplinearregression-0.1.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

stepbysteplinearregression-0.1.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file stepbysteplinearregression-0.1.1.tar.gz.

File metadata

File hashes

Hashes for stepbysteplinearregression-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7a1c1a60af1a5d041e6c9b25b185a112b484aca7a389f7774acbca4aa0966f13
MD5 9159ca91215b426c5d9c1ee86292c148
BLAKE2b-256 83fcad971d8a666e0aa305f435dac5fe5ee405885072e62fe82ce507bc86ea09

See more details on using hashes here.

File details

Details for the file stepbysteplinearregression-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for stepbysteplinearregression-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e10aed4b5d66dc5e216d8c7978bc0ed39184df264f20482ee6da1912c7363fa0
MD5 a488c9c9c7766e6ace14ae3ea67e7fd2
BLAKE2b-256 ef5ac27362ebea9f76e25c6c9baa25070cb384e9b72826755da2e179f8614986

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