Monte-Carlo Propagation of Uncertainty

  Рет қаралды 16,280

Steve Spicklemire

Steve Spicklemire

Күн бұрын

Пікірлер: 36
@tylerjones6918
@tylerjones6918 3 жыл бұрын
Simple and clean explanation, thank you!
@sspickle
@sspickle 3 жыл бұрын
Glad it was helpful!
@ItisAbuTDMM
@ItisAbuTDMM 2 жыл бұрын
Nice Tutorial. Thanks!
@shiyunqiu8228
@shiyunqiu8228 3 жыл бұрын
Thank you so much. This video is very clear and informative!
@ricardodealmeida5485
@ricardodealmeida5485 3 жыл бұрын
Great video. Thank you!
@a.n.m.taufiqelahi5895
@a.n.m.taufiqelahi5895 2 жыл бұрын
Great video! Thank you very much! How to calculate the percent contribution from each variable while using Monte Carlo propagation?
@sspickle
@sspickle Жыл бұрын
I suppose you could dial back the variance of the other variables to see the effect of only one. Is that what you mean?
@ajphysicsdomain5429
@ajphysicsdomain5429 4 жыл бұрын
Good job...👌
@stephenpuryear
@stephenpuryear 4 жыл бұрын
Steve this is a great start! Could you illustrate Monte Carlo components that are also correlated?
@sspickle
@sspickle 3 жыл бұрын
I guess you could try something like this: math.stackexchange.com/questions/163470/generating-correlated-random-numbers-why-does-cholesky-decomposition-work
@abdulrahmansalem9660
@abdulrahmansalem9660 Жыл бұрын
hello, thank you so much for your video, so are there different codes between Python and Matlab??
@sspickle
@sspickle Жыл бұрын
I'm not a Matlab user, but I'm sure there are corresponding features of Matlab that would accomplish the same result.
@abdulrahmansalem9660
@abdulrahmansalem9660 Жыл бұрын
@@sspickle Thank you and I appreciate it.
@firassami7399
@firassami7399 4 жыл бұрын
Thanks for providing the excellent expains I just wanna ask you about the distribution. It is not normal distribution. If you repeat the run 100 times and every time you can calculate the mean . Finaly you will have 100 mean values and then you could plot the histogram. This way you will get normal distribution and could give you more accurate results...do you agree with me ?
@ricardodealmeida5485
@ricardodealmeida5485 3 жыл бұрын
I think that you're referring to the central limit theorem right? I don't think it applies here because if you repeat the run 100 with the same values, it will produce the same distribution, no? If so, then the summary statistics won't be meaningful.
@KoiKen8
@KoiKen8 3 жыл бұрын
Thank you! Great explanation! I’m doing my bachelor’s thesis on this topic. Do you know any good bibliography on the theory behind these Montecarlo methods for error propagation? It would be of great help
@sspickle
@sspickle 3 жыл бұрын
Sorry, I really don't! Sorry. If you find something good, let me know! I can add a link to the description.
@benyaminhr
@benyaminhr 4 жыл бұрын
Thanks
@sergiomiguellopezramirez5670
@sergiomiguellopezramirez5670 4 жыл бұрын
Could you please share your Jupiter notebook, you really nailed it...!
@sspickle
@sspickle 4 жыл бұрын
Check this repo: github.com/sspickle/instrumentation-projects and see the file: proj7/MCPropagationOfUncertainty.ipynb
@toivosamuelmabote9395
@toivosamuelmabote9395 4 жыл бұрын
@@sspickle Thanks
@sspickle
@sspickle 4 жыл бұрын
@@toivosamuelmabote9395 github.com/sspickle/instrumentation-projects/blob/master/proj7/MCPropagationOfUncertainty.ipynb
@mohamedibrahim1836
@mohamedibrahim1836 Жыл бұрын
First, the statstical sampling way is more generative than the quadratic rule that is over simplification. But I also wonder have you thought of sampling from a multivariable covariance distribution instead of single independent?
@sspickle
@sspickle Жыл бұрын
Yes, I think I replied to a question about that in the comments earlier. You can certainly do it! However, this activity is for sophomore students, just learning about random numbers and estimating uncertainty, so that's really out of scope for this particular video.
@mohamedibrahim1836
@mohamedibrahim1836 Жыл бұрын
@@sspickle Thanks for reply, also thanks for the clear tutorial :)
@pmale90
@pmale90 3 жыл бұрын
but, what if data is not normally distributed (non Gaussian) ?
@sspickle
@sspickle 3 жыл бұрын
Then it depends. A gaussian is just a reasonable guess that's easy to generate (and suggested by the central limit theorem). If you know what the distribution is, just use that instead. If you don't, and you have reason to believe it's not gaussian, then you're in tough spot.
@vishalsaini5021
@vishalsaini5021 3 жыл бұрын
Sir..I want to calculate the uncertainty of solar radiation data of 8760 hours with the help of Monte Carlo Simulation in MATLAB.... Please guide me on how to achieve the same
@sspickle
@sspickle 3 жыл бұрын
Sorry, I have no idea what you mean by this. Also, I'm not a MATLAB user, so I can't really help with that.
@vishalsaini5021
@vishalsaini5021 3 жыл бұрын
Dear Steve is it possible to calculate uncertainty associated with solar radiation data using Monte Carlo Simulation in MS Excel
@cengizhancengiz1919
@cengizhancengiz1919 Жыл бұрын
interesting, I think i missing something in my code... each time I run my code, i get a different plot. Is not supposed to be consistent with the plot but have variable ranges?
@sspickle
@sspickle Жыл бұрын
How many points are you using? If it's a small number you would expect some variation.
@cengizhancengiz1919
@cengizhancengiz1919 Жыл бұрын
​@@sspickle ​ makes sense! my familiarity with Python is not high, so I forgot to specify the bins=np.linespace(5,20,21) part after asking for pl.hist(rhoMC). Thank you kindly. Also, I'm assigned to develop an MC analysis for development schedule predictions and figured Python would be a good tool to use. Do you have any recommendations on what to prioritize when exploring Python to develop this analysis tool? Your advice is much appreciated
@sspickle
@sspickle Жыл бұрын
I would start with pandas, numpy, and scipy but there are many others! @@cengizhancengiz1919
@Sky-lw5pr
@Sky-lw5pr 3 жыл бұрын
Why do you put 2*rhoMC.std() instead of just rhoMC.std() at the end? where did the 2 came from?
@sspickle
@sspickle 3 жыл бұрын
Well, assuming a normal distribution a 95% confidence interval is +/- 2*sigma. Note that it's clearly *not* a normal distribution but this will give a rough estimate of the interval. You could do better by computing the cumulative distribution and searching for the 2.5% and 97.5% limits, but I didn't go into such things in this video. Maybe that would be a good follow up sometime?
6. Monte Carlo Simulation
50:05
MIT OpenCourseWare
Рет қаралды 2 МЛН
Experimental Uncertainty
6:39
EngineerItProgram
Рет қаралды 107 М.
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 1,7 МЛН
Wait… Maxim, did you just eat 8 BURGERS?!🍔😳| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 9 МЛН
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 2 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 25 МЛН
Monte Carlo Simulation
10:06
MarbleScience
Рет қаралды 1,4 МЛН
How to Calculate Standard Deviation (Uncertainty) for Measured Values
14:05
Clyde Lettsome, PhD, PE
Рет қаралды 98 М.
Estimating The Error In Fit Parameters
16:07
Steve Spicklemire
Рет қаралды 10 М.
Monte Carlo Integration In Python For Noobs
15:32
Andrew Dotson
Рет қаралды 153 М.
Error Propagation
25:34
Tonya Coffey
Рет қаралды 14 М.
Monte Carlo Methods : Data Science Basics
19:14
ritvikmath
Рет қаралды 126 М.
The Monte Carlo Method
16:01
RandomMathsInc
Рет қаралды 82 М.
Monte Carlo Simulation PERT Cost Using CrystalBall
18:25
girocyclist
Рет қаралды 6 М.
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 1,7 МЛН