Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default Formula to predict future data

Hi,

I have a set of numbers, such as the ones below:

Date Hours worked
3 Dec -----18
10 Dec-----9
17 Dec ----24
24 Dec-----36
31 Dec-----7
7 Jan-------0
14 Jan-----19

My data goes back over the past 52 weeks and I need to predict what the data is likely to be over the coming 52 weeks. I have tried different formulas but they either don't work or give me figures that are gradually reducing.

Any help that anyone could offer would be really appreciated!

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 829
Default Formula to predict future data

"Loztrailia" wrote:
I have a set of numbers, such as the ones below:
Date Hours worked
3 Dec -----18
10 Dec-----9
17 Dec ----24
24 Dec-----36
31 Dec-----7
7 Jan-------0
14 Jan-----19
My data goes back over the past 52 weeks and I need to
predict what the data is likely to be over the coming 52 weeks.


Predicting the future based on the past is tricky business. At the very
least, it is not reliable. That said, we all do try.

It would be helpful if you posted all 52 weeks of past data.

Based on the 7 weeks above, your data is essentially random, which makes it
more difficult to predict.

Absent any clear trends, I would assume that the next 52 weeks are similar
to the first 52 weeks, week by week. That would account for seasonal
variation, if any.

Beyond that, I would start by using an XY Scatter chart to plot your data.
Then you might see how the various Excel trendlines fit the data (or not).
Be sure to select the options to display the trendline formula and R-squared
(R2) statistic.

Many people mistaken by using the TREND or FORECAST functions. They assume
a linear trendline. If you select the linear trendline in the chart, it is
indeed declining. But the R2 is near zero. That indicates a poor fit,
which is we can confirm visually.

Ideally, we are looking for a trendline with an R2 close to 1 -- very close.

But resist the temptation to choose a polynomial trendline with a high
order. With only 7 data points, there is a polynomial of order 6 that fits
the data exactly (R2 = 1). And sometimes, that is appropriate for
__interpolating__ data points. But if you __extrapolate__ forward by 52
(another trendline option), you will see that the polynomial formula is very
poor at predicting the future (hopefully ;-).

On the other hand, the order-6 polynomial -- or simply connecting the data
points with a smooth curve -- does reveal what appears to be a sinusoidal
trend. Someone has posted a pointer to a webpage of his that explains how
to plot a sinusoidal trendline. I will look for it.

Alternatively, the historical 52-week data might show that the weekly change
in hours or the hours themselves follows a "normal" distribution. In that
case, a Monte Carlo simulation might be appropriate for estimating future
52-week behavior.

But you might dispense with the full simulation and simply set up the model
to generate one or a few sample predictions. For example, if your data are
in A2:A8, set up the following:

D2: =AVERAGE(A2:A8)
D3: =STDEV(A2:A8)

C2:C53: =ROUND(MIN(40,MAX(0,NORMINV(RAND(),$D$2,$D$3))),0)

For some fun, add a series to chart C2:C53. Then press F9 (recalculate)
repeatedly until the first 7 data points "closely follow" the trend of the 7
historical data points.

Obviously, this is an overview and highly speculative. There is no basis
for assuming that number of hours follows a "normal" distribution or any
particular distribution at this point.

As I noted above, we need to see all of this historical data in order to
give you proper guidance.

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
Basic Future Value Formula & Interest Rate Formula Peter Excel Discussion (Misc queries) 2 November 12th 06 04:23 AM
Future Value formula heater Excel Discussion (Misc queries) 2 May 18th 06 12:11 AM
Formula to predict a future date Bill Eagle eye Excel Worksheet Functions 1 November 3rd 05 02:32 AM
Future date formula David Excel Discussion (Misc queries) 16 October 6th 05 01:46 AM
formula for age at future date MEJ Excel Discussion (Misc queries) 3 March 30th 05 12:30 AM


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