Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Trendline equation and data do not match up

actu.125..Has anyone come across a time when their trendline and data do not
match up?

I have to use a 6th order poly fit on some data I've got. The curve fits
the actual data fine, but when I plot out points using the trendline equation
my data goes crazy.

I have this 6th order equation and x data ranging from 0 to 180 in
increments of 5. the last term of the equation is the y intercept (if x is 0
all other terms fall out) but the trendline eq and the actual data aren't
even close here. The trendline says my y intercept should be .0031, whereas
the actual data (that I created the trendline from) has the y int at .125.
My graph is somewhat sinusoidal... not really but you get the idea, but when
I enter the incremental x data from 0 to 180 into the equation the graph
blows up. The max actual data is around 3 on the y axis and 90 on the x, the
max trendline data is 60 at x = 45. The min actual data is at the y inercept
and is .125 when x = 0 the trendline eq says the min is 3.69 million at x =
180... what gives??!?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,104
Default Trendline equation and data do not match up

When you raise a number to the 6th power it becomes very large (if it is
greater an one) or very small (if less than 1). So when you multiply this by
one of the coefficients, you need to have a very accurate value for that
coefficients. Just copying from the equation on the chart is not good
enough.

So the answer is to use LINEST : see
http://people.stfx.ca/bliengme/ExcelTips/Polynomial.htm

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"ASI Lars" <ASI wrote in message
...
actu.125..Has anyone come across a time when their trendline and data do
not
match up?

I have to use a 6th order poly fit on some data I've got. The curve fits
the actual data fine, but when I plot out points using the trendline
equation
my data goes crazy.

I have this 6th order equation and x data ranging from 0 to 180 in
increments of 5. the last term of the equation is the y intercept (if x
is 0
all other terms fall out) but the trendline eq and the actual data aren't
even close here. The trendline says my y intercept should be .0031,
whereas
the actual data (that I created the trendline from) has the y int at .125.
My graph is somewhat sinusoidal... not really but you get the idea, but
when
I enter the incremental x data from 0 to 180 into the equation the graph
blows up. The max actual data is around 3 on the y axis and 90 on the x,
the
max trendline data is 60 at x = 45. The min actual data is at the y
inercept
and is .125 when x = 0 the trendline eq says the min is 3.69 million at x
=
180... what gives??!?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Trendline equation and data do not match up

How do I get the actual equation to use in a cell to create the LINEST? All
I get is a text box with the equation on the graph. Is that all I need to
copy to a cell?

Also, this tip is listed on the microsoft page "Tip The trendline equation
is rounded to make it more readable. However, you can change the number of
digits for a selected trendline label in the Decimal places box on the Number
tab of the Format Trendline Label dialog box. (Format tab, Current Selection
group, Format Selection button)." I have no number tab to change the decimal
places... if I did would this solve my issue? And if it will, how do I get
this tab? Thanks!


"Bernard Liengme" wrote:

When you raise a number to the 6th power it becomes very large (if it is
greater an one) or very small (if less than 1). So when you multiply this by
one of the coefficients, you need to have a very accurate value for that
coefficients. Just copying from the equation on the chart is not good
enough.

So the answer is to use LINEST : see
http://people.stfx.ca/bliengme/ExcelTips/Polynomial.htm

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"ASI Lars" <ASI wrote in message
...
actu.125..Has anyone come across a time when their trendline and data do
not
match up?

I have to use a 6th order poly fit on some data I've got. The curve fits
the actual data fine, but when I plot out points using the trendline
equation
my data goes crazy.

I have this 6th order equation and x data ranging from 0 to 180 in
increments of 5. the last term of the equation is the y intercept (if x
is 0
all other terms fall out) but the trendline eq and the actual data aren't
even close here. The trendline says my y intercept should be .0031,
whereas
the actual data (that I created the trendline from) has the y int at .125.
My graph is somewhat sinusoidal... not really but you get the idea, but
when
I enter the incremental x data from 0 to 180 into the equation the graph
blows up. The max actual data is around 3 on the y axis and 90 on the x,
the
max trendline data is 60 at x = 45. The min actual data is at the y
inercept
and is .125 when x = 0 the trendline eq says the min is 3.69 million at x
=
180... what gives??!?




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,104
Default Trendline equation and data do not match up

For a sixth order LINEST, select 7 cells in a row
Let's assume the x-values are in A1:A10 and the y-values in B1:B10
Type =LINEST(B1:B10,A1:A10^{1,2,3,4,5,6}) and commit it with
CTRL+SHIFT+ENTER ( not just ENTER) as it is an array formula
The first cell holds the value for the y^6 term, the last one hold c (the
intercept)
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"ASI Lars" wrote in message
...
How do I get the actual equation to use in a cell to create the LINEST?
All
I get is a text box with the equation on the graph. Is that all I need to
copy to a cell?

Also, this tip is listed on the microsoft page "Tip The trendline
equation
is rounded to make it more readable. However, you can change the number of
digits for a selected trendline label in the Decimal places box on the
Number
tab of the Format Trendline Label dialog box. (Format tab, Current
Selection
group, Format Selection button)." I have no number tab to change the
decimal
places... if I did would this solve my issue? And if it will, how do I
get
this tab? Thanks!


"Bernard Liengme" wrote:

When you raise a number to the 6th power it becomes very large (if it is
greater an one) or very small (if less than 1). So when you multiply this
by
one of the coefficients, you need to have a very accurate value for that
coefficients. Just copying from the equation on the chart is not good
enough.

So the answer is to use LINEST : see
http://people.stfx.ca/bliengme/ExcelTips/Polynomial.htm

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"ASI Lars" <ASI wrote in message
...
actu.125..Has anyone come across a time when their trendline and data
do
not
match up?

I have to use a 6th order poly fit on some data I've got. The curve
fits
the actual data fine, but when I plot out points using the trendline
equation
my data goes crazy.

I have this 6th order equation and x data ranging from 0 to 180 in
increments of 5. the last term of the equation is the y intercept (if
x
is 0
all other terms fall out) but the trendline eq and the actual data
aren't
even close here. The trendline says my y intercept should be .0031,
whereas
the actual data (that I created the trendline from) has the y int at
.125.
My graph is somewhat sinusoidal... not really but you get the idea, but
when
I enter the incremental x data from 0 to 180 into the equation the
graph
blows up. The max actual data is around 3 on the y axis and 90 on the
x,
the
max trendline data is 60 at x = 45. The min actual data is at the y
inercept
and is .125 when x = 0 the trendline eq says the min is 3.69 million at
x
=
180... what gives??!?






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
trendline equation doesn't fit data tom r Excel Discussion (Misc queries) 7 August 4th 07 01:42 AM
Trendline equation calculation James Henton Charts and Charting in Excel 3 July 10th 07 10:38 PM
trendline equation terry Charts and Charting in Excel 6 December 19th 06 08:56 PM
Trendline Equation bastien86 Excel Worksheet Functions 5 July 8th 06 03:19 AM
Excel graphed trendline does not match derived equation Keith Charts and Charting in Excel 5 March 13th 06 08:15 PM


All times are GMT +1. The time now is 09:38 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"