Skip to content

ulf1/histpdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm version Join the chat at https://gitter.im/satzbeleg/community

histpdf

Approximate the density (PDF) from a histogram for given bins

Usage

  1. Install
yarn add histpdf@0.1.0
  1. Load package
import { histpdf } from 'histpdf';

const data = Array.from({length: 40}, () => Math.random())
const bin_edges = [.1, .25, .5, .75, 9.].sort()
const probas = histpdf(data, bin_edges)

Appendix

Misc commands

  • Login into yarn: yarn login
  • Publish the package: yarn publish

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

Acknowledgements

This work was funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) - 433249742. Project duration: 2020-2023.

About

Approximate the density (PDF) from a histogram for given bins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published