Sha256: cd99d96008ca7b462135f86c8944725e7aa8e392a4e2712855d6ce4dda33944b
Contents?: true
Size: 388 Bytes
Versions: 8
Compression:
Stored size: 388 Bytes
Contents
require(File.expand_path(File.dirname(__FILE__)+'/helpers_tests.rb')) class StatsampleSrsTestCase < MiniTest::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
8 entries across 8 versions & 1 rubygems