FW: Re: Wishart Distribution
- To: mathgroup at smc.vnet.net
- Subject: [mg45551] FW: [mg45531] Re: Wishart Distribution
- From: David.Cousens at csiro.au
- Date: Tue, 13 Jan 2004 04:04:04 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
The following code works Regards David Cousens CSIRO Exploration and Mining -----Original Message----- From: Paul Abbott [mailto:paul at physics.uwa.edu.au] To: mathgroup at smc.vnet.net Subject: [mg45551] [mg45531] 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