[R] monte carlo simulation on R

Suzen, Mehmet mehmet.suzen at gmail.com
Tue Dec 4 21:13:33 CET 2012


There is a book on MC  with R:

Introducing Monte Carlo Methods with R by Robert/Casella:
http://www.springer.com/statistics/computational+statistics/book/978-1-4419-1575-7

On 4 December 2012 19:38, R. Michael Weylandt
<michael.weylandt at gmail.com> wrote:
> replicate(1000, sum(rnorm(50)^2-rchisq(50, 3)))
>
> Or you know, many other things...
>
> Michael
>
> On Tuesday, December 4, 2012, Adel ESSAFI wrote:
>
>> Hello,
>>
>> How can I make a monte carlo simulation on R?
>>
>> Regards
>> Adel
>>
>>
>> --
>> PhD candidate in Computer Science
>> Address
>> 3 avenue lamine, cité ezzahra, Sousse 4000
>> Tunisia
>> tel: +216 97 246 706 (+33640302046 jusqu'au 15/6)
>> fax: +216 71 391 166
>>
>>         [[alternative HTML version deleted]]
>>
>>
>
>         [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help at r-project.org 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.
>




More information about the R-help mailing list