question on date calcaulation
Posted: Sat May 11, 2024 9:24 pm
Dear Tom:
Congratulations on releasing the updated version of WinRats.
I plan to estimate the calendar effect in month series, so I deal with the variable of date. For example, numbers of days in different month for mobile holiday. Especially, the spring festive in China is mobile between January and February. In fact, I have implemented coding in Python. Then, Winrats frequently read the xlsx file containing dummy variable series generated by python. If paraments of mobile holiday changes the xlsx file changes. In other word, I want to construct the spring festive function alike %EASTER(Y). This goal, if achieved, I can flexible estimate all in WinRats. I can configure the different the paraments of mobile holiday, then can compare and select optimal paraments in Loop procedure.
Since Winrates does not have an explicit date variable, calendar (7) is used to define the starting point of the day's count. How to define date variables and calculate the difference between two date variables. I do not know date calculating in detail in Winrats. If possible, could you supply inner detail of %EASTER(Y).
Best regard
Hardmann
Congratulations on releasing the updated version of WinRats.
I plan to estimate the calendar effect in month series, so I deal with the variable of date. For example, numbers of days in different month for mobile holiday. Especially, the spring festive in China is mobile between January and February. In fact, I have implemented coding in Python. Then, Winrats frequently read the xlsx file containing dummy variable series generated by python. If paraments of mobile holiday changes the xlsx file changes. In other word, I want to construct the spring festive function alike %EASTER(Y). This goal, if achieved, I can flexible estimate all in WinRats. I can configure the different the paraments of mobile holiday, then can compare and select optimal paraments in Loop procedure.
Since Winrates does not have an explicit date variable, calendar (7) is used to define the starting point of the day's count. How to define date variables and calculate the difference between two date variables. I do not know date calculating in detail in Winrats. If possible, could you supply inner detail of %EASTER(Y).
Best regard
Hardmann