Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
OBR OBR is offline
external usenet poster
 
Posts: 2
Default Polynomial Regression with Dates

I had Excel develop a 6th order polynomial regression with Dates (M/D/Y) as
the independent variable (x) and Hydraulic Flow as the dependant variable
(y). Unfortunately, when I try to use the equation to generate Hydraulic Flow
values the equation outputs extremely large numbers that make no sense.
I imagine that the problem has to do with the Date format. Does any one have
a solution for this issue?
Regards,
OBR

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 258
Default Polynomial Regression with Dates

I wonder whether the problem is your use of the date -- not the format.
Excel stores dates as an integer, starting with 1/1/1900. So April 14, 2008
is stored as 39552. (The modulus to the right of the decimal point is
essentially the % of the day elapsed...)

Perhaps if you set your first day as a 'day 0', with subsequent days
numbered accordingly?

HTH

"OBR" wrote:

I had Excel develop a 6th order polynomial regression with Dates (M/D/Y) as
the independent variable (x) and Hydraulic Flow as the dependant variable
(y). Unfortunately, when I try to use the equation to generate Hydraulic Flow
values the equation outputs extremely large numbers that make no sense.
I imagine that the problem has to do with the Date format. Does any one have
a solution for this issue?
Regards,
OBR

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 837
Default Polynomial Regression with Dates

That would certainly make for an easier numerical problem.

Fitting a 6th order polynomial is usually a very difficult numerical
problem. When you couple that with x's of the magnitude of current dates, it
is not possible to get a condition number smaller than 10^50 for X'X, which
means that it is not possible for LINEST prior to Excel 2003 to do it, and I
have serious doubts about the Excel 2007 "improvements" to the formerly
excellent chart trendline.

Centering the dates on zero would help, but the numerical problem could
still be unmanageable if the dates do not cover a long enough time span.

If the equation is coming from the chart trendline, have you reformatted the
equation to display coefficients in scientific notation with 14 decimal
places?

Jerry

"pdberger" wrote:

I wonder whether the problem is your use of the date -- not the format.
Excel stores dates as an integer, starting with 1/1/1900. So April 14, 2008
is stored as 39552. (The modulus to the right of the decimal point is
essentially the % of the day elapsed...)

Perhaps if you set your first day as a 'day 0', with subsequent days
numbered accordingly?

HTH

"OBR" wrote:

I had Excel develop a 6th order polynomial regression with Dates (M/D/Y) as
the independent variable (x) and Hydraulic Flow as the dependant variable
(y). Unfortunately, when I try to use the equation to generate Hydraulic Flow
values the equation outputs extremely large numbers that make no sense.
I imagine that the problem has to do with the Date format. Does any one have
a solution for this issue?
Regards,
OBR

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
The multiple regression tool - linear or non-linear regression? Statistical interest Excel Discussion (Misc queries) 2 February 6th 08 11:01 PM
how to generate a polynomial regression graph with 90% CI? Ruben Charts and Charting in Excel 1 March 19th 07 02:28 PM
polynomial equation PAUL GRAZIDE Excel Worksheet Functions 6 March 5th 06 02:31 PM
how to get coefficients for Polynomial regression as for rgp() AZ Excel Worksheet Functions 1 January 26th 06 12:27 PM
Polynomial regression - how does Excel do it? (under "Trendline") JH Charts and Charting in Excel 2 January 5th 06 05:07 PM


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