Problem with little program for Data Manipulation
Posted: Wed Dec 28, 2011 5:07 am
Hello, i'm using EViews 7.2.
I need help with a little program.
series test=na
!q=1
' for !q = 1 to 5 'loop for all 5 weekdays (deactivated)
for !i = 9 to 18 'loop limits hours
smpl @all if weekdy=!q and @hour >= !i and @hour <!i+1
test = @mean(rt*rt)
next
' next
This program does exactly what i would need, but i need it in half-hour steps and not hourly.
Could someone help me please?
Program and Data Files are attached!
Greetings, Nova
I need help with a little program.
series test=na
!q=1
' for !q = 1 to 5 'loop for all 5 weekdays (deactivated)
for !i = 9 to 18 'loop limits hours
smpl @all if weekdy=!q and @hour >= !i and @hour <!i+1
test = @mean(rt*rt)
next
' next
This program does exactly what i would need, but i need it in half-hour steps and not hourly.
Could someone help me please?
Program and Data Files are attached!
Greetings, Nova