#1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Trendlines

I used a 6th degree polynomial trendline to smooth a curve on a chart. I
selected the option for printing the trendline formula on the chart so I
could use it in my calculations, but the numbers in the equation are rounded
so that I don't get the right results. Is there any way that I can output
the equation with more significant figures shown?
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Trendlines

1. Select the trendline equation, then use the Increase Decimal buttons on
the formatting toolbar to add decimal digits, or press Ctrl+1 (numeral one)
and click on the Number tab, and select a Scientific format with 15 places.

2. A 6th order poly fit is generally not well suited to fitting a curve
unless you are only looking to make the chart look pretty. As Martin Brown
stated in another thread just an hour ago:

You really need to fit a physical model to your data rather than the highest
order polynomial available.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"jlm@mca" wrote in message
...
I used a 6th degree polynomial trendline to smooth a curve on a chart. I
selected the option for printing the trendline formula on the chart so I
could use it in my calculations, but the numbers in the equation are
rounded
so that I don't get the right results. Is there any way that I can output
the equation with more significant figures shown?



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 3
Default Trendlines

I don't have the actual equation, only the label on the chart, which is just
text. How can I get the actual equation?

"Jon Peltier" wrote:

1. Select the trendline equation, then use the Increase Decimal buttons on
the formatting toolbar to add decimal digits, or press Ctrl+1 (numeral one)
and click on the Number tab, and select a Scientific format with 15 places.

2. A 6th order poly fit is generally not well suited to fitting a curve
unless you are only looking to make the chart look pretty. As Martin Brown
stated in another thread just an hour ago:

You really need to fit a physical model to your data rather than the highest
order polynomial available.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"jlm@mca" wrote in message
...
I used a 6th degree polynomial trendline to smooth a curve on a chart. I
selected the option for printing the trendline formula on the chart so I
could use it in my calculations, but the numbers in the equation are
rounded
so that I don't get the right results. Is there any way that I can output
the equation with more significant figures shown?




  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Trendlines

Bernard Liengme has a nice tutorial on the use of LINEST to compute a poly
fit in a worksheet:

http://people.stfx.ca/bliengme/ExcelTips/Polynomial.htm

Tushar Mehta has a more comprehensive treatment:

http://tushar-mehta.com/publish_trai...nalysis/16.htm

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______



"jlm@mca" wrote in message
...
I don't have the actual equation, only the label on the chart, which is
just
text. How can I get the actual equation?

"Jon Peltier" wrote:

1. Select the trendline equation, then use the Increase Decimal buttons
on
the formatting toolbar to add decimal digits, or press Ctrl+1 (numeral
one)
and click on the Number tab, and select a Scientific format with 15
places.

2. A 6th order poly fit is generally not well suited to fitting a curve
unless you are only looking to make the chart look pretty. As Martin
Brown
stated in another thread just an hour ago:

You really need to fit a physical model to your data rather than the
highest
order polynomial available.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"jlm@mca" wrote in message
...
I used a 6th degree polynomial trendline to smooth a curve on a chart.
I
selected the option for printing the trendline formula on the chart so
I
could use it in my calculations, but the numbers in the equation are
rounded
so that I don't get the right results. Is there any way that I can
output
the equation with more significant figures shown?






  #5   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 3
Default Trendlines

Sorry, had one other question. You mentioned needing to fit a physical model
to my data. What does this mean?

"Jon Peltier" wrote:

1. Select the trendline equation, then use the Increase Decimal buttons on
the formatting toolbar to add decimal digits, or press Ctrl+1 (numeral one)
and click on the Number tab, and select a Scientific format with 15 places.

2. A 6th order poly fit is generally not well suited to fitting a curve
unless you are only looking to make the chart look pretty. As Martin Brown
stated in another thread just an hour ago:

You really need to fit a physical model to your data rather than the highest
order polynomial available.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"jlm@mca" wrote in message
...
I used a 6th degree polynomial trendline to smooth a curve on a chart. I
selected the option for printing the trendline formula on the chart so I
could use it in my calculations, but the numbers in the equation are
rounded
so that I don't get the right results. Is there any way that I can output
the equation with more significant figures shown?






  #6   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Trendlines

What does your data display the behavior of?

