How do I estimate the new slope and intercept if I'm given a 'updated' data instance?

For example I have a regression equation y = 1x + 0.5 and this is learned with a data set of 10 data instances with feature x = {9,22,34,36,38,49,59,78,80,85},

Let's say one of the instances (49,50) (60 is the true y label for this instance) is changed to (49,60). How would this affect the new equation?

  • $\begingroup$ I doubt such an updating is possible, but cannot you just re-estimate your parameters? $\endgroup$ – Ott Toomet Apr 8 '18 at 5:21
  • 1
    $\begingroup$ This is related to online algorithms. Search this site. $\endgroup$ – kjetil b halvorsen Apr 8 '18 at 6:51
  • 1
    $\begingroup$ @ott such an updating is certainly possible. $\endgroup$ – Glen_b Apr 8 '18 at 7:54
  • 1
    $\begingroup$ Possible duplicate of Intuition for recursive least squares $\endgroup$ – kjetil b halvorsen Apr 8 '18 at 8:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.