Generates a normal distribution z-score table in Go. Provides functions for quick z-score and percentage lookup.
To start using ztable, install Go and run go get
:
$ go get -u github.com/gregscott94/z-table-golang
// Creating a new z-score table
zTable := NewZTable(nil)
// To find the percentage of a given z-score
percentage := zTable.FindPercentage(1.09)
// percentage = 0.8621434279679557
// To find the closest z-score given a percentage
zScore, err := zTable.FindZScore(0.04363)
// zScore = -1.71