Skip to content

A work-in-progress library of statistical functions and elements.

License

Notifications You must be signed in to change notification settings

cameronmore/Statsy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drawing

Statsy

Note, this repository and the statsy package is still in development

PyPI Version License CI

Overview

This repository contains the source code for the PyPi package Statsy. This package was built initially to track functions, operations, and methods used for statistics. It is not a production-ready package, but its components and functions may be used and repurposed.

The package is divided into several components, visualized with pydeps below:

drawing


Although the main module imports NumPy, it is not a significant dependency. main.py defines a few core, frequently occuring operations such as summation notation and product notation. Most of the core statistical functions and operations are located in Methods.py

Currently, Statsy provides support for many standard functions in statistics (variance, standard deviation, mean, geometric mean, etc.) and probability (simple probability, joint probability, permutations, combinations, etc.).

Quickstart

Statsy may be downloaded using pip:

pip install statsy

And imported into your code:

import statsy as sty

print(sty.summation(None,None,lambda x,y: x*y, [[1,2,3],[4,5,6]]))

Alternatively, the entire module may be imported, and the functions called directly:

from statsy import *

print(summation(None,None,lambda x,y: x*y, [[1,2,3],[4,5,6]]))

Disclaimers

Statsy is built out of simple Python components and is not computationally optimized. Users may find libraries such as NumPy, Pandas, SciPy, and StatsModels more suitable and stable for their purposes.

About

A work-in-progress library of statistical functions and elements.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages