Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Need furmula of R-squared by polynomial regression

urgent to know the furmula of R-squared calculation for polynomial regression.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,393
Default Need furmula of R-squared by polynomial regression

A Google with search term: polynomial regression "r squared" ; gave 37,000
hits
This one look useful for your purpose
http://www.stat.wisc.edu/courses/st333-larget/poly.pdf
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Xiaoyoy Yun" <Xiaoyoy wrote in message
...
urgent to know the furmula of R-squared calculation for polynomial
regression.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 837
Default Need furmula of R-squared by polynomial regression

=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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Polynomial Regression with Dates OBR Excel Discussion (Misc queries) 3 May 6th 08 04:54 AM
Polynomial Regression with Dates OBR New Users to Excel 2 April 15th 08 09:38 PM
Excel error in R-squared computation in exponential regression Bjoern Excel Discussion (Misc queries) 7 October 28th 07 02:17 AM
how to get coefficients for Polynomial regression as for rgp() AZ Excel Worksheet Functions 1 January 26th 06 12:27 PM
example of a polynomial regression analysis Houston banker[_2_] Excel Programming 0 July 28th 05 05:31 PM


All times are GMT +1. The time now is 06:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"