Sha256: efb6c2fe9cd9521790b972ca7e09ee332725bea675d7cdd368e5ca603ab1a8e8
Contents?: true
Size: 417 Bytes
Versions: 12
Compression:
Stored size: 417 Bytes
Contents
$:.unshift(File.dirname(__FILE__)+'/../lib/') require 'statsample' require 'test/unit' class StatsampleSrsTestCase < Test::Unit::TestCase def test_std_error assert_equal(384,Statsample::SRS.estimation_n0(0.05,0.5,0.95).to_i) assert_equal(108,Statsample::SRS.estimation_n(0.05,0.5,150,0.95).to_i) assert_in_delta(0.0289,Statsample::SRS.proportion_sd_kp_wor(0.5,100,150),0.001) end end
Version data entries
12 entries across 12 versions & 1 rubygems