MathGroup Archive 2004

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

Search the Archive

Wishart Distribution

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45372] Wishart Distribution
  • From: "Bruce W. Colletti" <bcolletti at compuserve.com>
  • Date: Sat, 3 Jan 2004 01:35:14 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

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