Re: Problem with Distribution Functions
- To: mathgroup at smc.vnet.net
- Subject: [mg84795] Re: Problem with Distribution Functions
- From: Norbert Marxer <marxer at mec.li>
- Date: Tue, 15 Jan 2008 03:10:45 -0500 (EST)
- References: <fmfibi$las$1@smc.vnet.net>
On 14 Jan., 12:51, Stephan Heckmueller <stephan.heckmuel... at gmx.net>
wrote:
> Hello,
> I have a little problem with Mathematica's statistical
> distributions. These seem not to be evauluated properly.
> For example the documentation says that
> Variance[GammaDistribution[a,b]] should be evaluated to
> ab^2. In my worksheets I simply get:
> Variance[GammaDistribution[a,b]]. There are no errors
> or warnings whatsoever.
>
> Is there some package missing do I have to call the
> needs function in advance?
>
> Thanks.
Hello
The GammaDistribution is a built-in function (new in Version 6).
Clear[a, b];
Variance[GammaDistribution[a, b]]
gives
a*b^2
on my computer (as it should according to the documentation).
Best Regards
Norbert Marxer