{"id":16146852,"url":"https://github.com/antoinesoetewey/statistics-101","last_synced_at":"2026-05-26T00:01:27.050Z","repository":{"id":38411542,"uuid":"220425112","full_name":"AntoineSoetewey/statistics-101","owner":"AntoineSoetewey","description":"Shiny app to compute probabilities for the main probability distributions.","archived":false,"fork":false,"pushed_at":"2026-05-18T11:28:05.000Z","size":208,"stargazers_count":10,"open_issues_count":0,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-18T13:22:00.295Z","etag":null,"topics":["probability","r","shiny","statistics"],"latest_commit_sha":null,"homepage":"https://antoinesoetewey.shinyapps.io/statistics-101/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AntoineSoetewey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"AntoineSoetewey","custom":["https://www.buymeacoffee.com/statsandr","https://www.paypal.com/donate/?hosted_button_id=TUVCTTX838UC2","https://statsandr.com/support/"]}},"created_at":"2019-11-08T08:49:16.000Z","updated_at":"2026-05-18T11:28:09.000Z","dependencies_parsed_at":"2024-10-27T18:41:30.572Z","dependency_job_id":null,"html_url":"https://github.com/AntoineSoetewey/statistics-101","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AntoineSoetewey/statistics-101","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntoineSoetewey%2Fstatistics-101","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntoineSoetewey%2Fstatistics-101/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntoineSoetewey%2Fstatistics-101/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntoineSoetewey%2Fstatistics-101/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AntoineSoetewey","download_url":"https://codeload.github.com/AntoineSoetewey/statistics-101/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntoineSoetewey%2Fstatistics-101/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33497930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-25T14:31:05.219Z","status":"ssl_error","status_checked_at":"2026-05-25T14:31:02.878Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["probability","r","shiny","statistics"],"created_at":"2024-10-10T00:22:12.667Z","updated_at":"2026-05-26T00:01:27.046Z","avatar_url":"https://github.com/AntoineSoetewey.png","language":"R","funding_links":["https://github.com/sponsors/AntoineSoetewey","https://www.buymeacoffee.com/statsandr","https://www.paypal.com/donate/?hosted_button_id=TUVCTTX838UC2","https://statsandr.com/support/"],"categories":[],"sub_categories":[],"readme":"# statistics-101\n\nA Shiny app to compute probabilities for the main probability distributions.\n\n**Live app:** https://antoinesoetewey.shinyapps.io/statistics-101/\n\n**Companion guide:** https://statsandr.com/blog/a-guide-on-how-to-read-statistical-tables/\n\n---\n\n## Purpose and Overview\n\nStatistics 101 is an interactive web application built with R Shiny that allows users to compute probabilities for a wide range of probability distributions. It is designed as a digital alternative to traditional statistical tables, enabling students to look up and visualize probabilities without needing printed reference tables.\n\nUsers select a distribution, set its parameters, choose a probability type (lower tail, upper tail, or interval), and instantly receive the exact probability alongside a plot of the distribution with the relevant area highlighted.\n\n---\n\n## Key Features\n\n- **18 supported distributions** — both discrete and continuous:\n  - Discrete: Binomial, Geometric (I), Geometric (II), Hypergeometric, Negative Binomial (I), Negative Binomial (II), Poisson\n  - Continuous: Beta, Cauchy, Chi-square, Exponential, Fisher, Gamma, Logistic, Log-Normal, Normal, Student, Weibull\n- **Three probability types** for each distribution:\n  - Lower tail: $P(X \\le x)$\n  - Upper tail: $P(X \u003e x)$\n  - Interval: $P(a \\le X \\le b)$\n- **Interactive parameter inputs** — distribution parameters update in real time, with constraints to prevent invalid values\n- **LaTeX-rendered output** — probability results are displayed using MathJax notation (e.g., $X \\sim N(\\mu = 0, \\sigma^2 = 1)$ and $P(X \\le 1.96) = 0.975$)\n- **Distribution plots** — each query is accompanied by a ggplot2 visualization with the probability area shaded\n- **Flexible parameterization** — for distributions like Normal and Log-Normal, users can specify either variance or standard deviation\n\n---\n\n## Running the App Locally\n\n### Prerequisites\n\nInstall R (\u003e= 4.0 recommended) and the following packages:\n\n```r\ninstall.packages(c(\"shiny\", \"shinycssloaders\", \"shinythemes\", \"dplyr\", \"ggplot2\", \"mixdist\"))\n```\n\n### Launch\n\n1. Clone or download this repository.\n2. Open `statistics-101.Rproj` in RStudio, or set the repository root as your working directory in R.\n3. Install the dependencies listed above if needed.\n4. Launch the app:\n\n```r\nshiny::runApp()\n```\n\nThe app will open in your default browser.\n\n---\n\n## Dependencies\n\n| Package | Role |\n|---|---|\n| `shiny` | Web application framework |\n| `shinycssloaders` | Loading spinners for reactive outputs |\n| `shinythemes` | UI theme (Flatly) |\n| `dplyr` | Data manipulation |\n| `ggplot2` | Distribution plots |\n| `mixdist` | Supporting distribution utilities |\n\n---\n\n## Related Apps\n\nThis app is part of a set of three complementary Shiny applications developed for students while I was a teaching assistant at UCLouvain. All three apps are still actively used in introductory statistics and probability courses.\n\n- **statistics-101** — compute probabilities for the main probability distributions: https://github.com/AntoineSoetewey/statistics-101 (this app)\n- **statistics-201** — perform statistical inference on mean(s), proportion(s), and variance(s): https://github.com/AntoineSoetewey/statistics-201\n- **statistics-202** — simple linear regression by hand: https://github.com/AntoineSoetewey/statistics-202\n\n---\n\n## License\n\nThis project is licensed under the terms of the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoinesoetewey%2Fstatistics-101","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantoinesoetewey%2Fstatistics-101","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoinesoetewey%2Fstatistics-101/lists"}