Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

Trend Analysis - Subsequent Data Points

Hello everyone, I need to do trend analysis, such as: If the previous 7 data points are always decreasing then we flag 1 else we flag 0. I have the following code which works, but I am thinking ...