R-squared Value on Chart vs Formula Results Different, why?

mcmuney

Board Regular
Joined
Sep 11, 2015
Messages
101
Office Version
  1. 365
I have these 2 columns of data sets:

column B

23
34.6
31.9
31.9
28.5
28.9
24
24.7
37.9
30.4

column C

22
35
35
29
26
28
24
22
38
30

Formula =CORREL(C16:C28,B16:B28) Result = 0.9540

R-squared value on chart R² = 0.9965

0.9540 vs 0.9965, why is there a difference and how can I sync them?

Thanks in advance.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
I get R squared should be 0.9101.

If you the correlation coefficient R = 0.9540 then R^2 = 0.9101.
When I chart your data it also gives 0.9101
The Excel function for R^2 is RSQ

Book2
ABCDEF
12322
234.6350.954016=R
331.9350.910146=R^2
431.9290.910146=R^2
528.526
628.928
72424
824.722
937.938
1030.430
Sheet1
Cell Formulas
RangeFormula
E2E2=CORREL(B1:B10,C1:C10)
E3E3=E2^2
E4E4=RSQ(C1:C10,B1:B10)


1718066300334.png
 
Upvote 0
I think you have checked the 'Set intercept' option on your trendline.

1718093029697.png
 
Upvote 0

Forum statistics

Threads
1,217,850
Messages
6,138,982
Members
450,171
Latest member
anborroms

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top