Nevermind, I found this post that explains how to do it. Basically, I don’t have to normalize the vector of weights. I simply take the inverse squared of each measurement error.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Nonlinear curve fitting with weights with LsqFit | 10 | 2280 | March 26, 2022 | |
How to fit a function to measurements with error? | 12 | 4674 | September 8, 2024 | |
How to do weighted least squares fit with LsqFit.jl | 2 | 1834 | May 14, 2021 | |
Python lmfit takes weights into account, but Julia LsqFit package seems not to | 9 | 1432 | November 23, 2022 | |
Question about LsqFit | 1 | 1194 | December 18, 2018 |