Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/steviecurran/one-sample
One Sample Test
https://github.com/steviecurran/one-sample
ab-testing confidence-intervals normal-distribution samples significance statistics students-t
Last synced: about 2 months ago
JSON representation
One Sample Test
- Host: GitHub
- URL: https://github.com/steviecurran/one-sample
- Owner: steviecurran
- Created: 2024-06-05T04:20:29.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-16T22:55:16.000Z (7 months ago)
- Last Synced: 2024-06-16T23:45:45.426Z (7 months ago)
- Topics: ab-testing, confidence-intervals, normal-distribution, samples, significance, statistics, students-t
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# one-sample
One Sample TestPython code to give the confidence interval for a one sample test.
Uses z and t-distributions, without the need of look-up tables
Data can be extracted any column in an ascii for csv files.
E.g.
30 data points ranging from 80740 to 117313.0, mean = 100200.37, SD = 11285.48 (pop) 11478.41 (samp)Plot histogram [y/n]? n
Level of confidence [e.g. 95, 99, 99.9% - 3 sigma is 99.75]? 99
Sample size >= 30 so using z-value
For 99.00% confidence, z = 2.570, giving mean diff of 100200.37 +/- 5384.80 (94815.57 to 105585.17)
-----------------------------------------------------------------------------------------------------
For two sample version see https://github.com/steviecurran/two-sample