Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5445
| From | Todd <johnson.todd.r@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Extra parameter for DirichletDistribution |
| Date | 2011-10-06 08:37 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j6jpbm$mdk$1@smc.vnet.net> (permalink) |
Can anyone tell me why DirichletDistribution in Mathematica 8 requires
k+1 parameters for a k-dimensional distribution and why the extra
parameter cannot be 0, which would give results similar to other
software packages that require only k parameters. The function of the
extra parameter is clear from the mean of the 2D distribution given in
the help file:
Namely, the mean of DirichletDistribution[a1, a2, a3] is {a1/
(a1+a2+a3), {a2/(a1+a2+a3)}.
In this case, setting a3 to 0 would give me the desired result, but
the function requires a3 to be positive.
I noticed that a definition of DirichletDistribution from an older
Wolfram tutorial required only k parameters for a k-dimensional
distribution.
Todd
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Extra parameter for DirichletDistribution Todd <johnson.todd.r@gmail.com> - 2011-10-06 08:37 +0000 Re: Extra parameter for DirichletDistribution sashap <pavlyk@gmail.com> - 2011-10-07 09:04 +0000
csiph-web