Sha256: 07cb4ec5e2c41cbf7efa88302193bc3b0b084826a546e086fb5cb041403add42
Contents?: true
Size: 774 Bytes
Versions: 1
Compression:
Stored size: 774 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
distribution-0.8.0 | lib/distribution/bivariatenormal.rb |