Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Why do I get different values for the same arrays when I
run CORREL and ad r-squared value to a scatter plot? |
#2
![]() |
|||
|
|||
![]()
Shell -
Why do I get different values for the same arrays when I run CORREL and ad r-squared value to a scatter plot? < First, CORREL is R, and R-squared from Add Trendline (or from worksheet function RSQ) is R*R. Second, as I recall, depending on the version of Excel, there may or may not be an adjustment for the number of observations (degrees of freedom), but maybe that was only for COVAR. Third, adjusted R square, from the Regression tool of the Analysis ToolPak, also adjusts for the number of explanatory X variables. - Mike www.mikemiddleton.com |
#3
![]() |
|||
|
|||
![]()
Michael R Middleton wrote:
.... Second, as I recall, depending on the version of Excel, there may or may not be an adjustment for the number of observations (degrees of freedom), but maybe that was only for COVAR. .... I do not recall that. As best I recall, CORREL has used a numerically stable 2-pass algorithm in all versions, where RSQ and PEARSON only switched to that in 2003. Prior to 2003, the R-squared value from LINEST was wrong if no intercept was fit. Jerry |
#4
![]() |
|||
|
|||
![]()
Jerry -
Yes, CORREL has not changed. After further recollection and investigation, I realize that my faulty recall was related only to differences in COVAR and the Analysis ToolPak's Covariance tool. - Mike "Jerry W. Lewis" wrote in message ... Michael R Middleton wrote: ... Second, as I recall, depending on the version of Excel, there may or may not be an adjustment for the number of observations (degrees of freedom), but maybe that was only for COVAR. ... I do not recall that. As best I recall, CORREL has used a numerically stable 2-pass algorithm in all versions, where RSQ and PEARSON only switched to that in 2003. Prior to 2003, the R-squared value from LINEST was wrong if no intercept was fit. Jerry |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Is there a way to do a vlookup to look up two columns versus one? | Excel Worksheet Functions | |||
Paste link versus allowing two cells equal each other? | Excel Discussion (Misc queries) | |||
Excel drop-down values versus labels | New Users to Excel | |||
How do I use the symbol for metres squared ie m2? | Excel Discussion (Misc queries) | |||
How to plot B2:B11 versus A2:A11 | Excel Worksheet Functions |