Skip to content

Generates a normal distribution z-score table in Go.

License

Notifications You must be signed in to change notification settings

fresh8gaming/z-table-golang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Normal Distribution Z-Score Table - Go

Generates a normal distribution z-score table in Go. Provides functions for quick z-score and percentage lookup.

Installing

To start using ztable, install Go and run go get:

$ go get -u github.com/gregscott94/z-table-golang

To Use

// 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

About

Generates a normal distribution z-score table in Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%