
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
文系エンジニアが統計学の学習がてらにつくったgemです。
現在実装済みの機能
Add this line to your application's Gemfile:
gem 'statistic'
And then execute:
$ bundle
Or install it yourself as:
$ gem install statistic
TODO: Write usage instructions here
ary = [6,4,6,6,6,3,7,2,2,8]
sd = Statistic::StandardDeviation.new(ary)
# 標準偏差
sd.calc
=> 2
# 95%信頼区間内判定
@sd.within_95_percent?(1.0)
=> true
@sd.within_95_percent?(0.9)
=> false
@sd.within_95_percent?(9.0)
=> true
@sd.within_95_percent?(9.1)
=> false
# 平均
sd.average
=> 4
# 偏差
sd.average
=> [1, -1, 1, 1, 1, -2, 2, -3, -3, 3]
# 分散
sd.variances
=> 4
各データの平均からの差分
偏差の二乗の平均
分散の平方根 (≒ 偏差の絶対値の平均)
標準偏差の2倍の範囲内にそのデータが入るか否か
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/statistic. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Statistic project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
FAQs
Unknown package
We found that statistic demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.