{"id":20287524,"url":"https://github.com/steviecurran/one-sample","last_synced_at":"2026-05-22T16:35:04.640Z","repository":{"id":242810095,"uuid":"810629282","full_name":"steviecurran/one-sample","owner":"steviecurran","description":"Confidence interval for a one sample test.","archived":false,"fork":false,"pushed_at":"2025-05-03T00:22:09.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-03T01:37:18.836Z","etag":null,"topics":["ab-testing","confidence-intervals","normal-distribution","samples","significance","statistics","students-t","t-score","z-score"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steviecurran.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-06-05T04:20:29.000Z","updated_at":"2025-05-03T00:22:12.000Z","dependencies_parsed_at":"2024-11-14T14:40:52.450Z","dependency_job_id":"cc32266c-e4c8-4d30-8c2f-06c9b6b6a8ee","html_url":"https://github.com/steviecurran/one-sample","commit_stats":null,"previous_names":["steviecurran/one-sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/steviecurran/one-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steviecurran%2Fone-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steviecurran%2Fone-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steviecurran%2Fone-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steviecurran%2Fone-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steviecurran","download_url":"https://codeload.github.com/steviecurran/one-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steviecurran%2Fone-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33354036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T12:23:38.849Z","status":"online","status_checked_at":"2026-05-22T02:00:06.671Z","response_time":265,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ab-testing","confidence-intervals","normal-distribution","samples","significance","statistics","students-t","t-score","z-score"],"created_at":"2024-11-14T14:40:21.704Z","updated_at":"2026-05-22T16:35:04.634Z","avatar_url":"https://github.com/steviecurran.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# One Sample Test \n\nPython code to give the confidence interval for a one sample test. \nUses z and t-distributions, without the need of look-up tables\nData can be extracted any column in an ascii for csv files.\n\nCan be run directly [here](https://www.kaggle.com/code/steviemooncat/one-sample-test)\n\nE.g. \n30 data points ranging from 80740 to 117313.0, mean = 100200.37, SD = 11285.48 (pop) 11478.41 (samp)\n\nPlot histogram [y/n]? n\n\nLevel of confidence [e.g. 95, 99, 99.9% - 3 sigma is 99.75]? 99\n\nSample size \u003e= 30 so using z-value\n\nFor 99.00% confidence, z = 2.570, giving mean diff of 100200.37 +/- 5384.80 (94815.57 to 105585.17)\n\n![](https://raw.githubusercontent.com/steviecurran/one-sample/refs/heads/main/salaries.dat-histo.png)\n-----------------------------------------------------------------------------------------------------\n\nFor two sample version see https://github.com/steviecurran/two-sample\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteviecurran%2Fone-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteviecurran%2Fone-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteviecurran%2Fone-sample/lists"}