{"id":18250379,"url":"https://github.com/qtle3/stats","last_synced_at":"2025-04-08T20:27:27.179Z","repository":{"id":251308889,"uuid":"837021342","full_name":"qtle3/stats","owner":"qtle3","description":"This repository contains two Python scripts, `stats_calculations.py` and `stats_user.py`, which provide a comprehensive toolset for performing statistical calculations. The program allows users to compute various statistical metrics such as mean, median, mode, variance, and standard deviation, all through a user-friendly command-line interface.","archived":false,"fork":false,"pushed_at":"2024-08-02T04:43:39.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T16:01:52.660Z","etag":null,"topics":["alogrithm","error-handling","modular-design","python-functions","quick-select","statistical-analysis","user-input"],"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/qtle3.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}},"created_at":"2024-08-02T03:48:39.000Z","updated_at":"2024-08-02T04:44:10.000Z","dependencies_parsed_at":"2024-08-02T05:27:56.834Z","dependency_job_id":"6909af14-5216-4344-a02b-1f9c2ee90140","html_url":"https://github.com/qtle3/stats","commit_stats":null,"previous_names":["qtle3/stats"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qtle3%2Fstats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qtle3%2Fstats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qtle3%2Fstats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qtle3%2Fstats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qtle3","download_url":"https://codeload.github.com/qtle3/stats/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247921502,"owners_count":21018605,"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","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":["alogrithm","error-handling","modular-design","python-functions","quick-select","statistical-analysis","user-input"],"created_at":"2024-11-05T09:44:30.952Z","updated_at":"2025-04-08T20:27:27.151Z","avatar_url":"https://github.com/qtle3.png","language":"Python","readme":"## Scripts\n\n### 1. `stats_calculations.py`\n\n- **Purpose:** Provides functions to perform statistical calculations.\n- **Key Functions:**\n  - `calculate_mean()`: Computes the average of a list of numbers.\n  - `calculate_median()`: Determines the middle value in a sorted list.\n  - `calculate_mode()`: Finds the most frequent value in a list.\n  - `calculate_variance()`: Measures the dispersion of a set of numbers.\n  - `calculate_standard_deviation()`: Calculates the amount of variation in a dataset.\n  - `calculate_quartiles()`: Computes the quartiles of a dataset.\n  - `get_numbers_from_user()`: Handles user input for numbers.\n  \n### 2. `stats_user.py`\n\n- **Purpose:** Provides a command-line interface (CLI) for interacting with statistical functions.\n- **Features:**\n  - Interactive menu for selecting statistical operations.\n  - Data visualization using histograms.\n  - Allows for repeated calculations without restarting the program.\n \n## Key Concepts Covered\n\n- **Statistical Analysis:** Understand and compute basic statistical measures.\n- **Python Functions:** Modularize code using functions for different calculations.\n- **Error Handling:** Manage user input and handle exceptions gracefully.\n- It also includes a `quick_select` algorithm for efficient median calculation.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqtle3%2Fstats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqtle3%2Fstats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqtle3%2Fstats/lists"}