lib/statsample/test/t.rb in statsample-1.4.3 vs lib/statsample/test/t.rb in statsample-1.5.0
- old
+ new
@@ -123,11 +123,11 @@
end
# One Sample t-test
# == Usage
- # a=1000.times.map {rand(100)}.to_scale
+ # a=1000.times.map {rand(100)}.to_numeric
# t_1=Statsample::Test::T::OneSample.new(a, {:u=>50})
# t_1.summary
#
# === Output
#
@@ -194,11 +194,11 @@
end
end
# Two Sample t-test.
#
# == Usage
- # a=1000.times.map {rand(100)}.to_scale
- # b=1000.times.map {rand(100)}.to_scale
+ # a=1000.times.map {rand(100)}.to_numeric
+ # b=1000.times.map {rand(100)}.to_numeric
# t_2=Statsample::Test::T::TwoSamplesIndependent.new(a,b)
# t_2.summary
# === Output
# = Two Sample T Test
# Mean and standard deviation