PrivateDebt_{1834-1970} is sorted backwards. This is why you need to use -1 to get the correct value for Credit. You could sort it forwards by feeding it through a Ravel, and selecting "sort forward". Of course if we had the x-vector aware difference operator (its already a feature request) then the x-vector ordering won't matter. But we need the current difference operations anyway. Just like index is now x-vector aware, but we also need the non-x-vector aware version as well.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Fair enough--but that raises the question of whether dates should be
automatically sorted in Date order.
Anyway, I was concerned that I might have found a boundary condition bug.
This is something for the backlog I think--ensuring that date data is
always in date order, regardless of how it was stored in the source CSV
file.
Status: wont-fix Milestone: Babbage Created: Wed Jul 10, 2024 07:42 AM UTC by Steve Keen Last Updated: Sun Jul 14, 2024 06:41 AM UTC Owner: High Performance Coder Attachments:
Data files
Changing the difference operator to -1 for years worked, while the operator for quarterly data is correct with the operator being +4.
PrivateDebt_{1834-1970} is sorted backwards. This is why you need to use -1 to get the correct value for Credit. You could sort it forwards by feeding it through a Ravel, and selecting "sort forward". Of course if we had the x-vector aware difference operator (its already a feature request) then the x-vector ordering won't matter. But we need the current difference operations anyway. Just like index is now x-vector aware, but we also need the non-x-vector aware version as well.
Fair enough--but that raises the question of whether dates should be
automatically sorted in Date order.
Anyway, I was concerned that I might have found a boundary condition bug.
This is something for the backlog I think--ensuring that date data is
always in date order, regardless of how it was stored in the source CSV
file.
Best, Steve
Professor Steve Keen
Want to rebuild economics? Support me on
Patreon: https://www.patreon.com/ProfSteveKeen
https://www.patreon.com/ProfSteveKeen
My latest book, The New Economics, is now available from Polity:
http://politybooks.com/bookdetail/?isbn=9781509545285
@ProfSteveKeen
Mobile +66 (0) 99-257-2692
Honorary Professor, UCL &ISRS Distinguished Research Fellow
www.profstevekeen.com
On Sun, Jul 14, 2024 at 7:42 AM High Performance Coder hpcoder@users.sourceforge.net wrote:
Related
Ravel:
#611