{"id":23072476,"url":"https://github.com/doches/ruby-regress","last_synced_at":"2025-04-03T10:43:41.690Z","repository":{"id":1033877,"uuid":"862334","full_name":"doches/ruby-regress","owner":"doches","description":"A command-line tool \u0026 Ruby class for computing Pearson's r and other stats","archived":false,"fork":false,"pushed_at":"2012-04-17T12:02:43.000Z","size":108,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-25T10:21:09.647Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/doches.png","metadata":{"files":{"readme":"README.mdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-08-25T20:19:30.000Z","updated_at":"2013-10-12T06:11:49.000Z","dependencies_parsed_at":"2022-07-18T16:28:40.129Z","dependency_job_id":null,"html_url":"https://github.com/doches/ruby-regress","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doches%2Fruby-regress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doches%2Fruby-regress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doches%2Fruby-regress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doches%2Fruby-regress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doches","download_url":"https://codeload.github.com/doches/ruby-regress/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246989505,"owners_count":20865305,"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":[],"created_at":"2024-12-16T07:19:55.910Z","updated_at":"2025-04-03T10:43:41.670Z","avatar_url":"https://github.com/doches.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ruby-regress\n### A partial drop-in replacement for |STAT's regress\n\n`ruby-regress` is a tool for computing correlations and regression equations\nfrom two-variable input. It is designed to function as a drop-in replacement\nfor Gary Perlman's `regress`, at least for those who use only the basic\nfunctionality that `regress` provides.\n\n## Why!?\n\nThe problem with Gary Perlman's excellent |STAT programs is twofold: \n\n   + The only way of obtaining a copy is by emailing Perlman and asking for it.\n   + The distribution of modified copies is [expressely forbidden](http://oldwww.acm.org/perlman/stat/history.html#conditions).\n\nIf you need bulletproof robustness you're probably better off dealing with Perlman's terms of access and using |STAT; if you want ease of installation, try `ruby-regress`.\n## Installation\n\n#### From rubygems\n\nIf you're using Gemcutter.org as a your gem host (hint: you almost certainly are) you can \ninstall ruby-regress using rubygems:\n\n    gem install ruby-regress\n    \nwhich installs the `regress` executable.\n\n#### From source\n\nDownload the most recent source from Github:\n\n    git clone git://github.com/doches/ruby-regress.git\n\nthen build and install the gem:\n\n    cd ruby-regress\n    rake build\n    sudo rake install\n\n## Usage\n\nruby-regress installs a single command line tool called `regress`, which\nreads from `STDIN` and prints a report containing the correlation coefficient,\nplus some descriptive statistics, to `STDOUT`. For example, if we have a file in\nthe current directory called `data.txt` containing two datasets:\n\n    1   12.0\n    2   11.0\n    3   13.0\n    4   14.0\n\nwe can get the correlation coefficient between these two variables by:\n\n    cat data.txt | regress\n\nwhich will dump a load of statistical information about the datasets to\nthe terminal.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoches%2Fruby-regress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoches%2Fruby-regress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoches%2Fruby-regress/lists"}