Just wondering.
I have used Ravel to have the CAPE data since 1880s up to now.
That is very impressive. But I think most users will want to smooth this kind of data, e.g. 1 year, 2 years, 5 years...
Ravel already supports the running sum operator ∑+. Specify the axis, and the window size for the running sum as operator arguments. Then divide the series by the constant window size. There's your smoothing operator. Or do you want to do something different?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Double click on it - there's an axis parameter and a numerical
parameter (argument) you can set. In this case, the argument is the
window size. Each operation has context sensitive help to describe
what it does.
Cheers
On Fri, Feb 03, 2023 at 09:20:19AM -0000, TomScat wrote:
Status: awaiting-user
Milestone: Pascal
Created: Sat Jan 28, 2023 08:34 PM UTC by TomScat
Last Updated: Thu Feb 02, 2023 05:34 AM UTC
Owner: nobody
Attachments:
Just wondering.
I have used Ravel to have the CAPE data since 1880s up to now.
That is very impressive. But I think most users will want to smooth this kind
of data, e.g. 1 year, 2 years, 5 years...
Actually, this discussion does suggest one minor-ish ticket: add a second
input to the running sum operator into which the operator can specify the
number of entries to be summed. Then the operation I've done here (for a
yearly moving sum smoothing operation) could be integrated: the 12 would be
an input both to the running sum operator and the division operator.
Ravel already supports the running sum operator ∑+. Specify the axis, and the window size for the running sum as operator arguments. Then divide the series by the constant window size. There's your smoothing operator. Or do you want to do something different?
No that is perfect.
How do I set the window size?
Double click on it - there's an axis parameter and a numerical
parameter (argument) you can set. In this case, the argument is the
window size. Each operation has context sensitive help to describe
what it does.
Cheers
On Fri, Feb 03, 2023 at 09:20:19AM -0000, TomScat wrote:
--
Dr Russell Standish Phone 0425 253119 (mobile)
Principal, High Performance Coders hpcoder@hpcoders.com.au
http://www.hpcoders.com.au
Related
Ravel:
#313Great.
I don't think I can close my own tickets here, but this one can be closed.
Thanks for your explanation and patience.
Actually, this discussion does suggest one minor-ish ticket: add a second
input to the running sum operator into which the operator can specify the
number of entries to be summed. Then the operation I've done here (for a
yearly moving sum smoothing operation) could be integrated: the 12 would be
an input both to the running sum operator and the division operator.
[image: image.png]