MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Problem with Distribution Functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84805] Re: Problem with Distribution Functions
  • From: "Nasser Abbasi" <nma at 12000.org>
  • Date: Tue, 15 Jan 2008 03:15:53 -0500 (EST)
  • References: <fmfibi$las$1@smc.vnet.net>

"Stephan Heckmueller" <stephan.heckmueller at gmx.net> wrote in message 
news:fmfibi$las$1 at smc.vnet.net...
> 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.
>

Humm... do you have a ";" at the end of your command?

In[32]:= Remove["Global`*"]
Variance[GammaDistribution[a, b]]
Out[33]= a*b^2

I've used Gamma dist and Variance on it with no problem. You can check my 
Mathematica statistics web page which has simulation of all the Mathematica 
distributions with code you can download and run (using Manipulate)

http://12000.org/my_notes/math_502_material/simple_RV_simulator/index.htm

Nasser



  • Prev by Date: Re: Problem with Distribution Functions
  • Next by Date: Creating a Legend with ListPlot using PlotMarkers
  • Previous by thread: Re: Problem with Distribution Functions
  • Next by thread: Re: Problem with Distribution Functions