lib/statsample/dominanceanalysis/bootstrap.rb in statsample-0.3.4 vs lib/statsample/dominanceanalysis/bootstrap.rb in statsample-0.4.0

- old
+ new

@@ -67,13 +67,11 @@ raise "You should bootstrap first" if @n_samples==0 alfa=0.95 out.extend report_type out.add _("Summary for Bootstrap Dominance Analysis of %s on %s\n") % [@fields.join(", "), @y_var] out.add _("Sample size: %d\n") % @n_samples - if HAS_GSL - t=GSL::Cdf.tdist_Pinv(1-((1-alfa) / 2),@n_samples - 1) + t=Distribution::T.p_value(1-((1-alfa) / 2),@n_samples - 1) out.add "t:#{t}\n" - end out.add "Linear Regression Engine: #{@lr_class.name}" out.nl table=ReportTable.new header=[_("pairs"),"sD","Dij",_("SE(Dij)"),"Pij","Pji","Pno",_("Reproducibility")] table.header=header