Skip to main content

Statistical functions not included by canonical Python analytical packages.

Project description

A collection of statistical functions

version: 0.3.5

This repository offers a collection of Python-based statistical modules, encompassing hypothesis testing, interval estimation, resampling methods, regression techniques (including Firth’s logistic regression), and selected machine learning utilities.

The documentation for stats-misc can be found here.

Installation

At present, this package is undergoing development and no packages exist yet on PyPI. Therefore it is recommended that you install in either of the two ways below.

Installation using conda

I maintain a conda package in my personal conda channel. To install from this please run:

conda install afschmidt::stats-misc

Installation using pip

You can install using pip from the root of the cloned repository, first clone and cd into the repository root:

git clone git@gitlab.com:SchmidtAF/stats-misc.git
cd stat-misc

Install the dependencies:

# From the root of the repository
conda env create --file ./resources/conda/envs/conda_create.yaml

To add to an existing environment use:

# From the root of the repository
conda env update --file ./resources/conda/envs/conda_create.yaml

Next the package can be installed:

python -m pip install .

Or for an editable (developer) install run the command below from the root of the repository. The difference with this is that you can just to a git pull to update repository, or switch branches without re-installing:

python -m pip install -e .

Installation not using any conda dependencies

If you are not using conda in any way then install the dependencies via pip and install repository as an editable install also via pip:

Install dependencies:

python -m pip install --upgrade -r requirements.txt

Then to install repository you can either do:

python -m pip install .

Or for an editable (developer) install run the command below from the root of the repository. The difference with this is that you can just to a git pull to update repository, or switch branches without re-installing:

python -m pip install -e .

Next steps...

After installation, you may wish to run the included test suite with pytest to verify that the package is functioning as expected.

# From the root of the repository
pytest tests

Usage

Please have a look at the examples in resources .

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

stats_misc-0.3.5.tar.gz (57.4 kB view details)

Uploaded Source

Built Distribution

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

stats_misc-0.3.5-py3-none-any.whl (62.7 kB view details)

Uploaded Python 3

File details

Details for the file stats_misc-0.3.5.tar.gz.

File metadata

  • Download URL: stats_misc-0.3.5.tar.gz
  • Upload date:
  • Size: 57.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for stats_misc-0.3.5.tar.gz
Algorithm Hash digest
SHA256 2fef9a6fd77b2249e34941a5f5cee2665b096899e304f1c0893be245c9edcf3d
MD5 187d454318e9d2ae5c7819789ce964fd
BLAKE2b-256 490cca7e6981ca33acbd42ad505bf31526f5e15f2cb91134b358eee2197f5cc2

See more details on using hashes here.

File details

Details for the file stats_misc-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: stats_misc-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 62.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for stats_misc-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5fab86fdd776304b2c67865f80f2d005cfd3da89be4f899bca7ceb1488303925
MD5 1a5ed2235d41cdfe43468e7aa352a833
BLAKE2b-256 dca3e1952a8243f99a22b4f6537bf9f79d46f4504b3b323c9be5973ddfac43a3

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