Introduction to monte carlo simulations using R - The absolute basics

Sdílet
Vložit
  • čas přidán 28. 09. 2016
  • Note (Sept 2019): New link to data datadryad.org/stash/dataset/d...
    This screencast is to introduce you to performing your own simple monte carlo simulations using the R programming language.
    Using functions to generate random variables from particular distribution. i.e. rnorm().
    How simulated data compares to expected distributions (from which the simulations are sampled from).
    How to repeat the simulation many times using replicate() function.
    Using some of the apply family of functions (i.e. apply()) to generate summary statistics for the simulated data.
    How to generate the simulations using for loops.
    A simple monte carlo simulation for a simple regression.

Komentáře • 11

  • @tufleuddinbiswas7579
    @tufleuddinbiswas7579 Před 5 lety +1

    Happy to watch as it is started from the very beginning. Thank you so much.

  • @92milmil
    @92milmil Před 7 lety +4

    Thank you so much for this video. Easy to understand and just what I needed

  • @valor36az
    @valor36az Před 4 lety +1

    Very helpful using different approaches and comparisons

  • @user-iq8ei9go3g
    @user-iq8ei9go3g Před 4 lety +1

    This is super helpful teaching!! Thank you very much!!

  • @asunraychan
    @asunraychan Před 5 lety

    Thank you very much. I learned a lot from your video.

  • @aeljak1
    @aeljak1 Před 7 lety +2

    Thanks for a great tutorial. Where do I find the "answer" for the final exercise?

    • @iandworkin1347
      @iandworkin1347  Před 7 lety +2

      Lea, Could you point to which question? I put these up a while ago and I don't remember which set of exercises it links to.

  • @user-iq8ei9go3g
    @user-iq8ei9go3g Před 4 lety

    hello I wonder we can find the answer you posted for the exrecise.

  • @hemmapermal532
    @hemmapermal532 Před 5 lety

    How to simulate seasonal data manually without arima package?

  • @hasnahaouchet1149
    @hasnahaouchet1149 Před 7 lety +1

    Hi Ian Dworkin,
    thank you for this series of videos, they are so helpful for me.
    i have a question about this Command
    >y.sim.1.ʅm

    • @iandworkin1347
      @iandworkin1347  Před 7 lety +1

      Hasna,
      Sorry I just saw this message. Which script (or screencast)? Could you give me the timestamp so I can help?