6. Monte Carlo Simulation

Sdílet
Vložit
  • čas přidán 18. 05. 2017
  • MIT 6.0002 Introduction to Computational Thinking and Data Science, Fall 2016
    View the complete course: ocw.mit.edu/6-0002F16
    Instructor: John Guttag
    Prof. Guttag discusses the Monte Carlo simulation, Roulette
    License: Creative Commons BY-NC-SA
    More information at ocw.mit.edu/terms
    More courses at ocw.mit.edu

Komentáře • 622

  • @splashd
    @splashd Před 2 lety +23

    The sign of a good teacher--I landed here by accident, stayed for the entire lecture, and understood all of it...

  • @leixun
    @leixun Před 3 lety +803

    *My takeaways:*
    1. History of Monte Carlo Simulation 0:56
    2. Monte Carlo Simulation 3:23
    - Example1: coins 6:03
    - Variance 10:00
    - Example2: Roulette 11:00
    3. Law of large numbers 18:40
    4. Misunderstanding on the law of large numbers: Gambler's fallacy 19:48
    5. Regression to the mean 22:42
    6. Quantifying variation in data: variance and standard deviation 30:14
    - Always think about standard deviation in the context of mean 35:10
    7. Confidence level and intervals 36:00
    8. Empirical rule for computing confidence intervals 39:27
    9. Assumptions underlying empirical rule 43:40
    - mean estimation error is 0
    - Normal distribution
    10. Probability density function 46:25

  • @kepstein8888
    @kepstein8888 Před 7 lety +1460

    This is a true teacher. He actually explains the concepts instead of just scribbling equations on the board.

    • @cly5570
      @cly5570 Před 6 lety +20

      Couldn't agree more. I am hooked.

    • @lidarman2
      @lidarman2 Před 5 lety +73

      Why MIT is a top school. I love that MIT allows anyone to watch these for free.

    • @IonidisIX
      @IonidisIX Před 5 lety +21

      COULD NOT AGREE MORE!!! He is truly amazing. Suddenly the Stats I did on a Data Science Coursera course start to make sense. A couple of more lectures by him and I will have everything sorted out in my mind... My God. Some lecturers just Got it and some just Don't.

    • @benphua
      @benphua Před 5 lety +7

      I wonder how much time and effort was made to ensure every word was meaningful and carefully stated (just been through a course with a lecturer who knew his stuff but mostly winged it which was one of the biggest wastes of my time). I also noticed not a single 'um' or 'uh' which is amazing.

    • @cbarlow3
      @cbarlow3 Před 5 lety +10

      @@benphua Well, I noticed four "ums" or "uhs" in second 0:35 to 0:45 alone, but I agree the lecture is very clear.

  • @hamidrajabi8775
    @hamidrajabi8775 Před 4 lety +54

    I've never met him, but he taught me python years ago.
    we should be grateful for such giving human beings.

  • @27eharkness
    @27eharkness Před 6 lety +370

    Not what I was looking for, but couldn't help but watch the entire video. Well done sir.

  • @mikebernard8535
    @mikebernard8535 Před 5 lety +142

    For those looking for some visuals of how a Monte Carlo simulation works, see the second half or so of lecture 7 on Confidence Intervals.

  • @kenerwin5198
    @kenerwin5198 Před 6 lety +398

    This guy is such a fantastic teacher. I would love to have him in person, thanks again for uploading the video!

    • @zZE94
      @zZE94 Před 5 lety +11

      Have him for ... breakfast?

    • @antoniomoraes1741
      @antoniomoraes1741 Před 2 lety +4

      @@zZE94 Ken really sounded weird ahahahha

    • @DaviSouza-kq7xz
      @DaviSouza-kq7xz Před 2 lety

      He prolly would love have you in person too, for sure.

    • @dennis1836
      @dennis1836 Před 6 měsíci

      At the university where I studied all teachers were also fantastic teachers until the exam. Afterwards they were all a**h****.

  • @sitrakaforler8696
    @sitrakaforler8696 Před 6 měsíci +9

    00:00 Monte Carlo simulation is a method of estimating unknown quantities using inferential statistics.
    06:48 Variance affects confidence in probability predictions
    13:09 Law of large numbers: Expected return of fair roulette wheel is 0 over infinite spins
    19:23 Understanding the Gambler's Fallacy and Regression to the Mean
    25:16 Regression to the mean is a statistical phenomenon where extreme events tend to move towards the average with more samples.
    31:11 Understanding variance and standard deviation for computing confidence intervals.
    37:37 Understanding confidence intervals and the empirical rule
    44:04 Probability distributions can be discrete or continuous, and are described by probability density functions.
    Crafted by Merlin AI.

  • @mdcamp00
    @mdcamp00 Před 5 lety +50

    Some of the best explanations of statistics I’ve heard. Does a great job of breaking down concepts.

  • @pepegallardo4060
    @pepegallardo4060 Před 5 lety +96

    Watching Prof. Guttah teaching is a joy. A true inspiration for those of us who also like teaching and want to do better

  • @iPergjakshem
    @iPergjakshem Před 4 lety +12

    I came here for the Monte Carlo simulation but got unexpectedly thus far the best explanation for simple concepts like Variance or Standard Deviation

  • @aayushkhanal5564
    @aayushkhanal5564 Před 3 lety +7

    What a beautiful way to explain a concept. Starts with something so simple and gradually builds up to the more complex part, also delivers the lecture in a way that even a tiny bit of boredom can't creep in.

  • @durgeshkinnerkar2826
    @durgeshkinnerkar2826 Před 2 lety +3

    Brilliant lecture. I can binge watch Professor John Guttag's lectures. Amazing.

  • @ractheworld
    @ractheworld Před 4 lety

    Isn't he the most adorable teacher ever?
    Great job walking your audience through the material!

  • @habeebyusuf7037
    @habeebyusuf7037 Před 4 lety +4

    this man right here is a true teacher, understands the subject topic deeply and speaks passionately

  • @jerryreed2050
    @jerryreed2050 Před 2 lety

    An instructor of the highest caliber; clear explanations, projects a seemingly universal likeable and fair personality, low intensity approach. Good hire MIT!

  • @yusuffarah351
    @yusuffarah351 Před 3 lety +1

    Great teaching style. Small number of teachers can teach such concise and clarify. I learn a lot from the great educators.

  • @robertkelleher1850
    @robertkelleher1850 Před 2 lety +2

    For those that may be confused, he misspoke at 23:36 "taller than average" should have been "taller than the parents". In the case that parents are shorter than average, it is expected that their children will be taller than them, not taller than average.

  • @paulmctaggart6947
    @paulmctaggart6947 Před 3 lety

    Had this same lecture in PSYCH Stats class at CofC. Learned a lot and this was fun to watch again

  • @CodeJeffo
    @CodeJeffo Před 2 lety +5

    Wonderful professor. So casual but I believe what the students learn will stick with them forever.

  • @papasmurf9146
    @papasmurf9146 Před 2 lety

    Excellent presentation. Don't know why CZcams presented the option of the video, but watched until the end. Very gifted professor. The only thing that I can think to improve it is to repeat the question from the audience so that the question is picked up on the recording.

  • @GbUnLimiteD
    @GbUnLimiteD Před 5 lety

    26:53 Great answer to make the difference between gambler's fallacy and regression to the mean clear!

  • @longn.8804
    @longn.8804 Před 2 lety

    I love the sense of humour of the instructor. A great lecture indeed!

  • @OmarMagdyNofal
    @OmarMagdyNofal Před 6 lety +17

    Actually you are an amazing demonstrator

  • @georgejetson9801
    @georgejetson9801 Před 3 lety +2

    I love these old school professors. They are true masters.

  • @satoshinakamoto171
    @satoshinakamoto171 Před 6 lety +2

    such respect for these fantastic teachers

  • @nikolavalizadeh133
    @nikolavalizadeh133 Před 4 měsíci

    Unfortunately, during my studies at Bachelor and Master, I never had such great real professor. Thanks so much for sharing such great video.

  • @keyaamarsee9631
    @keyaamarsee9631 Před 5 lety +13

    Thank you for this great lecture. You explain it so well. I was looking for Monte Carlo Simulation but ended up watching the whole video.

  • @JebBradwell
    @JebBradwell Před 2 lety +3

    I love professors who make mistakes and make corrections accepting help from students.

  • @d.v.faller9251
    @d.v.faller9251 Před 2 lety +6

    Excellent lecture. Prof. Guttag is a great teacher. Thank you.
    Every course or lecture I have watched in this MIT Open Courseware has been superb. Thank you to the teachers and to MIT for posting.

  • @alperensayar9679
    @alperensayar9679 Před 3 lety +2

    Hayatımdaki en iyi üniversite dersiydi.Thanks Prof J. Guttag

  • @JohnSmith-he5xg
    @JohnSmith-he5xg Před 6 lety +18

    Thanks for addressing the apparent contradiction of the Gambler's Fallacy vs Regression to the Mean ~25:00 in. I'd always thought these 2 were in opposition, but guess I'd never heard (or thought of it) in the right frame of reference.

  • @ridhikakhanna6383
    @ridhikakhanna6383 Před 2 lety +6

    After watching this lecture, I wish I was smart enough to get into such elite schools and be taught by such passionate teachers.
    Respect!

    • @dxhunzai
      @dxhunzai Před 5 měsíci +1

      But you have access to MIT open courseware

  • @owenmurphy2275
    @owenmurphy2275 Před rokem +5

    Should of done better in highschool and went to MIT. This is great. A true teacher

  • @fabbiotec
    @fabbiotec Před 4 lety +7

    WANTED MORE ABOUT MONTE CARLO, but he is such an amazing teacher that I got stuck anyways!!!!

  • @paulorufalco
    @paulorufalco Před 3 lety +12

    12:47 "win some lose some, it's all the same to me"
    Lemmy

  • @OlumideOni
    @OlumideOni Před 4 lety +14

    This is the best lecture I have ever seen on statistics. It wasn't even what I was looking for but couldn't take my eyes off it till the end. Thank you Professor! Thank you MIT!

  • @xichenjiang7799
    @xichenjiang7799 Před 4 lety +202

    Hint: Playing on 1.25 speed is ideal for this video.

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

      Thanks. :))

    • @samvandhapathak2167
      @samvandhapathak2167 Před 4 lety +45

      2x for engineering students in south asia

    • @Matze27396
      @Matze27396 Před 4 lety +7

      For an foreign student from germany like me - 1.0 speed is good. But for all native english speakers i think he speaks quite slow.

    • @mlsivaprasad
      @mlsivaprasad Před 3 lety +3

      But 1.0 speed is too good.

    • @pipertripp
      @pipertripp Před 3 lety +1

      pro-tip, mate. Thx for the time back.

  • @kasra545
    @kasra545 Před 6 lety +43

    Finally understood what statistics is about after 10 years of endeavour! Thanks so much!

    • @howardlam6181
      @howardlam6181 Před 5 lety +5

      Trying applying it to obtain Lebsegue Integral. See, you probably have understood nothing.

    • @harshabhogle1020
      @harshabhogle1020 Před 5 lety +2

      Kasra Keshavarz your face shows how stupid you are

    • @AbhishekSingh-pp1ks
      @AbhishekSingh-pp1ks Před 3 lety +6

      Howard Lam. It is “Lebesgue”

  • @alvinsihombing7554
    @alvinsihombing7554 Před 3 lety +1

    Thank you Prof. Guttag & MIT.

  • @dark_all_day9311
    @dark_all_day9311 Před 4 lety +2

    Extremely Based series of lectures. Top tier professor!

  • @tawlguy123
    @tawlguy123 Před 3 lety +16

    I really love the teachers at MIT. I have watched a ton of lectures from them and all have been great

    • @NazriB
      @NazriB Před 2 lety

      Lies again? Support Indonesia Malaysia

  • @bayesian7404
    @bayesian7404 Před 11 měsíci

    He is such a great teacher on multiple topics. After this course I plan to finally take Linear Allgebra.

  • @rasterbate87
    @rasterbate87 Před 3 lety +11

    Makes even high level material understandable to a neophyte. That's the mark of a skilled educator.

  • @gustavogodoy5823
    @gustavogodoy5823 Před 2 lety

    Wow... fantastic lecture by Prof. Guttag... Thank you and congratulations.

  • @annakh9543
    @annakh9543 Před 5 lety +13

    he is so funny, i wish i had such professors

  • @anthonycicero6102
    @anthonycicero6102 Před 3 lety

    great video, such a clean delivery of the concepts. well done

  • @user-iq8ne8jh4v
    @user-iq8ne8jh4v Před 3 lety

    The explanation is clear, his lecture is great!

  • @IonidisIX
    @IonidisIX Před 5 lety +2

    Suddenly the Stats I did on a Data Science Coursera course start to make sense. A couple of more lectures by him and I will have everything sorted out in my mind... My God. Some lecturers just Got it and some just Don't.

  • @markimark8445
    @markimark8445 Před 3 lety

    Very interesting lecture, was planning on skimming it and watching small sections but I watched the whole thing without noticing the time passing!

  • @pajeetsingh
    @pajeetsingh Před 3 lety

    Thank you Professor Guttag and thank you late Stanislaw Ulam.

  • @satria5403
    @satria5403 Před 7 lety +6

    Thank you for share this amazing video

  • @Hari-888
    @Hari-888 Před 3 lety

    What a great teacher. Absolutely loved it

  • @ktiwari31
    @ktiwari31 Před 3 lety

    What a treat to watch him teach! :) Hats off!!

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

    The best way to explain variance formula!

  • @TheMaverickanupam
    @TheMaverickanupam Před 5 lety

    Beautifully done.

  • @osvaldodanielmutuque3349
    @osvaldodanielmutuque3349 Před 7 měsíci

    I am so grateful of your explanation

  • @riasejakpor6081
    @riasejakpor6081 Před 2 lety

    Professor, your lecture was engaging. Thank you.

  • @androsram641
    @androsram641 Před 3 lety +1

    Thanks you for being a great teacher. I really needed some background on Montecarlo.

  • @dennisangelomarasigan2431

    Great lecture. The concepts were explained clearly. I understood them very well. Thank you!

  • @blizzr.1146
    @blizzr.1146 Před 6 lety +8

    Is the camera automated? Or is it hand-operated by human?

  • @NickBond007
    @NickBond007 Před 3 lety

    Thank you professor Guttag. Fantastic lecture and explanations.

  • @MJ-iy4fb
    @MJ-iy4fb Před 3 lety

    I give this professor two thumbs up. I like his style. Good presentation also. A hardy bravo zulo to the man.

  • @melgibsonsmyhero
    @melgibsonsmyhero Před 6 lety +1

    Thanks for sharing this video. Concepts very well explained and accessible. Thank you.

  • @JonathanKandell
    @JonathanKandell Před rokem

    Love your Data Table hack at 2'. Thank you for that!

  • @alexandremelo8299
    @alexandremelo8299 Před 3 lety

    He is the best! Such a pleasure and luck to be able to access this lecture.

  • @menelikm9779
    @menelikm9779 Před rokem +1

    Thank you Eric.

  • @CKPSchoolOfPhysics
    @CKPSchoolOfPhysics Před 3 lety

    Fortunate to find his video !! A legend I was looking for !!❤️❤️❤️

  • @kccchiu
    @kccchiu Před 3 lety

    I had so much more fun learning the subject with Dr. Guttag than my uni professor.

  • @studywithjosh5109
    @studywithjosh5109 Před 3 lety

    I was excited for this one

  • @GPCTM
    @GPCTM Před 6 lety

    proper: denoting a subset or subgroup that does not constitute the entire set or group, especially one that has more than one element.

  • @franklipsky149
    @franklipsky149 Před 5 lety +5

    the next toss is independent of the previous toss ;but there is a different question that can be asked :what is the probability of of x tail(heads) in a row=1/2^x .Two completely different betting strategies

    • @rajjain7628
      @rajjain7628 Před 3 lety +2

      That is what they call a gamblers fallacy.

    • @BlacksterVFX
      @BlacksterVFX Před 2 lety +1

      Congratulations, you just fell for the Gambler's Fallacy...

  • @davidwilkie9551
    @davidwilkie9551 Před 5 lety +2

    Very good introduction of how the e-Pi-i conception of probabilistic Calculus by Pi circularity numberness/orbital is a dualistic +/- possible Infinite Sum, Normal/orthogonal self-defining "e", metastable +/- singularity convergence to zero difference, balance of frequency constants in Totality.

  • @AugustMichael1985
    @AugustMichael1985 Před 4 lety

    This professor is incredible!

  • @69Neoares69
    @69Neoares69 Před 5 lety +1

    I think if you add captions for the questions it will be awesome.

  • @davidjames1684
    @davidjames1684 Před 5 lety

    There are some problems with Monte Carlo simulation. For example, suppose the "winning" combinations we are looking to count are very small (unlike in coin flipping), and the # of possible outcomes is huge (such as 1 trillion squared). A computer may not be able to simulate all 10^24 possible outcomes because of time constraints but instead simulates only 10^12 (1 trillion of them). Since the "winners" are so rare, it is possible the simulation will show 0 "winners", basically giving us no information if a winner even exists.
    Another problem is if the # of possible outcomes is huge, our confidence level in the results of the simulation being representative of the entire sample space is low. That is, we cannot draw accurate conclusions from a very small subset of the "population".
    So this persons statement that a random sample tends to exhibit the same properties as the population from which it is drawn is NOT true if the sample is "too small". For example, suppose a population of 100 million people contains a very rare disease that only affects 100 of the people. Suppose 1000 of the 100 million people are selected at random and tested for the very rare disease. It is VERY likely that none of them will test true positive for the disease and one may falsely conclude that nobody in the population has the disease.

  • @LaureanoLuna
    @LaureanoLuna Před 6 lety +2

    39.07 That a result will lie within an interval with probability 95% doesn't mean it will be within that interval 95% of the time. Probability cannot be directly translated into percent of times.

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

    Ok, he is really good 33:45, how I hoped to have a prof. like him back in college.

  • @user-ht7gw9ww1c
    @user-ht7gw9ww1c Před 5 lety +3

    My big interest is Monte Carlo simulation and Markov chain!!!

  • @TheEngineeringToolboxChannel

    Excellent lecture

  • @isaacspark
    @isaacspark Před rokem +1

    Wow..... He truly explained what monte carlo simulation in 50 min. Thank you Prof.

    • @guestimator121
      @guestimator121 Před rokem

      +Isaac Park I've heard everything but a Monte Carlo here. Confidence intervals, regression to the mean, Gambler's Fallacy etc, but not much about Monte Karlo and its many alghorithms.

  • @tjo8529
    @tjo8529 Před 3 lety +1

    Thank you for the great lecture. One question....at 39:00 I see it saying "The return on betting a pocket 10k times in European roulette is -3.3%". Was that based on the Monte Carlo sim? I ask because there are 37 pockets on a European roulette wheel. If you win it returns 35 to 1, plus your original wager, for 36 units returned on a win. 1/37 = 0.0270, for an expected return of -2.7%, or 97.3% (depending how you look at it) on European roulette. Thanks again for the awesome info...

  • @rorisangsitoboli4601
    @rorisangsitoboli4601 Před 2 lety

    Regression to mean is not the same as Gambler's fallacy in that Regression to mean basically says after an extreme event you are unlikely to get a successive extreme event. Gambler's fallacy says it is definite to get successive extreme events. Gambler's fallacy falls into the trap of assuming the events are dependent/correlated (linearly +ve/-ve). That is not the case in Fair Roulette.

  • @camilaisaton3988
    @camilaisaton3988 Před rokem

    Adorei a aula, excelente!

  • @danishsheikh8468
    @danishsheikh8468 Před rokem

    Amazing explanation

  • @hyungsubkim6525
    @hyungsubkim6525 Před 5 lety

    Thanks for this video. Amazing explanation!

  • @pravink1156
    @pravink1156 Před 3 lety

    A good session, I'll search for the prof and watch more videos. 👍

  • @user-cl1pd9im1f
    @user-cl1pd9im1f Před 9 měsíci

    Thats the best lecture I have ever seen.

  • @martinsahmed9107
    @martinsahmed9107 Před 5 lety +4

    i love you sir. you are a great teacher.

  • @batatambor
    @batatambor Před 4 lety

    One observation, the code returns totPocket/numSpins, which is in fact return per spin, not the expected return in %. In the exemple in particular since the bet is 1, numSpins equals the total value payed to play, hence the expected return in %. If you change the value of the bet, the output is not right.

  • @smartestmansays2157
    @smartestmansays2157 Před 4 lety

    I am the Great Canadian Gambler and can attest that my biggest two 6.2 Standard Deviation swings ever were back to back. Same in my early years when I played Craps to get the free junket to the casinos. Biggest win followed by biggest loss. I note that because I heard poker champ Daniel Negreanu mention the same back-to-back phenomenon. Always believed in the odds but back-to-back streaks leave an eerie feeling.

  • @Simbabaa
    @Simbabaa Před 2 lety

    Thank you , professors.

  • @brandomiranda6703
    @brandomiranda6703 Před 5 lety +3

    How is this related to monte carlo tree search?

  • @softashutube
    @softashutube Před 4 lety

    very explanatory ways to teach ... Sir you should teach teachers ... What a teaching style!!!

  • @mikepiazza2000
    @mikepiazza2000 Před 2 lety +1

    I feel like I with no prior knowledge just intuitively already understand all of this and use it in daily life. Cool to hear it's basis though and a more technical presentation

  • @NoName-jj1lv
    @NoName-jj1lv Před 2 lety

    I like this professor a lot

  • @jeroenritmeester73
    @jeroenritmeester73 Před 3 lety

    Fantastic lecture

  • @r0b891
    @r0b891 Před 3 lety +1

    Awesome lecture; thanks!

  • @MichaelGotiashvili
    @MichaelGotiashvili Před 5 lety

    Great lecturer! Amazing!

  • @jojo3451
    @jojo3451 Před 2 lety

    Genius teacher! Just so intuitive!! Wowwwww