calculate some statistics/aggregations for each date using a certain amount of previous dates

puhomapuhoma Member Posts: 2 Contributor I
Hello. I have dataset with dates. I want to calculate some statistics/aggregations for each date using a certain amount of previous dates ( for example, to calculate for each day a sum of sales of 15 previous dates). What is the best way to do it. I know some clumsy ways, but think it could be better ones.

Answers

  • puhomapuhoma Member Posts: 2 Contributor I
    And I would like to use it not only with dates. Sometimes I need to calculate statistics using certain amount of previous raws  for each raw (that were sorted in a special way before).
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,503 RM Data Scientist
    Hi,
    i think Process Windows is the solution for it.
    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.