How do I multiply points in a series?

Asked by Marcus Holmgren on 2017-09-11

I have a data serie that is the quota of current balance of an account, divided be the last known value. For example: 1.01, 0.99, 1.01, 1.00, 1.00, 1,02 etc

I want to multiply all points in the serie to get a compounded graph, but I just cant figure out how to do that?

Question information

English Edit question
Graphite Edit question
No assignee Edit question
Solved by:
Marcus Holmgren
Last query:
Last reply:
Denis Zhdanov (deniszhdanov) said : #1

You need to multiply values to some constant? Just use scale() function -

Marcus Holmgren (muzzle75) said : #2

No, I need to multiply all points in the serie with each other

Denis Zhdanov (deniszhdanov) said : #3

Ah, OK. Unfortunately, it's quite a rare operation in time series analysis, so, IIRC no such function exist in Graphite.

Marcus Holmgren (muzzle75) said : #4

Thank you for your help! Actually I just managed to modify the Integral function in to multiply instead of summarize, so I think it should work now.

Denis Zhdanov (deniszhdanov) said : #5

Yes, that should work, indeed!