{"id":22401746,"url":"https://github.com/whossname/stream_stats","last_synced_at":"2025-10-30T23:07:27.756Z","repository":{"id":57553847,"uuid":"211224459","full_name":"whossname/stream_stats","owner":"whossname","description":"Concurrent calculation of count, mean and standard deviation","archived":false,"fork":false,"pushed_at":"2019-10-01T07:59:38.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T06:45:54.569Z","etag":null,"topics":["elixir","standard-deviation","statistics","stream-processing"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/stream_stats","language":"Elixir","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/whossname.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-27T02:59:16.000Z","updated_at":"2019-10-01T07:59:40.000Z","dependencies_parsed_at":"2022-09-26T19:30:48.009Z","dependency_job_id":null,"html_url":"https://github.com/whossname/stream_stats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whossname%2Fstream_stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whossname%2Fstream_stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whossname%2Fstream_stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whossname%2Fstream_stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whossname","download_url":"https://codeload.github.com/whossname/stream_stats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245758037,"owners_count":20667461,"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":["elixir","standard-deviation","statistics","stream-processing"],"created_at":"2024-12-05T09:08:13.669Z","updated_at":"2025-10-30T23:07:27.624Z","avatar_url":"https://github.com/whossname.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StreamStats\n\nEnables concurrent calculation of count, mean and standard deviation.\nNew values can be aggregated into an existing stat tuple and two stat\ntuples can be merged into one.\n\nInspired by the following article by John D. Cook:\nhttps://www.johndcook.com/blog/skewness_kurtosis/\n\n## Installation\n\nThe package can be installed by adding `stream_stats` to your list of\ndependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:stream_stats, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\n## Example usage\n\nGiven two lists of numbers `values_1` and `values_2` the two lists can be\naggregated independently, then combined into a single stats tuple:\n\n```elixir\n  stream_1 = StreamStats.reduce(values_1)\n  stream_2 = StreamStats.reduce(values_2)\n  stats = StreamStats.combine(stream_1, stream_2)\n\n  {count, mean, _m2} = stats\n  std_dev = StreamStats.standard_deviation(stats)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhossname%2Fstream_stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhossname%2Fstream_stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhossname%2Fstream_stats/lists"}