Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: windowed operations #66

Open
sglyon opened this issue Jun 30, 2015 · 4 comments
Open

ENH: windowed operations #66

sglyon opened this issue Jun 30, 2015 · 4 comments

Comments

@sglyon
Copy link

sglyon commented Jun 30, 2015

@quinnj -- I'm doing it -- I'm opening this issue :)

I think we can figure out ˙how to do this properly and I opened up the issue to give us a platform for bouncing around ideas.

I'm hoping to dig into SQLite.jl and Tables.jl sooner rather than later, so hopefully I'll be able to contribute to the discussion before too long.

@Sean1708
Copy link
Contributor

Sean1708 commented Jul 3, 2015

Hi @spencerlyon2, sounds like you've already been chatting to @quinnj about this, but just to be clear do you mean something similar to Postgres' window functions?

@sglyon
Copy link
Author

sglyon commented Jul 6, 2015

Hi @Sean1708, yes @quinnj and I chatted a bit about this.

I honestly am not familiar with postgres' window functions, but from the quick look at the docs it seems like that would do the job for me.

The use case I showed @quinnj was to compute sigma(p_{t+h} - p_t | \omega^t, W) as given by the following:

screen shot 2015-07-06 at 1 03 52 pm

Here q, sigma_q, r and sigma_r are all time series and would be columns in a table. h would be a constant integer, like 8 or 12.

@Sean1708
Copy link
Contributor

Hmm, I'll see if I can whip up a simple implementation in the next week or two. Then at least we'll have a starting point and we can build on it from there.

@Sean1708
Copy link
Contributor

I apologise that this has been such a long time coming, other priorities got in the way slightly. I whipped up a very simple implementation last weekend in #70, could you have a look at that and see if this is the kind of thing you were looking for please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants