Sha256: f7efded263fe1646c73cab0fb0cd4bba7a8b9af18995e315b5ffdaf451ee2308
Contents?: true
Size: 402 Bytes
Versions: 5
Compression:
Stored size: 402 Bytes
Contents
#!/usr/bin/ruby $:.unshift(File.dirname(__FILE__)+'/../lib/') require 'statsample' size=1000 a=size.times.map {rand(10)}.to_scale b=a.recode{|i|i+rand(4)-2} c=a.recode{|i|i+rand(4)-2} d=a.recode{|i|i+rand(4)-2} @ds={'a'=>a,'b'=>b,'c'=>c,'d'=>d}.to_dataset @icc=Statsample::Reliability::ICC.new(@ds) puts @icc.summary @icc.type=:icc_3_1 puts @icc.summary @icc.type=:icc_a_k puts @icc.summary
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
statsample-0.18.0 | examples/icc.rb |
statsample-0.17.0 | examples/icc.rb |
statsample-0.16.0 | examples/icc.rb |
statsample-0.15.1 | examples/icc.rb |
statsample-0.15.0 | examples/icc.rb |