Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdh266/poissondistributioninscala
Sampling From Poisson Distribution With A Functional Approach
https://github.com/mdh266/poissondistributioninscala
data-science functional-programming poisson-distribution scala statistics
Last synced: about 1 month ago
JSON representation
Sampling From Poisson Distribution With A Functional Approach
- Host: GitHub
- URL: https://github.com/mdh266/poissondistributioninscala
- Owner: mdh266
- License: mit
- Created: 2021-01-10T23:43:58.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-11T01:25:35.000Z (about 4 years ago)
- Last Synced: 2024-06-11T17:54:03.757Z (7 months ago)
- Topics: data-science, functional-programming, poisson-distribution, scala, statistics
- Language: Scala
- Homepage:
- Size: 189 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.com/mdh266/PoissonDistributionInScala.svg?branch=master)](https://travis-ci.com/mdh266/PoissonDistributionInScala)
# Poisson Distribution In Scala
----------------Example of sampling from a [Poisson distribution](https://en.wikipedia.org/wiki/Poisson_distribution) using a functional approach.
Calculating the mean, variance and confidence interval for the Poisson rate.## Depenendencies
--------
1. [Scala 2.12.7](https://www.scala-lang.org/)
2. [SBT 1.4.4](https://www.scala-sbt.org/)
3. [OpenJDK 1.8.0](https://openjdk.java.net/)
4. [ScalaTest 3.2.2](https://www.scalatest.org/)## Running
----------
Using sbt run the command:sbt run
Or
sbt package
scala target/scala-2.12/poissondist.12-1.0.jar
You should see,
![](project/confidence.png)