Hello
I am trying to do some rolling wald tests. I have the following program which allows me to retrieve the rolling coefficients but I do not know how to run and retrieve the rolling wald tests/statistics. Can you help? Thanks
' set window size
!window = 100
' get size of workfile
!length = @obsrange
equation eq1
' declare matrix to store results
matrix(!length-!window+1,1) movcoef
' compute stats for each window
for !i = 1 to !length-!window+1
smpl @first+!i-1 @first+!i+!window-2
eq1.ls Y c X
movcoef(!i,1) = @coefs(1)
next
Rolling Wald Test
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13308
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Rolling Wald Test
Follow us on Twitter @IHSEViews
Who is online
Users browsing this forum: No registered users and 24 guests