Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Calculating R-squared value

I want to calculate the R-squared value on chart with an Excel formula. But the R-squared value has to be a 2nd order polynomial.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Calculating R-squared value

I think R-squared has already been defined. It is a single number.
Perhaps you could restate your question. Do you mean you want to calculate
the R-squared value for a second order polynomical fit to the data?

Look at the LINEST function.

--
Regards,
Tom Ogilvy

"Metin" wrote in message
...
I want to calculate the R-squared value on chart with an Excel formula.

But the R-squared value has to be a 2nd order polynomial.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Calculating R-squared value

Also, for a chart, you can add a trendline and in that dialog specify the
fit to be a polynomial of order 2 and have it display the R-squared value
(second tab in the dialog).

--
Regards,
Tom Ogilvy

"Metin" wrote in message
...
I want to calculate the R-squared value on chart with an Excel formula.

But the R-squared value has to be a 2nd order polynomial.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Calculating R-squared value

I'm afraid the function LINEST is not the function I'm looking for.

You are mistaken about LINEST. It can be used to fit a second degree
polynomial (or higher).

You can see how Bernard Liengme solves for the coefficients of a polynomial
curve using LINEST.

http://www.stfx.ca/people/bliengme/E...Polynomial.htm


--
Regards,
Tom Ogilvy


"Metin" wrote in message
...
Yes, I mean that I want to calculate the R-squared value for a second

order polynimical fit of the data.
I'm afraid the function LINEST is not the function I'm looking for. LINEST

calculates for a straigt line. The equation for the LINEST line is y = mx +
b. The equation of the line I'm looking for has to be y = m1x^2 + m2x + b.



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Calculating R-squared value

Thanks a lot Tom

It is solved the way of Bernard Liengme.


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 136
Default Calculating R-squared value

AWESOME! A very special thanks for that tip to Tom and especially to
Bernard.

Tom Ogilvy wrote:
I'm afraid the function LINEST is not the function I'm looking for.



You are mistaken about LINEST. It can be used to fit a second degree
polynomial (or higher).

You can see how Bernard Liengme solves for the coefficients of a polynomial
curve using LINEST.

http://www.stfx.ca/people/bliengme/E...Polynomial.htm


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
R squared David Excel Worksheet Functions 11 July 27th 07 01:02 AM
Nonlinear R-squared (R2) Biocellguy Excel Worksheet Functions 0 July 23rd 07 08:24 PM
R-squared from a trendline r505el Charts and Charting in Excel 4 August 17th 06 06:18 PM
linest r-squared bug when calculating forced through zero? Filtration Guy Excel Worksheet Functions 7 November 14th 05 01:46 AM
Negative r-squared? AFNovice Excel Worksheet Functions 2 July 28th 05 08:09 PM


All times are GMT +1. The time now is 04:15 AM.

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

About Us

"It's about Microsoft Excel"