Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/steviecurran/z-from-p

C code to convert Z-value (significance) to p-value
https://github.com/steviecurran/z-from-p

probability significance-testing statistics

Last synced: about 2 months ago
JSON representation

C code to convert Z-value (significance) to p-value

Awesome Lists containing this project

README

        

# Z-from-p
C code to convert Z-value (significance) to p-value

Saves the need for looking up a standard normal Z-table, which is likely only to go up to Z = 3.49, or a two-sided probability p > 0.000483 (calculated from this code).

E.g. Enter Z-value [sigma]: 6.5

One-sided probability, p = 4.01e-11

Two-sided probability, p = 8.03e-11

Python version at https://github.com/steviecurran/Z-value, but this is only accurate to p > 1e-5 [Z < 4.1σ]