MathGroup Archive 2004

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

Search the Archive

Re: Wishart Distribution

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45531] Re: Wishart Distribution
  • From: Paul Abbott <paul at physics.uwa.edu.au>
  • Date: Mon, 12 Jan 2004 02:15:40 -0500 (EST)
  • Organization: The University of Western Australia
  • References: <bt5ohv$3al$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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