Weighted Least Squares fit
Afficher commentaires plus anciens
Hello Friends,
The weights in Weighted Least squares are traditionally assumed as inverse of variance. But for example if my data is made of two parts. My question is instead of inverse of variance, can I use any value for weight. For example for the first part of data, when I use w1=10 and for second part of data the weight w2=1 I can see visually that the fit is good and i want to use this.
When I use w1=5 and w2=1 the fit is not so great.
So does the fact that I'm not using the variance as estimates of weights make a difference to my results. Is it a rule that weights have to be known. Can you judge the fit visually and make adjustments to weights randomly.
Thank you.
Réponse acceptée
Plus de réponses (1)
Sudheer
le 2 Mai 2011
0 votes
Catégories
En savoir plus sur Least Squares dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!