I have a problem in implementaion of for loop.
I have data in two coloumn: (a) Number of hours (b) parameter variation
I want to see teh change of paramter for diffrent time windows and diffrent time shifts and then use the output in an equation For exmaple, at first stage i want to calcualte paramter for 1 hour time window with a shift of 1 hour. then two hour time window with a shift of 1 hour, so on and so far.
then i want to calculate change in 4 hour with a time shift of 2 hour or three hours or 4 hours and so on ...
here u is the sum of enetires in each time window, r is a fix value say 0.33 ... dt is the length of tim window (2 hours or 3 or 4) and std is also fixed value say 0.5
I have to calculate the value of b for different timw windows and diffrent time shifts. (a raw data attached)