6. Monte Carlo Simulation

  Рет қаралды 2,035,251

MIT OpenCourseWare

MIT OpenCourseWare

7 жыл бұрын

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

Пікірлер: 622
@splashd
@splashd 2 жыл бұрын
The sign of a good teacher--I landed here by accident, stayed for the entire lecture, and understood all of it...
@leixun
@leixun 3 жыл бұрын
*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
@dr.mohamedaitnouh4501
@dr.mohamedaitnouh4501 3 жыл бұрын
thank you Mr. Lei
@leixun
@leixun 3 жыл бұрын
Dr. Mohamed Ait Nouh you’re welcome :)
@pajeetsingh
@pajeetsingh 3 жыл бұрын
Thanks Mr. Lel
@leixun
@leixun 3 жыл бұрын
Pajeet Singh you’re welcome
@imrs07
@imrs07 3 жыл бұрын
Thank you Mr. Lei
@kepstein8888
@kepstein8888 6 жыл бұрын
This is a true teacher. He actually explains the concepts instead of just scribbling equations on the board.
@cly5570
@cly5570 6 жыл бұрын
Couldn't agree more. I am hooked.
@lidarman2
@lidarman2 5 жыл бұрын
Why MIT is a top school. I love that MIT allows anyone to watch these for free.
@IonidisIX
@IonidisIX 5 жыл бұрын
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 5 жыл бұрын
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 5 жыл бұрын
@@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 4 жыл бұрын
I've never met him, but he taught me python years ago. we should be grateful for such giving human beings.
@sitrakaforler8696
@sitrakaforler8696 5 ай бұрын
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 5 жыл бұрын
Some of the best explanations of statistics I’ve heard. Does a great job of breaking down concepts.
@mikebernard8535
@mikebernard8535 5 жыл бұрын
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.
@francissydnor7891
@francissydnor7891 4 жыл бұрын
MVP
@przemysawniedziela4631
@przemysawniedziela4631 4 жыл бұрын
Thanks a lot, that was what I was looking for!
@bharathsf
@bharathsf 2 жыл бұрын
Which playlist??
@pepegallardo4060
@pepegallardo4060 5 жыл бұрын
Watching Prof. Guttah teaching is a joy. A true inspiration for those of us who also like teaching and want to do better
@kenerwin5198
@kenerwin5198 6 жыл бұрын
This guy is such a fantastic teacher. I would love to have him in person, thanks again for uploading the video!
@zZE94
@zZE94 5 жыл бұрын
Have him for ... breakfast?
@antoniomoraes1741
@antoniomoraes1741 2 жыл бұрын
@@zZE94 Ken really sounded weird ahahahha
@DaviSouza-kq7xz
@DaviSouza-kq7xz 2 жыл бұрын
He prolly would love have you in person too, for sure.
@dennis1836
@dennis1836 5 ай бұрын
At the university where I studied all teachers were also fantastic teachers until the exam. Afterwards they were all a**h****.
@27eharkness
@27eharkness 6 жыл бұрын
Not what I was looking for, but couldn't help but watch the entire video. Well done sir.
@vydanzthechamp
@vydanzthechamp 4 жыл бұрын
same
@SuperFreelibya
@SuperFreelibya 3 жыл бұрын
The same!
@danielschaben
@danielschaben 3 жыл бұрын
I love random walks through youtube
@GaoyuanFanboy123
@GaoyuanFanboy123 3 жыл бұрын
wanted to know what a monte carlo simulation is but I guess ill revise some stats intuition ¯\_(ツ)_/¯
@3ndr3wmusic56
@3ndr3wmusic56 2 жыл бұрын
@@GaoyuanFanboy123 hahaah same xD
@aayushkhanal5564
@aayushkhanal5564 3 жыл бұрын
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.
@iPergjakshem
@iPergjakshem 4 жыл бұрын
I came here for the Monte Carlo simulation but got unexpectedly thus far the best explanation for simple concepts like Variance or Standard Deviation
@durgeshkinnerkar2826
@durgeshkinnerkar2826 2 жыл бұрын
Brilliant lecture. I can binge watch Professor John Guttag's lectures. Amazing.
@ractheworld
@ractheworld 4 жыл бұрын
Isn't he the most adorable teacher ever? Great job walking your audience through the material!
@habeebyusuf7037
@habeebyusuf7037 4 жыл бұрын
this man right here is a true teacher, understands the subject topic deeply and speaks passionately
@GbUnLimiteD
@GbUnLimiteD 5 жыл бұрын
26:53 Great answer to make the difference between gambler's fallacy and regression to the mean clear!
@yusuffarah351
@yusuffarah351 3 жыл бұрын
Great teaching style. Small number of teachers can teach such concise and clarify. I learn a lot from the great educators.
@robertkelleher1850
@robertkelleher1850 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 3 жыл бұрын
Had this same lecture in PSYCH Stats class at CofC. Learned a lot and this was fun to watch again
@jerryreed2050
@jerryreed2050 2 жыл бұрын
An instructor of the highest caliber; clear explanations, projects a seemingly universal likeable and fair personality, low intensity approach. Good hire MIT!
@CodeJeffo
@CodeJeffo 2 жыл бұрын
Wonderful professor. So casual but I believe what the students learn will stick with them forever.
@JohnSmith-he5xg
@JohnSmith-he5xg 6 жыл бұрын
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.
@d.v.faller9251
@d.v.faller9251 2 жыл бұрын
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.
@OlumideOni
@OlumideOni 4 жыл бұрын
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!
@keyaamarsee9631
@keyaamarsee9631 5 жыл бұрын
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.
@papasmurf9146
@papasmurf9146 2 жыл бұрын
Excellent presentation. Don't know why KZfaq 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.
@longn.8804
@longn.8804 2 жыл бұрын
I love the sense of humour of the instructor. A great lecture indeed!
@OmarMagdyNofal
@OmarMagdyNofal 6 жыл бұрын
Actually you are an amazing demonstrator
@satoshinakamoto171
@satoshinakamoto171 6 жыл бұрын
such respect for these fantastic teachers
@alperensayar9679
@alperensayar9679 3 жыл бұрын
Hayatımdaki en iyi üniversite dersiydi.Thanks Prof J. Guttag
@JebBradwell
@JebBradwell 2 жыл бұрын
I love professors who make mistakes and make corrections accepting help from students.
@nikolavalizadeh133
@nikolavalizadeh133 4 ай бұрын
Unfortunately, during my studies at Bachelor and Master, I never had such great real professor. Thanks so much for sharing such great video.
@satria5403
@satria5403 7 жыл бұрын
Thank you for share this amazing video
@markimark8445
@markimark8445 3 жыл бұрын
Very interesting lecture, was planning on skimming it and watching small sections but I watched the whole thing without noticing the time passing!
@anthonycicero6102
@anthonycicero6102 3 жыл бұрын
great video, such a clean delivery of the concepts. well done
@gustavogodoy5823
@gustavogodoy5823 2 жыл бұрын
Wow... fantastic lecture by Prof. Guttag... Thank you and congratulations.
@bayesian7404
@bayesian7404 10 ай бұрын
He is such a great teacher on multiple topics. After this course I plan to finally take Linear Allgebra.
@annakh9543
@annakh9543 5 жыл бұрын
he is so funny, i wish i had such professors
@fabbiotec
@fabbiotec 4 жыл бұрын
WANTED MORE ABOUT MONTE CARLO, but he is such an amazing teacher that I got stuck anyways!!!!
@georgejetson9801
@georgejetson9801 3 жыл бұрын
I love these old school professors. They are true masters.
@tawlguy123
@tawlguy123 3 жыл бұрын
I really love the teachers at MIT. I have watched a ton of lectures from them and all have been great
@NazriB
@NazriB 2 жыл бұрын
Lies again? Support Indonesia Malaysia
@dark_all_day9311
@dark_all_day9311 4 жыл бұрын
Extremely Based series of lectures. Top tier professor!
@alvinsihombing7554
@alvinsihombing7554 3 жыл бұрын
Thank you Prof. Guttag & MIT.
@kasra545
@kasra545 6 жыл бұрын
Finally understood what statistics is about after 10 years of endeavour! Thanks so much!
@howardlam6181
@howardlam6181 5 жыл бұрын
Trying applying it to obtain Lebsegue Integral. See, you probably have understood nothing.
@harshabhogle1020
@harshabhogle1020 5 жыл бұрын
Kasra Keshavarz your face shows how stupid you are
@AbhishekSingh-pp1ks
@AbhishekSingh-pp1ks 3 жыл бұрын
Howard Lam. It is “Lebesgue”
@user-iq8ne8jh4v
@user-iq8ne8jh4v 3 жыл бұрын
The explanation is clear, his lecture is great!
@ridhikakhanna6383
@ridhikakhanna6383 2 жыл бұрын
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 5 ай бұрын
But you have access to MIT open courseware
@ktiwari31
@ktiwari31 3 жыл бұрын
What a treat to watch him teach! :) Hats off!!
@rasterbate87
@rasterbate87 3 жыл бұрын
Makes even high level material understandable to a neophyte. That's the mark of a skilled educator.
@Hari-888
@Hari-888 3 жыл бұрын
What a great teacher. Absolutely loved it
@androsram641
@androsram641 3 жыл бұрын
Thanks you for being a great teacher. I really needed some background on Montecarlo.
@JonathanKandell
@JonathanKandell Жыл бұрын
Love your Data Table hack at 2'. Thank you for that!
@dennisangelomarasigan2431
@dennisangelomarasigan2431 3 жыл бұрын
Great lecture. The concepts were explained clearly. I understood them very well. Thank you!
@davidwilkie9551
@davidwilkie9551 5 жыл бұрын
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.
@melgibsonsmyhero
@melgibsonsmyhero 6 жыл бұрын
Thanks for sharing this video. Concepts very well explained and accessible. Thank you.
@abhishekjaisinghiitr
@abhishekjaisinghiitr 4 жыл бұрын
The best way to explain variance formula!
@owenmurphy2275
@owenmurphy2275 11 ай бұрын
Should of done better in highschool and went to MIT. This is great. A true teacher
@riasejakpor6081
@riasejakpor6081 2 жыл бұрын
Professor, your lecture was engaging. Thank you.
@IonidisIX
@IonidisIX 5 жыл бұрын
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.
@osvaldodanielmutuque3349
@osvaldodanielmutuque3349 7 ай бұрын
I am so grateful of your explanation
@pajeetsingh
@pajeetsingh 3 жыл бұрын
Thank you Professor Guttag and thank you late Stanislaw Ulam.
@wentaoqiu4072
@wentaoqiu4072 4 жыл бұрын
Ok, he is really good 33:45, how I hoped to have a prof. like him back in college.
@TheMaverickanupam
@TheMaverickanupam 5 жыл бұрын
Beautifully done.
@paulorufalco
@paulorufalco 3 жыл бұрын
12:47 "win some lose some, it's all the same to me" Lemmy
@MJ-iy4fb
@MJ-iy4fb 3 жыл бұрын
I give this professor two thumbs up. I like his style. Good presentation also. A hardy bravo zulo to the man.
@NickBond007
@NickBond007 3 жыл бұрын
Thank you professor Guttag. Fantastic lecture and explanations.
@alexandremelo8299
@alexandremelo8299 3 жыл бұрын
He is the best! Such a pleasure and luck to be able to access this lecture.
@menelikm9779
@menelikm9779 Жыл бұрын
Thank you Eric.
@mikepiazza2000
@mikepiazza2000 2 жыл бұрын
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
@hyungsubkim6525
@hyungsubkim6525 5 жыл бұрын
Thanks for this video. Amazing explanation!
@user-ht7gw9ww1c
@user-ht7gw9ww1c 5 жыл бұрын
My big interest is Monte Carlo simulation and Markov chain!!!
@CKPSchoolOfPhysics
@CKPSchoolOfPhysics 3 жыл бұрын
Fortunate to find his video !! A legend I was looking for !!❤️❤️❤️
@camilaisaton3988
@camilaisaton3988 Жыл бұрын
Adorei a aula, excelente!
@danishsheikh8468
@danishsheikh8468 Жыл бұрын
Amazing explanation
@smartestmansays2157
@smartestmansays2157 3 жыл бұрын
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.
@martinsahmed9107
@martinsahmed9107 5 жыл бұрын
i love you sir. you are a great teacher.
@69Neoares69
@69Neoares69 5 жыл бұрын
I think if you add captions for the questions it will be awesome.
@xichenjiang7799
@xichenjiang7799 4 жыл бұрын
Hint: Playing on 1.25 speed is ideal for this video.
@AbdulRabChachar
@AbdulRabChachar 4 жыл бұрын
Thanks. :))
@samvandhapathak2167
@samvandhapathak2167 4 жыл бұрын
2x for engineering students in south asia
@Matze27396
@Matze27396 4 жыл бұрын
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 3 жыл бұрын
But 1.0 speed is too good.
@pipertripp
@pipertripp 3 жыл бұрын
pro-tip, mate. Thx for the time back.
@AugustMichael1985
@AugustMichael1985 4 жыл бұрын
This professor is incredible!
@kccchiu
@kccchiu 3 жыл бұрын
I had so much more fun learning the subject with Dr. Guttag than my uni professor.
@TheEngineeringToolboxChannel
@TheEngineeringToolboxChannel 6 жыл бұрын
Excellent lecture
@pravink1156
@pravink1156 3 жыл бұрын
A good session, I'll search for the prof and watch more videos. 👍
@user-cl1pd9im1f
@user-cl1pd9im1f 9 ай бұрын
Thats the best lecture I have ever seen.
@studywithjosh5109
@studywithjosh5109 3 жыл бұрын
I was excited for this one
@GPCTM
@GPCTM 6 жыл бұрын
proper: denoting a subset or subgroup that does not constitute the entire set or group, especially one that has more than one element.
@louco2
@louco2 5 жыл бұрын
Thank you! Amazing teacher.
@MichaelGotiashvili
@MichaelGotiashvili 5 жыл бұрын
Great lecturer! Amazing!
@PankajKumar-ji1ig
@PankajKumar-ji1ig 2 жыл бұрын
take care professor and thank you for lecture
@softashutube
@softashutube 4 жыл бұрын
very explanatory ways to teach ... Sir you should teach teachers ... What a teaching style!!!
@jojo3451
@jojo3451 2 жыл бұрын
Genius teacher! Just so intuitive!! Wowwwww
@northdot9
@northdot9 2 жыл бұрын
In the slide "Gambler's Fallacy" it reads at the bottom: "Probability of 26 consecutive reds when the previous 25 rolls were red is:" The wording is poor in my opinion. Does it mean: "What is the probability of the next roll being red?" Or Does it mean: "What is the probability of the next 26 rolls being red?" Or maybe : "What is the probability of 26 consecutive reds occurring in the next roll if the previous 25 rolls were red?" Based on his answer I think that the question should have read: "What is the Probability of the next outcome being red when the last 25 outcomes where red?" And then he goes on to talk about it being independent after this question. He didn't establish at the beginning that the outcomes were independent.
@olayinkaathenaeniolorunda8579
@olayinkaathenaeniolorunda8579 5 жыл бұрын
Thanks for this video, very easy to understand
@davidjames1684
@davidjames1684 5 жыл бұрын
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.
@Simbabaa
@Simbabaa 2 жыл бұрын
Thank you , professors.
@creedrituel
@creedrituel 2 жыл бұрын
This is what is used to determine results of A/B testing folks, i had to learn this on the fly at my job
@jeroenritmeester73
@jeroenritmeester73 3 жыл бұрын
Fantastic lecture
@batatambor
@batatambor 4 жыл бұрын
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.
@NoName-jj1lv
@NoName-jj1lv 2 жыл бұрын
I like this professor a lot
@adamk.977
@adamk.977 4 жыл бұрын
Oh my God, I've got it now in detail. I took a semester course in Bayesian theory and treated this topic, I had to write a report at the end of the semester on it. It was a hell :-), I'm glad to refresh my memory about this topic here again. Thanks a lot, Sir!
@zini85
@zini85 3 жыл бұрын
Excellent class
@syncopowerstations
@syncopowerstations 2 жыл бұрын
I love a professional, whether he be a doctor or a scientist, who has the confidence and grace to admit that he makes an honest mistake.
7. Confidence Intervals
50:29
MIT OpenCourseWare
Рет қаралды 170 М.
Monte Carlo Simulation
10:06
MarbleScience
Рет қаралды 1,4 МЛН
ШЕЛБИЛАР | bayGUYS
24:45
bayGUYS
Рет қаралды 679 М.
ОДИН ДОМА #shorts
00:34
Паша Осадчий
Рет қаралды 6 МЛН
YouTube's Biggest Mistake..
00:34
Stokes Twins
Рет қаралды 76 МЛН
11. Introduction to Machine Learning
51:31
MIT OpenCourseWare
Рет қаралды 1,6 МЛН
Monte Carlo Simulation of a Stock Portfolio with Python
18:23
4. Stochastic Thinking
49:50
MIT OpenCourseWare
Рет қаралды 181 М.
Introduction to Poker Theory
30:49
MIT OpenCourseWare
Рет қаралды 1,3 МЛН
1. Introduction, Financial Terms and Concepts
1:00:30
MIT OpenCourseWare
Рет қаралды 7 МЛН
MIT Introduction to Deep Learning | 6.S191
1:09:58
Alexander Amini
Рет қаралды 161 М.
Monte Carlo Methods : Data Science Basics
19:14
ritvikmath
Рет қаралды 111 М.
Bayes theorem, the geometry of changing beliefs
15:11
3Blue1Brown
Рет қаралды 4,2 МЛН
ШЕЛБИЛАР | bayGUYS
24:45
bayGUYS
Рет қаралды 679 М.