Sha256: 5bbc12fd28dffe80ee281dbee4c2a32b49626009152f560bbd6e4d89041286b0
Contents?: true
Size: 340 Bytes
Versions: 16
Compression:
Stored size: 340 Bytes
Contents
#!/usr/bin/ruby $:.unshift(File.dirname(__FILE__)+'/../lib/') require 'statsample' a=1000.times.collect {rand}.to_scale b=1000.times.collect {rand}.to_scale c=1000.times.collect {rand}.to_scale d=1000.times.collect {rand}.to_scale ds={'a'=>a,'b'=>b,'c'=>c,'d'=>d}.to_dataset cm=Statsample::Bivariate.correlation_matrix(ds) puts cm.summary
Version data entries
16 entries across 16 versions & 1 rubygems