Skip to main content
replaced http://stats.stackexchange.com/ with https://stats.stackexchange.com/
Source Link

This is a first attempt at an answer.

Source
I used your data for X, Y1, and Y2.

X   Y1  Y2
1   2   1
2   6   7
3   8   9
4   6   5
5   10  12
6   23  18

There is a 1:1 relationship here. A particular value of X, gives particular values of Y1 and Y2. The Y values can be thought of as a single point located in a 2d space. $Y=\left[ y_1,y_2 \right]$

Procedure:

  1. enter the data into excel (excuse any typos)
  2. compute the mean, slope, and intercept using normal methods
  3. compute error between mean and actual for each row
  4. compute error between linear fit and actual for each row
  5. compute sum of squares for the mean-error column
  6. compute sum of squares for the line-error column
  7. compute the ratio of the sums in steps 5 and 6
  8. subtract that value from 1, and compare to the provided R^2

Results from approach is shown here:

enter image description here

Compute of ratio for RSS shown here:

enter image description here

Graph of data shown here (yes, y1 label is poorly placed): enter image description here

If you have a column of error, and a mean value of the target, then you can compute a Pearson R^2 statistic.

Some relevant references:

This is a first attempt at an answer.

Source
I used your data for X, Y1, and Y2.

X   Y1  Y2
1   2   1
2   6   7
3   8   9
4   6   5
5   10  12
6   23  18

There is a 1:1 relationship here. A particular value of X, gives particular values of Y1 and Y2. The Y values can be thought of as a single point located in a 2d space. $Y=\left[ y_1,y_2 \right]$

Procedure:

  1. enter the data into excel (excuse any typos)
  2. compute the mean, slope, and intercept using normal methods
  3. compute error between mean and actual for each row
  4. compute error between linear fit and actual for each row
  5. compute sum of squares for the mean-error column
  6. compute sum of squares for the line-error column
  7. compute the ratio of the sums in steps 5 and 6
  8. subtract that value from 1, and compare to the provided R^2

Results from approach is shown here:

enter image description here

Compute of ratio for RSS shown here:

enter image description here

Graph of data shown here (yes, y1 label is poorly placed): enter image description here

If you have a column of error, and a mean value of the target, then you can compute a Pearson R^2 statistic.

Some relevant references:

This is a first attempt at an answer.

Source
I used your data for X, Y1, and Y2.

X   Y1  Y2
1   2   1
2   6   7
3   8   9
4   6   5
5   10  12
6   23  18

There is a 1:1 relationship here. A particular value of X, gives particular values of Y1 and Y2. The Y values can be thought of as a single point located in a 2d space. $Y=\left[ y_1,y_2 \right]$

Procedure:

  1. enter the data into excel (excuse any typos)
  2. compute the mean, slope, and intercept using normal methods
  3. compute error between mean and actual for each row
  4. compute error between linear fit and actual for each row
  5. compute sum of squares for the mean-error column
  6. compute sum of squares for the line-error column
  7. compute the ratio of the sums in steps 5 and 6
  8. subtract that value from 1, and compare to the provided R^2

Results from approach is shown here:

enter image description here

Compute of ratio for RSS shown here:

enter image description here

Graph of data shown here (yes, y1 label is poorly placed): enter image description here

If you have a column of error, and a mean value of the target, then you can compute a Pearson R^2 statistic.

Some relevant references:

deleted 21 characters in body
Source Link
EngrStudent
  • 9.9k
  • 2
  • 37
  • 93

This is a first attempt at an answer.

Source
I used your data for X, Y1, and Y2.

X   Y1  Y2
1   2   1
2   6   7
3   8   9
4   6   5
5   10  12
6   23  18

There is a 1:1 relationship here. A particular value of X, gives particular values of Y1 and Y2. The Y values can be thought of as a single point located in a 2d space. $Y=\left[ y_1,y_2 \right]$

Procedure:

  1. enter the data into excel (excuse any typos)
  2. compute the mean, slope, and intercept using normal methods
  3. compute error between mean and actual for each row
  4. compute error between linear fit and actual for each row
  5. compute sum of squares for the mean-error column
  6. compute sum of squares for the line-error column
  7. compute the ratio of the sums in steps 5 and 6
  8. subtract that value from 1, and compare to the provided R^2

Results from approach is shown here:

enter image description here

Compute of ratio for RSS shown here:

enter image description here

Graph of data shown here (yes, y1 label is poorly placed): enter image description here

If you have a column of error, and a mean value of the target, then you can compute a Pearson R^2 statistic.

STILL WORKING....

Some relevant references:

This is a first attempt at an answer.

Source
I used your data for X, Y1, and Y2.

X   Y1  Y2
1   2   1
2   6   7
3   8   9
4   6   5
5   10  12
6   23  18

There is a 1:1 relationship here. A particular value of X, gives particular values of Y1 and Y2. The Y values can be thought of as a single point located in a 2d space. $Y=\left[ y_1,y_2 \right]$

Procedure:

  1. enter the data into excel (excuse any typos)
  2. compute the mean, slope, and intercept using normal methods
  3. compute error between mean and actual for each row
  4. compute error between linear fit and actual for each row
  5. compute sum of squares for the mean-error column
  6. compute sum of squares for the line-error column
  7. compute the ratio of the sums in steps 5 and 6
  8. subtract that value from 1, and compare to the provided R^2

