GIDForums  

Go Back   GIDForums > General Forums > Open Discussion Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 13-Oct-2003, 05:19
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough

Math Formula: FORECAST


I am looking for a simple math formula to 'forecast'.

Let's say I have 2 sets of 'related' numbers:
Code:
X | Y --------+------- 10 | 1500 21 | 1601 14 | 1333 18 | 1001

Given that I have this 'historical' data, is it possible for someone to show me a really simple formula to predict / forecast the value of Y if X = 16?
  #2  
Old 13-Oct-2003, 17:17
jrobbio's Avatar
jrobbio jrobbio is offline
Regular Member
 
Join Date: Jan 2003
Location: Loughborough, England
Posts: 840
jrobbio will become famous soon enough
This is pretty complicated algebra required. Are you testing us or don't you know?

Rob
  #3  
Old 14-Oct-2003, 10:24
Div's Avatar
Div Div is offline
Moderator
 
Join Date: May 2002
Posts: 996
Div has a spectacular aura aboutDiv has a spectacular aura about
Forecast usually means statistically. In which case your sample is probably too small.
__________________
Web Hosting Tips | Career Advice
  #4  
Old 15-Oct-2003, 03:26
Garth Farley Garth Farley is offline
Invalid Email Address
 
Join Date: May 2002
Location: Ireland
Posts: 638
Garth Farley is a jewel in the roughGarth Farley is a jewel in the roughGarth Farley is a jewel in the rough
Well, it's not that complicated. I did interpolation (what this kinda problem is called) last year in Uni, have just kinda forgot the details

How to program it might be tricky though, as it'll be dealing with polynomials of unknown degree with coefficients that'll vary in time. A more accurate/complex algorithm comes to mind, (it works nicely on paper on my lap) but it'd be a struggle to code. There is a simpler one, I'll look it up & post up tomorrow!

GF
  #5  
Old 16-Oct-2003, 08:58
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
Thank you for your replies...

Rob, I really don't know...

Div, for the sake of brevity I just put 5 lines in my example. The actual data I have is over 12 - 18 months worth...

Garth, I am looking forward to your suggestion...

 
 

Recent GIDBlogToyota - 2008 July Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginning C++ math prog Dariklar CPP / C++ Forum 6 10-Sep-2003 11:51

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 20:29.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.