Re: Linear regression with uncertainties of the independent variable

Nir Krakauer <[email protected]> Fri, 4 Mar 2022 17:14:43 -0500
Newsgroups gmane.comp.gnu.octave.general
Message-ID <CAK0qmq4Z3m7oNPwRbJorHtmyzEaie2PGJ2Pz1xWzDfPO8JJ28A@mail.gmail.com>
It sounds like you're looking for "total least squares". The Wikipedia
article on it has an Octave implementation for the case where all x
and y entries have equal uncertainties:
https://en.wikipedia.org/wiki/Total_least_squares


----------
We are transitioning to a web based forum
for community help discussions at
https://octave.discourse.group/c/help