|From:||Jose Ramom Flores das Seixas|
|Subject:||Linear regression with uncertainties of the independent variable|
|Date:||Fri, 4 Mar 2022 21:53:20 +0100|
|User-agent:||Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0|
I need to fit some data to a line, (xi,yi), using least squares, taking into account that both the dependent variable (yi) and the independent variable (xi) have uncertainties. The uncertainty is the same for all xi, but varies for different yi. Is there a function in octave that allows this adjustment to be made?
The "LinearRegression" function in the "optim" package allows to fit the data taking into account the uncertainties of the dependent variable, yi, but ,if I understand correctly, it does not consider the uncertainties of xi.
|[Prev in Thread]||Current Thread||[Next in Thread]|