Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/steviecurran/z-from-p
- Owner: steviecurran
- Created: 2024-06-05T00:59:44.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-05T23:14:21.000Z (7 months ago)
- Last Synced: 2024-06-06T02:27:26.267Z (7 months ago)
- Topics: probability, significance-testing, statistics
- Language: C
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Z-from-p
C code to convert Z-value (significance) to p-valueSaves 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σ]