Weighting of non-linear fit
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I have made a rational fit function of some data using the cftool GUI. It works quite well.
I have some data points (X,Y) with standard error Ye (Y +/- Ye).
At first I made the rational fit model simply using the X,Y data points. But then I decided that I wanted to include the Y uncertainty of the data points in to model somehow. So I used weighting (w) to represent this, whereby:
w(i) = 1 / (Ye(i)^2))
w is a 1 by length(y) matrix
It worked!
However, I am a bit puzzeled. When I plot the model with observation bounds, I get larger observation bounds when I plot the unweighted model than when I plot the weighted model.
I thought that since the weighted model included data point uncertainty, that the observation bounds should be larger?
Have I done something wrong or am I just not yet understanding something that perhaps at first seems unintuitive?
Thanks Bryan
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Get Started with Curve Fitting Toolbox in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!