Main > Programming > Libraries >

Statistics::GammaDistribution 0.02

Statistics::GammaDistribution 0.02

Sponsored Links

Statistics::GammaDistribution 0.02 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.010 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 809
Date added: 2007-08-08

Statistics::GammaDistribution 0.02 description

Statistics::GammaDistribution Perl module represents a gamma distribution.

SYNOPSIS

use Statistics::GammaDistribution;
my $g = Statistics::GammaDistribution->new();
$g->set_order(8.5);
print $g->rand(1.0);

my @alpha = (0.5,4.5,20.5,6.5,1.5,0.5);
my @theta = $g->dirichlet_dist(@alpha);

METHODS

$gamma = Statistics::GammaDistribution->new();

No parameters necessary.

$variate = $gamma->rand( SCALE );

This function returns a random variate from the gamma distribution. The distribution function is,

p(x) dx = {1 over Gamma(a) b^a} x^{a-1} e^{-x/b} dx
for x > 0.

Where a is the order and b is the scale. Unless supplied as a parameter, SCALE is assumed to be 1.0 if not supplied.
$gamma->get/set_order( ORDER );

Gets/sets the order of the distribution. Order must be greater than zero.

@theta = $gamma->dirichlet_dist( ALPHA );

Takes a K-sized array of real numbers (all greater than zero), and returns a K-sized array containing random variates from a Dirichlet distribution. The distribution function is

p(theta_1, ..., theta_K) dtheta_1 ... dtheta_K =
(1/Z) prod_{i=1}^K theta_i^{alpha_i - 1} delta(1 -sum_{i=1}^K theta_i) dtheta_1 ... dtheta_K

for theta_i >= 0 and alpha_i >= 0. The normalization factor Z is
Z = {prod_{i=1}^K Gamma(alpha_i)} / {Gamma( sum_{i=1}^K alpha_i)}

The random variates are generated by sampling K values from gamma distributions with parameters order=alpha_i, scale=1, and renormalizing. See A.M. Law, W.D. Kelton, Simulation Modeling and Analysis (1991).

Statistics::GammaDistribution 0.02 Screenshot

Advertisements

Statistics::GammaDistribution 0.02 Keywords

Bookmark Statistics::GammaDistribution 0.02

Hyperlink code:
Link for forum:

Statistics::GammaDistribution 0.02 Copyright

WareSeeker periodically updates pricing and software information of Statistics::GammaDistribution 0.02 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Statistics::GammaDistribution 0.02 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Statistics::Distributions is a Perl module for calculating critical values and upper probabilities of common statistical distos. Free Download
Statistics::PointEstimation is a Perl module for computing confidence intervals in parameter estimation. Free Download
Statistics::ROC is a Perl module with receiver-operator-characteristic (ROC) curves with nonparametric confidence bounds. Free Download
Statistics::TTest is a Perl module to perform T-test on 2 independent samples. Free Download
Linux::Distribution::Packages Perl module contains a list all packages on various Linux distributions. Free Download
Sys::Statistics::Linux is a Perl module to collect linux system statistics. Free Download
B::Lint::StrictOO is a Perl module that applys strict to classes and methods. Free Download
StealIt is a service menu to take ownership on selected file/directory. Free Download