Results from approach is shown here:

enter image description here

Compute of ratio for RSS shown here:

enter image description here

Graph of data shown here (yes, y1 label is poorly placed): enter image description here

If you have a column of error, and a mean value of the target, then you can compute a Pearson R^2 statistic.

STILL WORKING....

Some relevant references:

This is a first attempt at an answer.

Source
I used your data for X, Y1, and Y2.

X   Y1  Y2
1   2   1
2   6   7
3   8   9
4   6   5
5   10  12
6   23  18

There is a 1:1 relationship here. A particular value of X, gives particular values of Y1 and Y2. The Y values can be thought of as a single point located in a 2d space. $Y=\left[ y_1,y_2 \right]$

Procedure:

  1. enter the data into excel (excuse any typos)
  2. compute the mean, slope, and intercept using normal methods
  3. compute error between mean and actual for each row
  4. compute error between linear fit and actual for each row
  5. compute sum of squares for the mean-error column
  6. compute sum of squares for the line-error column
  7. compute the ratio of the sums in steps 5 and 6
  8. subtract that value from 1, and compare to the provided R^2

Results from approach is shown here:

enter image description here

Compute of ratio for RSS shown here:

enter image description here

Graph of data shown here (yes, y1 label is poorly placed): enter image description here

If you have a column of error, and a mean value of the target, then you can compute a Pearson R^2 statistic.

Some relevant references:

made it a multivariate case
Source Link
EngrStudent
  • 9.9k
  • 2
  • 37
  • 93

This is a first attempt at an answer.

Source
I used your data for X and, Y1, and Y2.

X   Y1  Y2
1   2   1
2   6   7
3   8   9
4   6   5
5   10  12
6   23  18

There is a 1:1 relationship here. A particular value of X, gives particular values of Y1 and Y2. The Y values can be thought of as a single point located in a 2d space. $Y=\left[ y_1,y_2 \right]$

Procedure:

  1. enter the data into excel (excuse any typos)
  2. compute the mean, slope, and intercept using normal methods
  3. compute error between mean and actual for each row
  4. compute error between linear fit and actual for each row
  5. compute sum of squares for the mean-error column
  6. compute sum of squares for the line-error column
  7. compute the ratio of the sums in steps 5 and 6
  8. subtract that value from 1, and compare to the provided R^2

Results from approach is shown here:

enter image description hereenter image description here

Compute of ratio for RSS shown here:

enter image description hereenter image description here

Graph of data shown here, with trendline and annotations: enter image description here

Raw formula in Excel shown here: enter image description here

Bottom line: same R^2 as Excel (maybe not saying muchyes, y1 label is poorly placed): enter image description here

If you have a column of error, and a mean value of the target, then you can compute a Pearson R^2 statistic.

EDIT/UPDATE:

There is only one point for each input, though it is in a 2d spaceSTILL WORKING. This means that there should be only one error metric - because error is distance between fit and actual...

Working....Some relevant references:

This is a first attempt at an answer.

Source
I used your data for X and Y1.

X   Y1  
1   2   
2   6   
3   8   
4   6   
5   10  
6   23  

Procedure:

  1. enter the data into excel (excuse any typos)
  2. compute the mean, slope, and intercept using normal methods
  3. compute error between mean and actual for each row
  4. compute error between linear fit and actual for each row
  5. compute sum of squares for the mean-error column
  6. compute sum of squares for the line-error column
  7. compute the ratio of the sums in steps 5 and 6
  8. subtract that value from 1, and compare to the provided R^2

Results from approach is shown here:

enter image description here

Compute of ratio for RSS shown here:

enter image description here

Graph of data shown here, with trendline and annotations: enter image description here

Raw formula in Excel shown here: enter image description here

Bottom line: same R^2 as Excel (maybe not saying much)

If you have a column of error, and a mean value of the target, then you can compute a Pearson R^2 statistic.

EDIT/UPDATE:

There is only one point for each input, though it is in a 2d space. This means that there should be only one error metric - because error is distance between fit and actual.

Working....

This is a first attempt at an answer.

Source
I used your data for X, Y1, and Y2.

X   Y1  Y2
1   2   1
2   6   7
3   8   9
4   6   5
5   10  12
6   23  18

There is a 1:1 relationship here. A particular value of X, gives particular values of Y1 and Y2. The Y values can be thought of as a single point located in a 2d space. $Y=\left[ y_1,y_2 \right]$

Procedure:

  1. enter the data into excel (excuse any typos)
  2. compute the mean, slope, and intercept using normal methods
  3. compute error between mean and actual for each row
  4. compute error between linear fit and actual for each row
  5. compute sum of squares for the mean-error column
  6. compute sum of squares for the line-error column
  7. compute the ratio of the sums in steps 5 and 6
  8. subtract that value from 1, and compare to the provided R^2

Results from approach is shown here:

enter image description here

Compute of ratio for RSS shown here:

enter image description here

Graph of data shown here (yes, y1 label is poorly placed): enter image description here

If you have a column of error, and a mean value of the target, then you can compute a Pearson R^2 statistic.

STILL WORKING....

Some relevant references:

added 214 characters in body
Source Link
EngrStudent
  • 9.9k
  • 2
  • 37
  • 93
Loading
Source Link
EngrStudent
  • 9.9k
  • 2
  • 37
  • 93
Loading