Re: [R] Sampling 1000 times from a bivariate normal distibution

About this list Date view Thread view Subject view Author view Attachment view

From: Roger D. Peng (rpeng@jhsph.edu)
Date: Wed 05 May 2004 - 01:38:32 EST


Message-id: <4097B8F8.9040902@jhsph.edu>

The MASS library has the function mvrnorm() which you should be able
to use.

-roger

Sung Kim wrote:
> Dear expert,
>
>
>
> I have two coefficients and covariance matrix.
>
>
>
> My objective is sampling 1000 times from the mean and covariance matrix.
>
>
>
> In order to get that, what kind of commend should I use?
>
>
>
> If you do not mind, could you tell me the comment in detail about
> parameter used in that commend also?
>
>
>
> Thank you.
>
>
>
> Sung.
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:07 EST