Skip to content
GusFurtadoPublic

About

A collection of statistical odds and ends.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

Repository files navigation

statsjunk

A collection of statistical odds and ends.

PyPI Python versions Downloads Tests License

Documentation

Framework-free Python functions for common statistical tasks. Every function takes plain arrays and returns a typed Pydantic result model; invalid input raises ValueError instead of failing silently.

Installation

pip install statsjunk

What's inside

  • correlation: Pearson and Spearman correlation with confidence intervals, and the Fisher z-transformation.
  • regression: simple and multiple linear regression, with standardized coefficients and VIFs.
  • spatial: global Moran's I spatial autocorrelation.
  • elections: Laakso-Taagepera effective number of parties.
  • samplesize: minimum sample size for prediction models, a port of R's pmsampsize.

See the API reference for every function.

About

A collection of statistical odds and ends.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages