473,785 Members | 2,425 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

bit of a maths quesiton

Hi guys i hope you can help me out with this one,

Im trying to construct a very simple method of time series predicition
(i think thats what its called, ill explain anyway incase im wrong).
I have an arbitrary window of time every minute in which i can perform
an operation. I want to perform this operation as close to the centre of
the window as possible (dont ask why, this is a very basic, alsmost
analogous description of the problem). I know the start time and length
of the past, say.. 20 time slots. How can i predict the middle of the
next window?

The windows arent randomly placed, but i cant say exactly how they are
placed :S
All i can say about them is that any one window will overlap the
previous window by some amount, usually more than less.

I've been looking at FFTs and regression but im a bit stuck as to how
get something simple implemented.

Any help anyone could give me would be greatly appreciated. Thanks a lot
in advance.
Andrew Bullock
Jul 23 '05 #1
2 1461

"Andrew Bullock" <tr********@SPA Myahoo.com> wrote in message
news:Yi******** *******@newsfe1-gui.ntli.net...
Hi guys i hope you can help me out with this one,

Im trying to construct a very simple method of time series predicition
(i think thats what its called, ill explain anyway incase im wrong).
I have an arbitrary window of time every minute in which i can perform
an operation. I want to perform this operation as close to the centre of
the window as possible (dont ask why, this is a very basic, alsmost
analogous description of the problem). I know the start time and length
of the past, say.. 20 time slots. How can i predict the middle of the
next window?

The windows arent randomly placed, but i cant say exactly how they are
placed :S
All i can say about them is that any one window will overlap the
previous window by some amount, usually more than less.

I've been looking at FFTs and regression but im a bit stuck as to how
get something simple implemented.

Any help anyone could give me would be greatly appreciated. Thanks a lot
in advance.


This isn't a question about C++, but about math, so it's
not topical here. I'll wager the good folks over at the
'sci.math' group could help you out. Once you've devised
your formula, if you need help expressing it in C++,
post back here, and we'll try to help.

Purpose of comp.lang.c++:
http://www.slack.net/~shiva/welcome.txt

-Mike

Jul 23 '05 #2
"Andrew Bullock" <tr********@SPA Myahoo.com> wrote...
Hi guys i hope you can help me out with this one, [..]
In case you realise that it's totally off-topic here, I recommend asking
in comp.programmin g.
[...]

Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2708
by: Jack Higgs | last post by:
Has anyone got any ideas how I could go about producing a maths program for Primary School pupils? The coding isn't such a problem (ie random numbers etc), it's acctually figuring out how to interface it or what objects to use where etc. I am having two or more random numbers up to say 20 displayed on the screen and I want the child to be able to fill in the answer (txt box obviosly). What can I use to display and use the sum in coding?...
12
1507
by: David Sobey | last post by:
i'm looking to do some maths, such as parsing equations into polymorphic trees, matrices, etc. I've done it in C, a mess, but now i want to port it to something less low level (read: less messy). C++ is good, but will i get much improvement, ie regarding the polymorphic trees (trees whoses node can be either a multiplication, subtraction, matrix etc)? Anyone have any suggestions, or some unbiased ideas regarding a good, modern, well...
5
419
by: Scott Gunn | last post by:
Hello All, In VB.Net 2003 why is this the result to a simple maths calculation? 3.53 - 3.52 = 0.00999999046325684 Its not just this one either try this: 1.001 - 0.001 = 0.999999999999989
20
15887
by: Daisy | last post by:
Something simple, I'm sure. My code: System.Windows.Forms.MessageBox.Show(((Int32)Math.Ceiling(1966 / 100)).ToString()); I'm expecting 20, but getting 19. What am I doing wrong? Thanks --
9
2113
by: uttre | last post by:
hai to all, i did some programming in Lisp (6 months) & next i want to learn C++. i searched all the archives of "comp.lang.c++" & ACCU too & decided "C++ Primer" 3/e as my text book. (unfortunatley i tried but Accelerated C++ is not available in India, not even "C++ Primer 4/e). anyway, my question: I want to start doing math only for learning the following skills:
3
2979
by: hars2010 | last post by:
hey i got this assignment in maths.i really need help guys.the question is below.The program should: It first clears the screen and then displays the next 3 lines. a1x + b1y + c1y =d1 a2x + b2y + c2y =d2 a3x + b3y + c3y =d3 The user is then required to input the integer values for a, b, c, d and the required accuracy for which he wants the calculation. ( e.g. 3 decimal places etc.)
1
1428
by: jwatson | last post by:
Write a program to find the roots of quadratic equation. User will key the "a","b","c", for the equation ax*x+b*x+c = 0. formula given as x = (-b(+)(-) sqrt(b*b-4ac)/2a. Prog1: Only find the real roots or identify the complex roots. Prog2:Find the roots or the complex roots. Guys.. anyone willing to help on this. i am pretty weak at maths...Thanks.
1
3004
by: TwistedSpanner | last post by:
Hello all, For the record I am a complete java novice. I have to write a program to generate/output to screen 10 simple maths question and output a final score . The question is as follows Random number, Random operator (+ or -) random number. I have written the program but cannot make the random operator work. Can anyone help? My code.
5
1760
by: Ibys | last post by:
Hi, i am just starting to learn javascript, so i am probably doing something very simple wrong. i have read a lot of articles on maths in java, but cant find anything simple enough for my problem. I am looking for how to get an IF statement to give me the correct output. I am trying to get it to give me a result for a weeks pay, taking that the code worked before i tried to add the IF statement, to make it that if HoursWorked >= 20, the rate of...
0
9646
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9483
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10346
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9956
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8982
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6742
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5514
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4055
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.