If I were studying Hooke's Law, I would plot force on one axis and
displacement on the other, and use the slope as a measure of the rigidity of
the material. The physical model for Hooke's Law is d = k F, where d is
displacement, F is force, and K is stiffness. The physical model for Ohm's
law is V = i R (i.e., voltage = current * resistance).

Knowing a little about the hypothetical basis for the relationship helps me
to decide what kind of curve fit to apply to these models. These are simple
linear models; most physical systems are more complicated, based on
exponential, power law, up to about second order polynomial, and similar
fits. When the fit requires more than second order polynomial fit, the
fitted model is almost guaranteed to be a "looks nice" model, but not
anything that is predictive of the underlying behavior. "Looks nice" fits
are okay to show something in conceptual terms, or if you need to
interpolate within the observed range of data. When you are studying the
underlying relationships, or if you are trying to extrapolate beyond the
observed data (always dangerous, especially with a 6th order poly fit), the
model had better have some physical basis for being selected.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______



"jlm@mca" wrote in message
...
Sorry, had one other question. You mentioned needing to fit a physical
model
to my data. What does this mean?

"Jon Peltier" wrote:

1. Select the trendline equation, then use the Increase Decimal buttons
on
the formatting toolbar to add decimal digits, or press Ctrl+1 (numeral
one)
and click on the Number tab, and select a Scientific format with 15
places.

2. A 6th order poly fit is generally not well suited to fitting a curve
unless you are only looking to make the chart look pretty. As Martin
Brown
stated in another thread just an hour ago:

You really need to fit a physical model to your data rather than the
highest
order polynomial available.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"jlm@mca" wrote in message
...
I used a 6th degree polynomial trendline to smooth a curve on a chart.
I
selected the option for printing the trendline formula on the chart so
I
could use it in my calculations, but the numbers in the equation are
rounded
so that I don't get the right results. Is there any way that I can
output
the equation with more significant figures shown?






  #7   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 3
Default Trendlines

I'm plotting equipment production for a grading contractor. There are some
constraints to the data that give me an idea of the shape of the curve, but I
think there are too many variables (i.e. weather, material characteristics,
operator skill, etc.) to be able to define the formula on a physical basis.
I will look into it more though. Maybe I am ignoring these constraints too
much. Thanks for your help.

"Jon Peltier" wrote:

What does your data display the behavior of?

If I were studying Hooke's Law, I would plot force on one axis and
displacement on the other, and use the slope as a measure of the rigidity of
the material. The physical model for Hooke's Law is d = k F, where d is
displacement, F is force, and K is stiffness. The physical model for Ohm's
law is V = i R (i.e., voltage = current * resistance).

Knowing a little about the hypothetical basis for the relationship helps me
to decide what kind of curve fit to apply to these models. These are simple
linear models; most physical systems are more complicated, based on
exponential, power law, up to about second order polynomial, and similar
fits. When the fit requires more than second order polynomial fit, the
fitted model is almost guaranteed to be a "looks nice" model, but not
anything that is predictive of the underlying behavior. "Looks nice" fits
are okay to show something in conceptual terms, or if you need to
interpolate within the observed range of data. When you are studying the
underlying relationships, or if you are trying to extrapolate beyond the
observed data (always dangerous, especially with a 6th order poly fit), the
model had better have some physical basis for being selected.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______



"jlm@mca" wrote in message
...
Sorry, had one other question. You mentioned needing to fit a physical
model
to my data. What does this mean?

"Jon Peltier" wrote:

1. Select the trendline equation, then use the Increase Decimal buttons
on
the formatting toolbar to add decimal digits, or press Ctrl+1 (numeral
one)
and click on the Number tab, and select a Scientific format with 15
places.

2. A 6th order poly fit is generally not well suited to fitting a curve
unless you are only looking to make the chart look pretty. As Martin
Brown
stated in another thread just an hour ago:

You really need to fit a physical model to your data rather than the
highest
order polynomial available.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"jlm@mca" wrote in message
...
I used a 6th degree polynomial trendline to smooth a curve on a chart.
I
selected the option for printing the trendline formula on the chart so
I
could use it in my calculations, but the numbers in the equation are
rounded
so that I don't get the right results. Is there any way that I can
output
the equation with more significant figures shown?






  #8   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Trendlines

