{"id":20287528,"url":"https://github.com/steviecurran/two-sample","last_synced_at":"2025-10-14T11:03:08.826Z","repository":{"id":244714080,"uuid":"816041950","full_name":"steviecurran/two-sample","owner":"steviecurran","description":"AB testing between two samples for both z- and t- distributions","archived":false,"fork":false,"pushed_at":"2025-06-19T22:34:01.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T23:27:05.804Z","etag":null,"topics":["ab-testing","confidence-intervals","hypothesis-testing","normal-distribution","sample-tests","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-16T22:36:58.000Z","updated_at":"2025-06-19T22:34:05.000Z","dependencies_parsed_at":"2024-06-16T23:40:55.045Z","dependency_job_id":"c908c657-ea80-41bb-a908-23d8a77b537f","html_url":"https://github.com/steviecurran/two-sample","commit_stats":null,"previous_names":["steviecurran/two-sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/steviecurran/two-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steviecurran%2Ftwo-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steviecurran%2Ftwo-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steviecurran%2Ftwo-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steviecurran%2Ftwo-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steviecurran","download_url":"https://codeload.github.com/steviecurran/two-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steviecurran%2Ftwo-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018762,"owners_count":26086454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"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","hypothesis-testing","normal-distribution","sample-tests","statistics","students-t","t-score","z-score"],"created_at":"2024-11-14T14:40:22.179Z","updated_at":"2025-10-14T11:03:08.816Z","avatar_url":"https://github.com/steviecurran.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Two sample test \n\nPython code to give the confidence interval for two sample test.\nUses z and t-distributions, without the need of look-up tables.\nData can be extracted from any column in an ascii or csv file.\n\nCan be run directly [here](https://www.kaggle.com/code/steviemooncat/two-sample-test)\n\nE.g. Data with the two samples to compare? 3.15_apples.dat\n\nFor NY -  n = 10, mean = 3.941, SD = 0.184 [sample]\n\nFor LA -  n = 8, mean = 3.245, SD = 0.268 [sample]\n\nLevel of confidence [e.g. 95, 99, 99.9% - z = 3 sigma is 99.75]? 95\n\nAt least one sample size \u003c 30 so using t-value\n\nVariance ratio is 0.47,\n\nAssume equal sample variances (for ratio between 0.5 and 2 can assume equal) [y/n]? y\n\nFor 95.00% confidence (16 DoFs), t-value is 2.120, giving mean diff of 0.70 +/- 0.23 (0.47 to 0.92)\n\nFor 99.90% confidence (16 DoFs), t-value is 4.006, giving mean diff of 0.70 +/- 0.43 (0.27 to 1.12)\n\n-----------------------------------------------------------------------------------------------------\n\nFor one sample version see [https://github.com/steviecurran/one-sample](https://github.com/steviecurran/one-sample)\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteviecurran%2Ftwo-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteviecurran%2Ftwo-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteviecurran%2Ftwo-sample/lists"}