MathGroup Archive 2004

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

Search the Archive

Re: Wishart Distribution


In article <bt5ohv$3al$1 at smc.vnet.net>,
 "Bruce W. Colletti" <bcolletti at compuserve.com> wrote:

> 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]

This is missing a closing ]
 
> returns the error "non-rectangular tensor encountered."
> 
> What am I doing wrong?  

Nothing else that I can see. I think that it is a bug.

Cheers,
Paul

-- 
Paul Abbott                                   Phone: +61 8 9380 2734
School of Physics, M013                         Fax: +61 8 9380 1014
The University of Western Australia      (CRICOS Provider No 00126G)         
35 Stirling Highway
Crawley WA 6009                      mailto:paul at physics.uwa.edu.au 
AUSTRALIA                            http://physics.uwa.edu.au/~paul


  • Prev by Date: composing functions
  • Next by Date: Re: Interpolating matrix
  • Previous by thread: Wishart Distribution
  • Next by thread: FW: Re: Wishart Distribution