No video

Estimating The Error In Fit Parameters

  Рет қаралды 9,555

Steve Spicklemire

Steve Spicklemire

Күн бұрын

This is a very quick introduction to finding the error in fit parameters as well as the propagation of error in measurement to the error in calculated results.

Пікірлер: 11
@peterbrehmj
@peterbrehmj 2 жыл бұрын
Great Video, Thanks for putting this together. I'm a little confused as to why you don't include altitude in the sigma_g equation. (sigma_g/g)^2 = (2sigma_t/tvals)^2 + (sigma_h/h)^2 + (sigma_y/yvals)^2. The conclusion is that altitude is very small with relatively large uncertainty, yet, altitude wasn't in the sigma_g equation, or in the original equation for g = 2*h/t^2. So it seems by definition, we're not going to see an effect of altitude on g.
@mgahbelal
@mgahbelal Жыл бұрын
I measured the flow rate 'Q' versus the pressure drop 'dP' curve for some experimental setup. Each parameters has an experimental error. I would like to make a polynominal or a power fit of the data using the averages values, dP=aQ^2+bQ+c, or dP=aQ^b. How can I calculate the error of the fit due to the error in both dP and Q?
@peterbrehmj
@peterbrehmj 2 жыл бұрын
At around 3:50, when you multiply g by the uncertainty (~1/16) what g are you using? The calculated g from measurements gm = 9.77 or the actual value of g = 9.81 I ask because 9.81/16 = 0.613 and 9.77/16 = 6.104. It may be a typo unless im really missing thing.
@sspickle
@sspickle 2 жыл бұрын
I think I'm missing something. Where are you getting 1/16? Where do I multiply g by 1/16? The idea is that t has some uncertainty (0.02s), h has some uncertainty (0.5 cm) and both of these contribute to an estimate for the uncertainty in g.
@peterbrehmj
@peterbrehmj 2 жыл бұрын
Also why don't you fit with the mcY values from the Montecarlo? You only fit the data on the mcG data.
@peterbrehmj
@peterbrehmj 2 жыл бұрын
@@sspickle Im sorry, at 8:50ish. I dont know how I got the wrong time stamp.
@sspickle
@sspickle 2 жыл бұрын
@@peterbrehmj I see, OK. 1/16 just comes from 2x0.02s/.64s ~ .04/.64 ~ .01/.16 ~ 1/16 ~ 0.063 or roughly 6%. The difference between 9.81 and 9.77 is only .04 which more than 10x smaller than the actual uncertainty (~ 0.6 N/kg) so it's basically insignificant.
@sspickle
@sspickle 2 жыл бұрын
@@peterbrehmj Good point! Yes, in principle I should've fit mcY. I think in this case most of the parameter uncertainty comes from the variation in g so I was focused on that, but you are correct!
@user-ez4gr3xv3b
@user-ez4gr3xv3b 3 жыл бұрын
If I know the error associated with each mesure, shouldn't I create a normal distribution for each mesure with the associated error and then make the fit ? Why should I use the fit value of g instead of the mesured one ?
@sspickle
@sspickle 3 жыл бұрын
My thinking is that the measurements can be modeled as random fluctuations around a well-defined curve. The best estimate of the curve is the fit, not the measurements. Does that make sense? I'm not sure that, in the end, it would make a lot of difference, but that's my logic.
@user-ez4gr3xv3b
@user-ez4gr3xv3b 3 жыл бұрын
@@sspickle I think it makes sense, maybe i could make a weighted fit using as weight the inverse of the error associated to each of the mesured data and then proceed as you proposed. In any case very good channel!!
SciPy curve_fit: What is "pcov"?
31:24
Mr. P Solver
Рет қаралды 13 М.
Monte-Carlo Propagation of Uncertainty
6:21
Steve Spicklemire
Рет қаралды 15 М.
English or Spanish 🤣
00:16
GL Show
Рет қаралды 8 МЛН
Blue Food VS Red Food Emoji Mukbang
00:33
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 19 МЛН
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 85 МЛН
Bony Just Wants To Take A Shower #animation
00:10
GREEN MAX
Рет қаралды 7 МЛН
Linear Regression, Clearly Explained!!!
27:27
StatQuest with Josh Starmer
Рет қаралды 1,3 МЛН
How to: Import, Plot, Fit, and Integrate Data in Python
24:11
Curve Fitting in Python (2022)
24:50
Mr. P Solver
Рет қаралды 93 М.
Monte Carlo Simulation  Uncertainty and Probability
55:16
GoldSim Technology Group
Рет қаралды 6 М.
Linear Regression
10:56
Steve Brunton
Рет қаралды 48 М.
HHC 2012: Curve Fitting with Least Squares Relative Errors
18:54
hpcalc.org
Рет қаралды 2,8 М.
Linear Regression 1 [Python]
6:25
Steve Brunton
Рет қаралды 21 М.
English or Spanish 🤣
00:16
GL Show
Рет қаралды 8 МЛН