MathGroup Archive 2004

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

Search the Archive

Wishart Distribution


Am running Mathematica 5.0 under WinXP Home, a want to generate one =
random variable from a Wishart distribution.

The code:

Needs["Statistics`"];
Random[WishartDistribution[{{1,0}, {0,1}}, 4]

returns the error "non-rectangular tensor encountered."

What am I doing wrong?  Thankx.

Bruce


  • Prev by Date: Re: Mathematica + NETLink + CodeDom- Example 2
  • Next by Date: Re: why Pi is not recognized as a positive number?
  • Previous by thread: Re: Re: Mathematica + NETLink + CodeDom-Example 2
  • Next by thread: Re: Wishart Distribution