No video

Rejection Sampling + R Demo

  Рет қаралды 24,623

math et al

math et al

Күн бұрын

Пікірлер: 39
@richardy7888
@richardy7888 2 жыл бұрын
2 seconds in and already a better experience in terms of delivery and articulation compared to my current lecturer. Please continue to teach the wonders of statistics on youtube for the world's benefit.
@nhlanhlamsongelwa4364
@nhlanhlamsongelwa4364 3 жыл бұрын
this is such a succinct video, broke down the method and explained how to apply it in such a helpful manner. Thank you.
@hongkyulee9724
@hongkyulee9724 2 жыл бұрын
I am a python user, so not able to code R. However, this video is so very intuitive! Thank you for the nice lecture! Especially examples are so good!
@abhinandanmohanty3833
@abhinandanmohanty3833 Жыл бұрын
This video is a masterpiece. Very well articulated.
@homataha5626
@homataha5626 3 жыл бұрын
in the R code when you add the value of count by one, if the candidate got accepted you increase the value of count by 1 and then you increase it again! since U add count by 1 outside of the if statement I think u should delete adding 1 to it inside if condition.
@sirkelvinmalunga
@sirkelvinmalunga 10 ай бұрын
This video is an act of kindness to me. Thanks for sharing : )
@alexiaberenicetorrescalder5742
@alexiaberenicetorrescalder5742 3 жыл бұрын
So helpful!!! Thank you! You saved my midterm
@muhammadosama8308
@muhammadosama8308 4 жыл бұрын
I find your video really helpful and easy to understand thank you very much !.
@mathetal
@mathetal 4 жыл бұрын
thank u :)
@khwajashamsuddoha2055
@khwajashamsuddoha2055 3 жыл бұрын
thanks for describe the theorem in the easiest way to understand. Best of Luck. the boss
@sahilmohammad4336
@sahilmohammad4336 Жыл бұрын
Thanks a lot for the video. Very precise and easy to understand. However, for choosing the value of scaling factor, its not always correct to choose the end value of support. I think its better to find out the local maxima. For example, taking the end value of support in a bell-curve would not be correct because we need to scale it to at least above the maxima of target function.
@err3088
@err3088 2 жыл бұрын
these videos are gold. thank you so much
@rondotmarie4353
@rondotmarie4353 2 жыл бұрын
Thank you so much for you clear explanations ! Really helpful
@salmanfariss
@salmanfariss 2 жыл бұрын
this is such an amazing video, subbing!
@hongquanli1754
@hongquanli1754 2 жыл бұрын
Wonderful video and well explained!
@huilapman
@huilapman 3 жыл бұрын
Thank you so much. Your video is really really helpful.
@bayubetaB
@bayubetaB 4 жыл бұрын
This is really helpful, thank you!
@creepomusik2883
@creepomusik2883 2 жыл бұрын
Thank you for your vid. I think i found a little mistake in your R-Code. Your counter will increased by two if your if-statement is true, which is, as far as i understood the method correctly, not what you wanted to archive.
@gsp_ram
@gsp_ram Жыл бұрын
Great
@fntldks
@fntldks 3 жыл бұрын
you explained the concept behind the algorithm very clearly, it makes me easy to understand the whole thing, support! one thing I want to know is what is the usage in the reality? just curious
@jpfarina
@jpfarina 10 ай бұрын
Simulating distributions. It's commonly used in software that models business processes. Not modeling them like Visio, though. Modeling them like, "how long does the average customer wait in line?" and, "what would happen if we added an additional cashier?".
@PandemicGameplay
@PandemicGameplay 3 жыл бұрын
This was an extremely good video
@ZiluZheng
@ZiluZheng 2 жыл бұрын
Why do we need the second step u~Unif? In the third step, can we set the if condition as 1< Pi(Xi)/Cg(Xi) ?
@mathetal
@mathetal 2 жыл бұрын
Xi comes from a distribution that is hard to sample directly, which means that Monte Carlo methods can be used to approximate it
@ccuuttww
@ccuuttww Жыл бұрын
THX
@jetlime08
@jetlime08 3 жыл бұрын
Many thanks !!!:)
@paullouw6080
@paullouw6080 4 жыл бұрын
Thank you thank you thank you!
@vayvon21
@vayvon21 Жыл бұрын
How can we calculate the rejection ratio in this example?
@user-qp4ic8pj4x
@user-qp4ic8pj4x 3 жыл бұрын
와씨 감사합니다 ㅠㅠ
@soumialahfair3171
@soumialahfair3171 2 жыл бұрын
thank you , can you please tell me how can we do it in MATLAB
@charanshah3787
@charanshah3787 Жыл бұрын
Very helpful vedios, but can you help me how to draw using this method from normal, exponential or any proposed distribution
@patriciakou2171
@patriciakou2171 2 жыл бұрын
where does numbers from count
@321MrMateus
@321MrMateus 4 жыл бұрын
Just one doubt. Generally we do not have the p.d.f, we just have some proportional density function. Therefore we just define a the eveloping cg(x) to be higher enough?
@mathetal
@mathetal 4 жыл бұрын
Yes, you can replace the target distribution pi(x) with a proportional distribution l(x) and the rest of the algorithm is the same
@Cam-lh7nr
@Cam-lh7nr 4 ай бұрын
How does your pdf have values greater than 1?
@jimmyodiazportillo6978
@jimmyodiazportillo6978 2 жыл бұрын
Pero lo que estás almacenando son las X, no los valores de pi(X) con ese algoritmo. Y las X son uniformes, no realizaciones de la función pi. Corrijanme si me equivoco.
@ibahimabdullahi3613
@ibahimabdullahi3613 3 жыл бұрын
am working on generated distribution, i want to simulate my true parameter using MLE pls help
@jorge_pb8482
@jorge_pb8482 3 жыл бұрын
te amoooo :), pero creo q te falta un else
@maximegrossman2146
@maximegrossman2146 3 жыл бұрын
amazing, but the R code is a little hard to read as it's a bit blurry. nevertheless, thanks so much
Importance Sampling + R Demo
14:26
math et al
Рет қаралды 13 М.
Rejection Sampling - VISUALLY EXPLAINED with EXAMPLES!
15:27
Kapil Sachdeva
Рет қаралды 25 М.
This Dumbbell Is Impossible To Lift!
01:00
Stokes Twins
Рет қаралды 36 МЛН
Unveiling my winning secret to defeating Maxim!😎| Free Fire Official
00:14
Garena Free Fire Global
Рет қаралды 10 МЛН
小丑把天使丢游泳池里#short #angel #clown
00:15
Super Beauty team
Рет қаралды 48 МЛН
娜美这是在浪费食物 #路飞#海贼王
00:20
路飞与唐舞桐
Рет қаралды 5 МЛН
An introduction to rejection sampling
10:37
Ben Lambert
Рет қаралды 52 М.
Inverse Transform Sampling + R Demo
9:03
math et al
Рет қаралды 36 М.
Accept-Reject Sampling : Data Science Concepts
17:49
ritvikmath
Рет қаралды 65 М.
Unseen Species Problem
8:42
math et al
Рет қаралды 2,1 М.
Box-Muller Transform + R Demo
9:40
math et al
Рет қаралды 10 М.
Inverse Transform Sampling - VISUALLY EXPLAINED with EXAMPLES!
13:29
Kapil Sachdeva
Рет қаралды 13 М.
This Dumbbell Is Impossible To Lift!
01:00
Stokes Twins
Рет қаралды 36 МЛН