Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var wilson = require('wilson-score')
- `total` - the total number of votes
- `z-score` - the z-score of the interval.
By default, it's ~2.3 which corresponds to a 99% confidence interval.
Use `1.644853` for 95%.
Use `1.644853` for 90% or `1.96` for 95%.

Instead of calculating the average as `up / total`,
calculate the wilson score via `wilson(up, total)`.
Expand Down