Sha256: 5802ef44441bf9c46ce80e8250ae103dc0af2a90ed1a6a794672f24af5ec65f9
Contents?: true
Size: 781 Bytes
Versions: 4
Compression:
Stored size: 781 Bytes
Contents
require 'distribution/f/ruby' require 'distribution/f/gsl' require 'distribution/f/statistics2' require 'distribution/f/java' module Distribution # Calculate cdf and inverse cdf for F Distribution. # module F SHORTHAND='fdist' extend Distributable create_distribution_methods ## # :singleton-method: pdf(x,k1,k2) # Returns the PDF of F distribution # with +k1+ and +k2+ degrees of freedom over [0, +x+] ## # :singleton-method: p_value(qn, k1, k2) # Return the P-value of the corresponding integral +qn+ with # +k1+ and +k2+ degrees of freedom ## # :singleton-method: cdf(x,k1,k2) # Returns the integral of F distribution # with +k1+ and +k2+ degrees of freedom over [0, +x+] end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
distribution-0.7.2 | lib/distribution/f.rb |
distribution-0.7.1 | lib/distribution/f.rb |
distribution-0.7.0 | lib/distribution/f.rb |
distribution-0.6.0 | lib/distribution/f.rb |