s-news
[Top] [All Lists]

Re: [S] thanks for bivariate...replies

To: s-news@wubios.wustl.edu, Rob.van.der.Horst@cwi.nl
Subject: Re: [S] thanks for bivariate...replies
From: Prof Brian Ripley <ripley@stats.ox.ac.uk>
Date: Tue, 21 Dec 1999 11:58:25 +0000 (GMT)
Reply-to: Prof Brian Ripley <ripley@stats.ox.ac.uk>
Sender: owner-s-news@wubios.wustl.edu
> Date: Tue, 21 Dec 1999 12:16:32 +0100 (MET)
> From: Rob.van.der.Horst@cwi.nl
> > 
> > Maybe a stupid question or a faq:
> > 
> > Does somewhere exist a Splus function for a random drawing
> > (X,Y) from the bivariate normal distribution (means 0, sigma's 1,rho)
> > ????????
> > 
> 
> Well, it was not a stupid question after all.
> The problem was (what a shame!) that we are still working with 
> Splus version 3.4 (for SGI)
> 
> Many nice people told me to use the function "rmvnorm" (c.q. dmvnorm,pmvnorm)
> and that function is "not" available in our 'old' version.
> 
> Bill Venables was so kind to deliver me the source-text and now it is
> working!

There is a function mvrnorm in library MASS that works on all versions
of S-PLUS, possibly what Bill sent you.


-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>