Quantcast

Simulation in R

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Simulation in R

mboricgs
Hello!

How can I do 100 simulations of length 17 from bivariate  bivariate normal distribution, if I know all 5 parameters?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Simulation in R

glsnow
look at functions replicate and mvrnorm functions (the later in the MASS
package).


On Sat, Dec 1, 2012 at 12:02 PM, mboricgs <[hidden email]> wrote:

> Hello!
>
> How can I do 100 simulations of length 17 from bivariate  bivariate normal
> distribution, if I know all 5 parameters?
>
>
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/Simulation-in-R-tp4651578.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



--
Gregory (Greg) L. Snow Ph.D.
[hidden email]

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Loading...