Science Fair Projects Ideas - Dirichlet distribution

All Science Fair Projects

      

Science Fair Project Encyclopedia for Schools!

  Search    Browse    Forum  Coach    Links    Editor    Help    Tell-a-Friend    Encyclopedia    Dictionary     

Science Fair Project Encyclopedia

For information on any area of science that interests you,
enter a keyword (eg. scientific method, molecule, cloud, carbohydrate etc.).
Or else, you can start by choosing any of the categories below.

Dirichlet distribution

In probability and statistics, the Dirichlet distribution (after Johann Peter Gustav Lejeune Dirichlet) is a continuous multivariate probability distribution. The Dirichlet distribution is the multivariate generalization of the beta distribution. It is the conjugate prior of the multinomial distribution in Bayesian statistics.

Contents

Specification of the Dirichlet distribution

Probability density function

The probability density function of the Dirichlet distribution of order K is the following function of a K-dimensional vector x = (x1, ..., xK) with xi ≥ 0:

Failed to parse (unknown function \propto): f(x) \propto \prod_{i=1}^K x_i^{\alpha_i - 1} \;\delta(0, 1 -\sum_{i=1}^K x_i)


where α = (α1, ..., αK) is a parameter vector with αi ≥ 0. The Kronecker delta δ ensures that the density is zero unless

\sum_{i=1}^K x_i = 1\,\!.

The normalizing constant is the multinomial beta function, which is expressed in terms of the gamma function:

\frac{\prod_{i=1}^K \Gamma(\alpha_i)}{\Gamma(\sum_{i=1}^K \alpha_i)} = \mathrm{B}(\alpha).

The density can therefore be written as the function g given by

g(x) = \frac{1}{\mathrm{B}(\alpha)} \prod_{i=1}^K x_i^{\alpha_i-1}

where the domain of g are the K-dimensional vectors x over the nonnegative reals with |x|1 = 1.

Let \alpha_0 = \sum_{i=1}^K\alpha_i. Then the means of the random variables x_1, \ldots, x_K are \frac{\alpha_i}{\alpha_0}, respectively. The variances are \frac{\alpha_i (\alpha_0-\alpha_i)}{\alpha_0^2 (\alpha_0+1)}, respectively.

Random number generation

One way to generate a random draw of x_1, \ldots, x_K from the Dirichlet is to draw independent random variables y_1, \ldots, y_k from the gamma distribution with density \frac{e^{-y} y^{\alpha_i-1}}{\Gamma (\alpha_i)}, then set x_i = y_i/\sum_{j=1}^K y_j.

Related topics

10-26-2009 08:16:03
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details
Science kits, science lessons, science toys, maths toys, hobby kits, science games and books - these are some of many products that can help give your kid an edge in their science fair projects, and develop a tremendous interest in the study of science. When shopping for a science kit or other supplies, make sure that you carefully review the features and quality of the products. Compare prices by going to several online stores. Read product reviews online or refer to magazines.

Start by looking for your science kit review or science toy review. Compare prices but remember, Price $ is not everything. Quality does matter.
Science Fair Coach
What do science fair judges look out for?
ScienceHound
Science Fair Projects for students of all ages
All Science Fair Projects.com Site
All Science Fair Projects Homepage
Search | Browse | Links | From-our-Editor | Books | Help | Contact | Privacy | Disclaimer | Copyright Notice