Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

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



  • Prev by Date: hyperlink to pdf files
  • Next by Date: List arguments to functions
  • Previous by thread: Re: Wishart Distribution
  • Next by thread: Call for Paper (Tenth Int. Conference on Applications of Computer Algebra ACA-2004)