Sha256: 6f240fc8e3159d1137697ca545adb33c20b57805df91ba37c3e3795228a0b3d6

Contents?: true

Size: 786 Bytes

Versions: 8

Compression:

Stored size: 786 Bytes

Contents

require 'distribution/bivariatenormal/ruby'
require 'distribution/bivariatenormal/gsl'
require 'distribution/bivariatenormal/java'
module Distribution
  # Calculate pdf and cdf for bivariate normal distribution.
  #
  # Pdf if easy to calculate, but CDF is not trivial. Several papers
  # describe methods to calculate the integral.
  module BivariateNormal
    SHORTHAND='bnor'

    extend Distributable
    create_distribution_methods
    
    ##
    # :singleton-method: pdf(k,n,prob)
    # Probability density function for exactly +k+ successes in +n+ trials
    # with success probability +prob+
    # 
    
    ##
    # :singleton-method: cdf(k,n,prob)
    # Cumulative density function for +k+ or less successes in +n+ trials
    # with success probability +prob+
    
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
distribution-0.7.3 lib/distribution/bivariatenormal.rb
distribution-0.7.2 lib/distribution/bivariatenormal.rb
distribution-0.7.1 lib/distribution/bivariatenormal.rb
distribution-0.7.0 lib/distribution/bivariatenormal.rb
distribution-0.6.0 lib/distribution/bivariatenormal.rb
distribution-0.5.0 lib/distribution/bivariatenormal.rb
distribution-0.4.0 lib/distribution/bivariatenormal.rb
distribution-0.3.0 lib/distribution/bivariatenormal.rb