hi all.
I desire to make Eviews implement automatically serial correlation and ADF tests for multiple windows of data. More specifically, I want to divide 22,000 return observations into non-overlapping windows of 100 observations and perform the autocorrelation and unit root test for each block. Moreover, I would prefer to have all results into a single matrix and not to copy the figures from 440 opened ones. Can this procedure be developed in Eviews? What are the involved steps?
thank for all.
have a nicce day
help me!!!!
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- EViews Developer
- Posts: 560
- Joined: Thu Apr 25, 2013 7:48 pm
Re: help me!!!!
Hello,
What you want is definitely possible. An EViews program to do this can loop through each window of 100 observations, setting the sample for each. For each window:
What you want is definitely possible. An EViews program to do this can loop through each window of 100 observations, setting the sample for each. For each window:
- Create and freeze the correlogram view (.correl) of your series (this creates a table).
- Extract the correlation information you want from the frozen table.
- Create and freeze the unit test view (.uroot) for your series.
- Extract the ADF information you want from the frozen table.
Code: Select all
vector(@obsrange / 100) AC
for !i = 1 to @obsrange step 100
smpl !i !i+99
freeze(tmp) x.correl
AC((!i + 99) / 100) = @val(tmp(7, 4))
delete tmp
next
Who is online
Users browsing this forum: No registered users and 26 guests