Skip to content

Python code for calculating Z-value from the p-value

Notifications You must be signed in to change notification settings

steviecurran/Z-value

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Z-value

Calculate the significance (Z-value) from the p-value.

Simple code which saves using those confusing Z-value tables at the back of your stats book.

Code will also produce plot, which can be disabled by commenting "plt.show()", although this makes an excellent teaching tool in numerical intergration. Just set npts = 100 for a demonstration.

Only accurate to p > 1e-5 [Z < 4.1σ], otherwise use (the much faster) C version at https://github.com/steviecurran/Z-value

Releases

No releases published

Packages

No packages published

Languages