Residuals (for 2 values)

  • Thread starter pyroknife
  • Start date
  • #1
pyroknife
613
3
Let's say I have a 2 variable data set x and y.
The linear fit through the line is some y(x). Let's say y=x for simplicity.

So a residual is defined as the actual value minus the estimated value (using y).

My question is, let's say for one x value there are two y values.
e.g., for x=2; y=4 and y=6

If you wanted to calculate the residual at x=2, would you have two separate values or is there someway to combine it?
The estimated value would be y=2.
residuals are: 2-4 and 2-6, which is -2 and -4. So in other words do you add the two values?
 

Answers and Replies

  • #2
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
38,453
7,965
You should count them as two separate residuals. To do otherwise would overestimate the goodness of fit.
 

Suggested for: Residuals (for 2 values)

  • Last Post
Replies
1
Views
310
  • Last Post
Replies
6
Views
84
Replies
11
Views
446
Replies
9
Views
523
  • Last Post
Replies
12
Views
607
  • Last Post
Replies
2
Views
252
  • Last Post
Replies
25
Views
493
Replies
2
Views
335
Replies
12
Views
235
  • Last Post
Replies
3
Views
364
Top