# bit of a maths quesiton

Discussion in 'C++' started by Andrew Bullock, Feb 5, 2005.

1. ### Andrew BullockGuest

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

Andrew Bullock

Andrew Bullock, Feb 5, 2005

2. ### Mike WahlerGuest

Re: [OT, redirect, welcome msg] bit of a maths quesiton

"Andrew Bullock" <> wrote in message
news:Yi9Nd.704\$...
> 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

not topical here. I'll wager the good folks over at the
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

Mike Wahler, Feb 5, 2005

3. ### Victor BazarovGuest

"Andrew Bullock" <> 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.programming.

> [...]

Victor Bazarov, Feb 5, 2005