Thread Subject:
About Dirichlet distribution

Subject: About Dirichlet distribution

From: kumar vishwajeet

Date: 23 Aug, 2012 02:11:07

Message: 1 of 2

Hi,
Is there any method in MATLAB to sample from a dirichlet distribution whose support is [a,b]. where a is not zero and b is not 1.
Thanks.

Subject: About Dirichlet distribution

From: Torsten

Date: 23 Aug, 2012 05:39:11

Message: 2 of 2

On 23 Aug., 04:11, "kumar vishwajeet" <kwz...@gmail.com> wrote:
> Hi,
> Is there any method in MATLAB to sample from a dirichlet distribution whose support is [a,b]. where a is not zero and b is not 1.
> Thanks.

http://en.wikipedia.org/wiki/Dirichlet_distribution#Random_number_generation
together with
http://www.mathworks.de/help/toolbox/stats/randg.html
should help.

Best wishes
Torsten.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us