CF Steps
CF Steps
EViews
1. For creating lag:
Open file
Quick Generate series
Equation: lag1=close(-1), lag2=close(-2)
2. First difference:
3. Second difference:
4. Returns:
6. ACF(MA), PACF(AR):
Inference:
See partial correlation
If first 10 observations are within the lines, then it is non significant.
If not, it is significant, so we need to find close return and repeat
ACF.
7. ADF:
Inference:
Hypothesis:
H0: There is a unit root – non stationary.
H1: There is no unit root - stationary.
8. ARMA (manual):
Inference:
Model having the lowest AIC value is the best choice as it balances
goodness of fit and model complexity.
Eg: like ar(1) ma(4)
9. Auto ARIMA:
Fist to find: fd
Click fd Proc Automatic ARIMA Forecasting
Fist to find: fd
Click range
Give the start date as same in the file
Give the end date as needed in the question
Like, if the question is given as forecast for 5 days, give the end
date 5 days after the date in the question (look for Saturday and Sunday –
If it has add dates accordingly 6 or 7).
Find closeret
Click closeret
Quick Estimate equation
Give the ARMA equation of the best model.
Eg: If (2,3) is the best model selected from ARMA, then give the
equation as
Closeret c ar(1) ar(2) ma(1) ma(2) ma(3).
14. VAR:
Open file (spot fut)
Quick series statistics unit root test give spot_ret and etf_ret
See the prob value and estimate the significance based on the value p<
alpha or not
Again,
Click quick Estimate Var
In endogeneous variable give Spot_ret and etf_ret OK
In that tab Click view lag structure lag length criteria
See the AIC * value ( which is lowest ) (don’t close the tab)
In that tab click forecast and cancel
Write the 2 equation
15. VECM:
Checking Cointegration:
Quick group statistics johansens OK
See none value whether it is cointegrated or not (P< Alpha)
If the test is cointegrated proceed the following
Next…..
Open file ( Coint )
Select Nifty and nifty bees (both)
Right click the both open as group
In that tab Quick estimate var
In var type vector error correction
In endogeneous Nifty, Niftybees
Click proc make system order by variable Equation will come
Write those two eqations.
1. Identification:
(i) ACF, PACF (significance)
(ii) ADF (unit root – stationarity)
2. Estimation:
ARMA, ARIMA manual (best model – lowest AIC Value)
Auto ARIMA
3. Diagnostic Checking:
Residuals Correlation Q statistics (significance)
Correlation squared residuals (significance)
Histogram (Normality tests)
Heteroskedasticity Tests (significance)
4. Forecasting:
HYPOTHESIS:
1. ADF Test:
H0: There is a unit root – non stationary.
H1: There is no unit root - stationary.
See p value(prob.*) for none in both Rank test and eigen value
3. Heteroskedsticity:
Null hyp: There is no heteroskedasticity in the residuals.
Alt hyp: There is heteroskedasticity in the residuals