Maybe you just need the "looks nice" approach. It's hard to make predictions
with too many independent variables, especially when some of them are just
noise. You also might want to look at the data in terms of a set of binary
variables (operator A vs B, humid vs dry, material 1 vs material 2, etc) to
see which cause the largest difference in output.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"jlm@mca" wrote in message
...
I'm plotting equipment production for a grading contractor. There are
some
constraints to the data that give me an idea of the shape of the curve,
but I
think there are too many variables (i.e. weather, material
characteristics,
operator skill, etc.) to be able to define the formula on a physical
basis.
I will look into it more though. Maybe I am ignoring these constraints
too
much. Thanks for your help.

"Jon Peltier" wrote:

What does your data display the behavior of?

If I were studying Hooke's Law, I would plot force on one axis and
displacement on the other, and use the slope as a measure of the rigidity
of
the material. The physical model for Hooke's Law is d = k F, where d is
displacement, F is force, and K is stiffness. The physical model for
Ohm's
law is V = i R (i.e., voltage = current * resistance).

Knowing a little about the hypothetical basis for the relationship helps
me
to decide what kind of curve fit to apply to these models. These are
simple
linear models; most physical systems are more complicated, based on
exponential, power law, up to about second order polynomial, and similar
fits. When the fit requires more than second order polynomial fit, the
fitted model is almost guaranteed to be a "looks nice" model, but not
anything that is predictive of the underlying behavior. "Looks nice" fits
are okay to show something in conceptual terms, or if you need to
interpolate within the observed range of data. When you are studying the
underlying relationships, or if you are trying to extrapolate beyond the
observed data (always dangerous, especially with a 6th order poly fit),
the
model had better have some physical basis for being selected.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______



"jlm@mca" wrote in message
...
Sorry, had one other question. You mentioned needing to fit a physical
model
to my data. What does this mean?

"Jon Peltier" wrote:

1. Select the trendline equation, then use the Increase Decimal
buttons
on
the formatting toolbar to add decimal digits, or press Ctrl+1 (numeral
one)
and click on the Number tab, and select a Scientific format with 15
places.

2. A 6th order poly fit is generally not well suited to fitting a
curve
unless you are only looking to make the chart look pretty. As Martin
Brown
stated in another thread just an hour ago:

You really need to fit a physical model to your data rather than the
highest
order polynomial available.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"jlm@mca" wrote in message
...
I used a 6th degree polynomial trendline to smooth a curve on a
chart.
I
selected the option for printing the trendline formula on the chart
so
I
could use it in my calculations, but the numbers in the equation are
rounded
so that I don't get the right results. Is there any way that I can
output
the equation with more significant figures shown?








  #9   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 560
Default Trendlines

On Wed, 10 Oct 2007, in microsoft.public.excel.charting,
"jlm@mca" said:

"Jon Peltier" wrote:
You really need to fit a physical model to your data rather than
the highest order polynomial available.


"jlm@mca" wrote
Sorry, had one other question. You mentioned needing to fit a
physical model to my data. What does this mean?


"Jon Peltier" wrote:
What does your data display the behavior of?
Knowing a little about the hypothetical basis for the relationship helps me
to decide what kind of curve fit to apply to these models.


I'm plotting equipment production for a grading contractor. There are some
constraints to the data that give me an idea of the shape of the curve, but I
think there are too many variables (i.e. weather, material characteristics,
operator skill, etc.) to be able to define the formula on a physical basis.


Even if you only have a time series, there might be cyclic variables in
that which you can include in your model. For instance, is there a
monthly or annual cycle in equipment production? If so, you might be
able to use day of the month or day since the beginning of the year as a
variable. Mike Middleton's book _Data Analysis Using Excel_ has a
discussion of this in Chapter 20, and he has an example work sheet at:

http://www.mikemiddleton.com/LinearT...alForecast.xls

It's a bit more advanced than the simple trendlines facility though, I
must admit.

--
Del Cotter
NB Personal replies to this post will send email to ,
which goes to a spam folder-- please send your email to del3 instead.
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
Trendlines Josh Charts and Charting in Excel 10 March 20th 07 03:33 AM
cannot see trendlines [email protected] Charts and Charting in Excel 0 November 16th 06 05:52 PM
trendlines agmoore Charts and Charting in Excel 1 June 15th 06 09:55 PM
trendlines A.Gray Charts and Charting in Excel 1 April 5th 05 05:27 PM
Trendlines Chris Charts and Charting in Excel 3 February 15th 05 06:51 AM


All times are GMT +1. The time now is 01:13 PM.

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"