Introduction to Bayesian data analysis - part 1: What is Bayes?

  Рет қаралды 282,865

rasmusab

rasmusab

7 жыл бұрын

Try my new interactive online course "Fundamentals of Bayesian Data Analysis in R" over at DataCamp: www.datacamp.com/courses/fund...
----
This is part one of a three part introduction to Bayesian data analysis. This first part aims to explain what Bayesian data analysis is. See here for part 2: • Introduction to Bayesi...
Here are links to the exercises mentioned in the video:
R - goo.gl/cxfnYK (if this link does not work for you try rpubs.com/rasmusab/257829)
Python - goo.gl/ceShN5
More Bayesian stuff can be found on my blog: sumsar.net. :)

Пікірлер: 152
@dostone
@dostone 7 жыл бұрын
There must be something magic going on here. I have been trying to learn Bayesian methods for countless times. This is the first time I all of the sudden understand every word the speaker says. And the learning curve? Flat!
@VerenaKasztantowicz
@VerenaKasztantowicz 5 жыл бұрын
His voice is very magical.
@ProfessionalTycoons
@ProfessionalTycoons 5 жыл бұрын
nah due you just had a very informative prior
@FuturesLab_TV
@FuturesLab_TV 3 жыл бұрын
agreed
@benjay5655
@benjay5655 2 жыл бұрын
Sorry to be so offtopic but does any of you know a tool to log back into an instagram account..? I somehow forgot the password. I would love any tips you can give me
@sullivancrosby1132
@sullivancrosby1132 2 жыл бұрын
@Ben Jay instablaster :)
@pedroalonso45
@pedroalonso45 4 жыл бұрын
It's an outrage that you are the one thanking people by the end of the video. Thank YOU!
@tighthead03
@tighthead03 Жыл бұрын
This is an unreal explanation of Bayesian data analysis, thank you so much. This is the clearest and most intuitive introduction I've found, great job.
@PROFISHOX
@PROFISHOX 7 жыл бұрын
Nice. It's hard to find explanations of Bayesian data analysis on KZbin that are clear and correct, and don't use Bayes rule as a rhetorical tool to make dubious assertions. This is excellent. I'll recommend this to students in my biostatistics class. Thank you!
@elzaKimura
@elzaKimura 7 жыл бұрын
You are great!!! For years I have been trying to understand Bayesian data analysis and you made so easy to understand!!! Thank you very much!!!
@bombaikos
@bombaikos 4 жыл бұрын
In this clever guy’s video along with 3Blue1Brown ones I have found the best introductory explanation on the topic. Congratulations and thank you!
@Jess-fv2et
@Jess-fv2et 5 жыл бұрын
Genuinely one of the best and most straight forward tutorials I've found for Bayesian statistics, bless you
@parkjessica4444
@parkjessica4444 2 жыл бұрын
This explanation is amazing!!! I've been having a really hard time understanding the concepts and you just made it so easy to follow and understand! Thank you sooooo much! You have a great gift for teaching!
@piotralanp
@piotralanp 7 жыл бұрын
finally good video about bayessian models! man you're so great!! thank you for your work, the quality is great, and you're a great teacher! keep up good work, you've gained a subscriber!
@Tyokok
@Tyokok Жыл бұрын
God, this is the best channel of such DS and ML lecture! Thank you so much for the amazing lecture!
@ryanmoran6168
@ryanmoran6168 5 жыл бұрын
I too have tried to learn Bayesian analysis for a while and found you video to be the missing link I needed. Thank you Rasmus!
@EuroPerRad
@EuroPerRad 5 жыл бұрын
Thanks a lot. Finally, I got a glimpse of how Bayesian data analysis is working.
@shengbingyu7157
@shengbingyu7157 4 жыл бұрын
I am so happy to find a course of Bayesian method that is easy to understand. Excellent! 😀😀😀
@HanaKamau
@HanaKamau Жыл бұрын
Thank you so much!!!... I have been listening to other videos on this topic, but I only got more confused. This has clarified everything for me. Thank you!
@julianapereira8070
@julianapereira8070 4 жыл бұрын
This was amazing. Thank you very much for making this accessible to us, mere mortals, in a fun way, easy to understand :)
@user-or7ji5hv8y
@user-or7ji5hv8y 5 жыл бұрын
Why can’t professors give lectures like this? This helps so much with understanding.
@devonk298
@devonk298 6 жыл бұрын
These 3 videos are the best!! What great explanations you have given here. ty
@alexanderkoc2591
@alexanderkoc2591 7 жыл бұрын
Really really good video. Thank you for spending the time on creating this!
@phunguyenhoang211
@phunguyenhoang211 3 жыл бұрын
3 parts of this series about Bayesian are the best videos i found, extremely helpful for beginner. However, this is my lesson after finishing 3 parts. You should highly focus on the reasons "Why NOT use Bayesian" at the end of part 2 and think about the pros and cons, cost-benefit related to your situation. I say this because i made a big mistake, i am NOT READY for this method at this very moment. I looked up for Bayesian because of the fancy and attractive outcome of this method and i wanted to apply it to my thesis in the SHORT TERM. It is obviously impossible! In short, please learn from my mistake, make sure you are ready for Bayes
@MS-vl8qe
@MS-vl8qe 4 жыл бұрын
Now I can picture the model in my head - super helpful! Thank you so much!
@chintanadvani1981
@chintanadvani1981 3 жыл бұрын
Excellent explanation...!!!! By far the best video on you tube explaining the concepts.
@pingwang6426
@pingwang6426 4 жыл бұрын
Oh my goodness! I finally understand this. Thank you so much. You are genius!
@goldfe016
@goldfe016 7 жыл бұрын
Good lecture. I've studied the Bayes theorem nowadays. It is another good lecture for me. I'm looking forward to next videos.
@Paul_Klimb
@Paul_Klimb 11 ай бұрын
man you just blew my brain. wow that was an amazing lightbulb moment, thank you so much!
@Skydmig
@Skydmig 6 жыл бұрын
The almost religious divide there has been (and probably still is) between Frequentism and Bayesianism was most amusely described by Andy Field in his recent book "An Adventure in Statistics: The Reality Enigma". He refers to the "Secret Philanthropic Society" as a reserved bunch of innate believers in NHST and the "Doctrine of Chance" as an underground cult waiting outside the building of the NHST believers to bring salvation for their newest initiates. I highly recommend reading his book, if not only for the interesting take on a piece of statistics teaching material.
@satter87henne
@satter87henne 5 жыл бұрын
great intro. Thanks Rasmus for these three videos!
@kyxax
@kyxax 5 жыл бұрын
Excellent explanation. What material (books, courses) would you advice to deeper understand the Bayesian DA but with explination as clear as yours?
@taylorallred
@taylorallred 5 жыл бұрын
This is amazing teaching! Great work!
@luizvalente1982
@luizvalente1982 2 жыл бұрын
I enjoyed the brazilian music you "sang" while waiting we are acessing the exercise! Great!
@savitasahu3581
@savitasahu3581 4 жыл бұрын
Awesome voice structure.... fantastic....superb
@willianherreira7314
@willianherreira7314 4 жыл бұрын
Thanks Rasmus, indeed you developed a great content and teaching method.
@soosjanos
@soosjanos 7 жыл бұрын
looking forward to it, really liked the first one!!
@imrem9673
@imrem9673 3 жыл бұрын
Indeed very nice explanation of Bayes inference, still I have a problem to interpret the posterior, first what if we start with a prior being a binomial 50% (could we? it's could be our assumption why not?) then the posterior will probably show that the leaflet with 38% signing is a disaster business choice (it lowers the willgness to sign) , the prior choice isn't skewing too strongly the inferred result? May be the presented model is simplistic we lack of a "baseline" estimation (we should take this 16 peoples and ask them before seeing the leaflet what is their signing rates for example). The thing is that the leaflet "changes" only our "belief" in the reality not the reality.
@Yongbangxiang88
@Yongbangxiang88 5 жыл бұрын
this is absolutely fantastic, enjoying this a lot
@juliagschwend
@juliagschwend 2 жыл бұрын
Nice introduction! Hey, I recognized you humming Tom Jobin's song "Girl from Ipanema" during exercise break. Greetings from Brazil!!!
@madakhseham
@madakhseham 3 жыл бұрын
Thanks a lot. I think this one video says it all about Bayesian in core
@nathaliafernandes5093
@nathaliafernandes5093 3 жыл бұрын
loved this video, thank you for the wonderful explanation
@escargot8854
@escargot8854 4 жыл бұрын
for a shortcut: the rbinom function is vectorized so you can vastly improve on time by removing the loop. "sim_data
@gzitterspiller
@gzitterspiller 3 жыл бұрын
When you simulate data, you need some kind of tolerance to compare the generated sample against the real sample, in your example it's a discrete stuff but if you have a distribution it gets tricky.
@marshalljordan2416
@marshalljordan2416 2 жыл бұрын
A great into to BAYES data analysis. Now, finally, the fog of confusion is clearing and I begin to think Bayesian.
@Carveasmile
@Carveasmile 3 жыл бұрын
Thank you for a really good video and great explainations!
@roshanpatel4037
@roshanpatel4037 3 жыл бұрын
wow this was an insanely good video major props to you
@coolshoos
@coolshoos 4 жыл бұрын
Very interesting. Is the "maximum likelihood estimate" the same thing as dividing 6/16 from the sample?
@denisbaranoff
@denisbaranoff 4 жыл бұрын
Excellent explanation from excellent country
@mingx009
@mingx009 3 жыл бұрын
Greatest lecture on Bayesisn analysis
@bassamhaniya
@bassamhaniya 4 жыл бұрын
hello, please what microphone did you use ? sound quality is great ...
@karannchew2534
@karannchew2534 2 жыл бұрын
Notes for my future revision. 16:04 A parameter value that is more likely to generate the data we collected, is going to be proportionally more common in this blue distribution. A parameter value that is twice as likely (as some other parameter values) to generate the data we saw is roughly going to be twice as common in this blue distribution. Parameter value below 0.1 and above 0.8 almost never result in the data we observed. 18:33 The Posterior Distribution is really the end product of a Bayesian analysis. It contain both information from the model and from the data. It can be used to answer all sorts of questions (e.g. Maximum likelihood estimate of the mean sign up rate, the posterior mean, the probability of a range of rate, the shortest interval aka Credible Interval that cover 90% of the probability etc.) 17:05 Bayesian data analysis is all about representing uncertainties with probabilities. The sign up rate is still uncertain. But we can use the distribution to answer many questions e.g. Maximum likelihood estimate of the mean sign up rate, the poterior mean, the probability of a range of rate, the shortest interval aka Credible Interval that cover 90% of the probability etc. 17:52 Translating the histogram to probability, we end up with a probability distribution of the likely sign up rate. 19:09 As we used uniformly distributed Priors, this is also the parameter value that is the mostly to generate the data we observed. In classical statistic, this type of estimate is known as 'Maximum Likelihood Estimate'. This is why Bayesian data analysis is an extension of 'Maximum Likelihood Estimation'. If you used flat prior, you will always get maximum likelihood for free.
@uvurgun
@uvurgun 4 жыл бұрын
Thanks a lot. Really clear explanation.
@bernsbuenaobra473
@bernsbuenaobra473 3 жыл бұрын
Two very important decisions and assumptions first to start with the math model to assume for a generative model and the most likely PDF for the prior this will form the simulator. The second step is to perform the simulation and collect simulated data. Filter the results so that those results are picked based on the actual survey result. The way the problem was attacked and demonstrated is entirely unique from the so many people who tried to explain it as clear as mud. Now let me figure it out when there are like multivariate.
@nielsfrhr1275
@nielsfrhr1275 3 жыл бұрын
Really nice introduction!
@cliffordino
@cliffordino 5 жыл бұрын
This was super useful. I think it would've been helpful had you explained a bit more clearly why 55% was chosen as a prior given that the marketing manager had already completed a polling exercise and found a different %age. Anyways, nicely done. Heading over to DataCamp now. Thanks so much for what you are doing to help demystify Bayesian.
@Logic807
@Logic807 4 ай бұрын
No reason. Could have use another. So many uncertain stuff plugging in....scary
@lennartboldin5583
@lennartboldin5583 6 жыл бұрын
Thank you very much for these videos, Rasmus. I have really enjoyed them since I am actually trying to use Bayesian Data Analysis for a project within my company. Would it be possible to contact you in order to ask a few questions? Thank you very much in advance.
@dranujtiwari
@dranujtiwari 2 жыл бұрын
You are an amazing teacher.
@hardware8188
@hardware8188 6 жыл бұрын
I am studying machine learning, and the term Bayesian analysis always appears in the papers that I read. I failed to understand it for quite a while, but you video explains everything I want to know. Thanks for all your effort, and the programming exercise is truly a gem for me.
@kirokiro7412
@kirokiro7412 9 ай бұрын
Great video🎉..... With a uniform distribution at start is this a beta distribution
@MrThelastseven
@MrThelastseven 3 жыл бұрын
Awesome content! Thank you so much!
@andreneves6064
@andreneves6064 6 жыл бұрын
Did you sing "Girl from Ipanema"?
@pedrocolangelo5844
@pedrocolangelo5844 3 жыл бұрын
"... and it is targeted at you who isn't necessarily that well-versed in probability theory and statistics..." I think that it is everything that someone who comes to this kind of video hopes to listen.
@wiama
@wiama 5 жыл бұрын
video on Gaussian Process and Bayesian Optimization please 🙏🏻🙇🏻
@Skydmig
@Skydmig 6 жыл бұрын
Great video and I liked doing the exercises too. Oh and bonus points for "The Girl from Ipanema".
@andreneves6064
@andreneves6064 6 жыл бұрын
Are you Brazilian? I perceive it too. :-)
@KeisOhtsuka
@KeisOhtsuka 2 жыл бұрын
Thank you for 21:13 R Exercises. I did it somehow and it was great (a small point - a misspelling of the word signups in R script caused me a momentary confusion. :)
@luisluna11
@luisluna11 7 жыл бұрын
Awesome video, thanks!
@vishnuseesahai4611
@vishnuseesahai4611 7 жыл бұрын
Awesome work!
@RottenMonkeyderAffenkopf
@RottenMonkeyderAffenkopf 6 жыл бұрын
brilliant explanation
@RichGillin
@RichGillin 7 жыл бұрын
Excellent production of an excellent subject. Audio, video and slides did not get in the way of transference of the intended knowledge.
@danielhonig9876
@danielhonig9876 3 жыл бұрын
The fish thinking of the formula is Fire!.
@teelee3543
@teelee3543 6 жыл бұрын
I am looking forward to ask for a help. May I get the slide for this tutorial? Thanks
@DanielBurrueco
@DanielBurrueco 5 жыл бұрын
Great explanation...
@12copablo
@12copablo 4 жыл бұрын
Thx so much! This was great!
@alikhadour2028
@alikhadour2028 5 жыл бұрын
can we consider ABC a simple or a practical way for forecasting ?
@marchino1981
@marchino1981 5 жыл бұрын
Amazing, thank you!
@dranujtiwari
@dranujtiwari 2 жыл бұрын
Very very helpful. Thank u
@marianklose1197
@marianklose1197 3 жыл бұрын
Great work!
@nesrinothmann597
@nesrinothmann597 3 жыл бұрын
Amazing video!!!
@wilsonne6
@wilsonne6 4 жыл бұрын
I have always been allergic to numbers and maths but now it is making sense.Thank you author
@dal2452
@dal2452 3 ай бұрын
I like the Fish as a Service (FaaS) example.
@sakkariyaibrahim2650
@sakkariyaibrahim2650 8 ай бұрын
Great lecture
@danroche8014
@danroche8014 3 жыл бұрын
this is fantastic!
@blackberrybbb
@blackberrybbb 4 жыл бұрын
Crystal clear!
@Alticroo
@Alticroo 4 жыл бұрын
@rasmusab - thank you very much
@anibaldk
@anibaldk 6 жыл бұрын
Hi Rasmus, one question: IF you know your likelihood distribution to be binomial, shouldn't P(data | θ) = P(r=6, θ) for a given value of θ ? In theory, you wouldn't need sampling, just mathematical calculation using Bayes formula for each possible value of θ. For θ [0..1] P(θ | data) = P(r=6, θ) x P(θ) / P(data) Where P(data) = Σ P(θi) P(data|θi) which can be computed without simulation/sampling either. Am I mistaken? Please do correct me as I'm kind of new to this. Thanks!
@rasmusab
@rasmusab 6 жыл бұрын
That is true, for this case you can take this computational short cut!
@samimis97
@samimis97 6 жыл бұрын
As every body else wrote... I am also was trying to understand it and how to use. You nail it man. Can I download the video please ... This gold for me... I can pair the idea of the video goes off line for some reason !!! can I ...
@7573436
@7573436 4 жыл бұрын
This is great!
@olgak9985
@olgak9985 3 жыл бұрын
breakthrough. thank you!
@theKIB
@theKIB Жыл бұрын
Thank you very much!
@randomguy75
@randomguy75 6 жыл бұрын
Great stuff
@PeterKingnz
@PeterKingnz 4 жыл бұрын
Pity the example links don't work anymore, But definitely the most down to earth explanation so far
@caseyinfo5743
@caseyinfo5743 2 жыл бұрын
Thank you so much!
@farnazbayaat5955
@farnazbayaat5955 2 жыл бұрын
JUST AMAZING
@emannunez
@emannunez Жыл бұрын
Thanks so much!
@HumblyQuestioning
@HumblyQuestioning 3 жыл бұрын
You're a hero
@matt96920
@matt96920 6 жыл бұрын
5:58 -- boom.
@nigeltan7766
@nigeltan7766 2 жыл бұрын
So we bruteforce all possible scenarios and see which instances give us the observed result. From the instances we keep we get a frequency distribution of the baselines for free. Got it!
@MasterofPlay7
@MasterofPlay7 5 жыл бұрын
can't you just use T test for a/b test to measure if there's a difference (and if is significant) between the two samples?
@tshipmatic
@tshipmatic 4 жыл бұрын
You are the man!
@BHARTGUPTABEC
@BHARTGUPTABEC 3 жыл бұрын
when we know the distribution and the parameters how are we getting different value for same parameters
@ronny8D
@ronny8D 4 жыл бұрын
OMG, so this is whats going on! ive tried readings few books on this, but it was never articulated clearly, the books did a lot of hand waving and i was always left extremely confused, and felt like the classical approach was superior. but i like this way of thinking, it has its advantages.
@pawpawpascal1524
@pawpawpascal1524 3 жыл бұрын
I love ske doodles why he waits for me to finish the example.
@sifundomhlungu5119
@sifundomhlungu5119 4 жыл бұрын
tres bien, tu a francais accent. merci! c'est très complet
@sachspace
@sachspace 3 жыл бұрын
This is so clear! Thank you for this !
How Bayes Theorem works
25:09
Brandon Rohrer
Рет қаралды 533 М.
КАКОЙ ВАШ ЛЮБИМЫЙ ЦВЕТ?😍 #game #shorts
00:17
Indian sharing by Secret Vlog #shorts
00:13
Secret Vlog
Рет қаралды 47 МЛН
ПЕЙ МОЛОКО КАК ФОКУСНИК
00:37
Masomka
Рет қаралды 10 МЛН
ХОТЯ БЫ КИНОДА 2 - официальный фильм
1:35:34
ХОТЯ БЫ В КИНО
Рет қаралды 2,2 МЛН
The better way to do statistics
17:25
Very Normal
Рет қаралды 149 М.
Bayes theorem, the geometry of changing beliefs
15:11
3Blue1Brown
Рет қаралды 4,2 МЛН
Probability is not Likelihood. Find out why!!!
5:01
StatQuest with Josh Starmer
Рет қаралды 1,1 МЛН
Introduction to Bayesian Statistics - A Beginner's Guide
1:18:47
Woody Lewenstein
Рет қаралды 73 М.
The Bayesian Trap
10:37
Veritasium
Рет қаралды 4 МЛН
All About that Bayes: Probability, Statistics, and the Quest to Quantify Uncertainty
56:36
Lawrence Livermore National Laboratory
Рет қаралды 80 М.
A visual guide to Bayesian thinking
11:25
Julia Galef
Рет қаралды 1,7 МЛН
КАКОЙ ВАШ ЛЮБИМЫЙ ЦВЕТ?😍 #game #shorts
00:17