Sha256: e167365572da5a45b4f57880933421f96b50c19dc785217125260b904bcbc1bb

Contents?: true

Size: 317 Bytes

Versions: 10

Compression:

Stored size: 317 Bytes

Contents

require File.dirname(__FILE__)+"/../lib/statsample"


tests=3000

r = GSL::Rng.alloc(GSL::Rng::TAUS, 1)
sample_sizes=[5,10,20,30]
sample_sizes.each{|sample_size|
monte=Statsample::Resample.repeat_and_save(tests) {
    v=[]
    sample_size.times{|i|
        v.push(r.ugaussian)
    }
    v.to_vector(:scale).mean

}
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
statsample-0.6.1 demo/t-student.rb
statsample-0.6.0 demo/t-student.rb
statsample-0.5.1 demo/t-student.rb
statsample-0.5.0 demo/t-student.rb
statsample-0.4.1 demo/t-student.rb
statsample-0.4.0 demo/t-student.rb
statsample-0.3.4 demo/t-student.rb
statsample-0.3.3 demo/t-student.rb
statsample-0.3.1 demo/t-student.rb
statsample-0.3.2 demo/t-student.rb