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: 30 days 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 (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-05T23:14:21.000Z (about 2 years ago)
- Last Synced: 2025-01-14T08:27:36.435Z (over 1 year 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-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σ]