# binomial-cdf

> Binomial cumulative distribution function

Latest version **4.0.0** (published 2023-09-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install binomial-cdf
pnpm add binomial-cdf
yarn add binomial-cdf
bun add binomial-cdf
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: no vulnerabilities; has provenance; high maintenance score.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2023-09-21 |
| First published | 2015-01-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | 18 \|\| >=20 |
| Dependencies | 1 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1 |
| Author | Kenan Yildirim |
| Maintainers | kenan |
| Keywords | math, statistics |

## Links

- npm: https://www.npmjs.com/package/binomial-cdf
- Repository: https://github.com/kenany/binomial-cdf
- Homepage: https://github.com/kenany/binomial-cdf#readme
- Issues: https://github.com/kenany/binomial-cdf/issues
- npm.io page: https://npm.io/package/binomial-cdf

## Dependencies (1)

- [choose](https://npm.io/package/choose.md) ^0.0.0

## Recent versions

- 4.0.0 (latest) — 2023-09-21
- 3.0.0 — 2022-12-22
- 2.0.0 — 2021-12-15
- 1.0.4 — 2015-10-21
- 1.0.3 — 2015-05-02
- 1.0.2 — 2015-02-10
- 1.0.1 — 2015-01-26
- 1.0.0 — 2015-01-26

## README

# binomial-cdf

Binomial cumulative distribution function.

## Example

``` javascript
var cdf = require('binomial-cdf');

cdf(52, 100, 0.5);
// => 0.69
```

## Installation

``` bash
$ npm install binomial-cdf
```

## API

``` javascript
var cdf = require('binomial-cdf');
```

### `cdf(k, n, p)`

Returns the probability of having **at most** _Number_ `k` successes in _Number_
`n` trials, given that the probability of a success is _Number_ `p`.

---
_Source: https://npm.io/package/binomial-cdf · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
