Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=LINEST(ydata,xdata^{1,2,3},const,TRUE) returns R^2 in the 3rd row, 1st
column. You can use the INDEX() function to return a value from a specific location of an array. If you want to calculate it from first principles, then R^2 = SSR/SSE While not the numerically best approach (which is not closed form), SSR = SUMSQ(predicteds)-n*AVERAGE(ydata)^2 SSE = SUMSQ(ydata)-SUMSQ(predicteds) If you are not fitting a constant term, then do not subtract the correction term n*AVERAGE(ydata)^2 Jerry "Xiaoyoy Yun" wrote: urgent to know the furmula of R-squared calculation for polynomial regression. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Polynomial Regression with Dates | Excel Discussion (Misc queries) | |||
Polynomial Regression with Dates | New Users to Excel | |||
Excel error in R-squared computation in exponential regression | Excel Discussion (Misc queries) | |||
how to get coefficients for Polynomial regression as for rgp() | Excel Worksheet Functions | |||
example of a polynomial regression analysis | Excel Programming |