- I. Overview
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
- III. VECM Model
- IV. Group Work
- II. VAR Model
Modeling Long-run Relationship in Finance
1
in Finance 1 KULKUNYA PRAYARACH, PH.D. Modeling Long-Run - - PowerPoint PPT Presentation
Modeling Long-Run Relationships in Finance I. Overview II. VAR Model IV. Group Work III. VECM Model Modeling Long-run Relationship in Finance 1 KULKUNYA PRAYARACH, PH.D. Modeling Long-Run Relationships in Finance I. Overview II. VAR Model
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
1
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
VAR Model VECM Model
2
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
VECTOR ERROR CORRECTION MODEL (VECM): Concept Model
VAR VECM
3
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
BUILDING TEST FORECAST การพิจารณา ข้อมูล
การทดสอบความนิ่ง (Unit Root Test)
การทดสอบ Optimal Lag Length
การทดสอบ Granger Causality Test
การทดสอบ Impulse Response Function
การทดสอบ Variance Decomposition
แบบจ ำลอง VAR
การทดสอบ ปัญหาเศรษฐมิติ การทดสอบ Cointegration
แบบจ ำลอง ECM
4
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
VECTOR AUTOREGRESSIVE MODEL (VAR): What is VAR?
VAR is used for analyzing the interrelation of time series and the dynamics impacts of random disturbances (or innovations) on the system of variables …term vector is due to we are dealing with a vector of two (or more) variables VAR model captures the feedback effects allowing current and past values of the variables in the system 5
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
VECTOR AUTOREGRESSIVE MODEL (VAR): What is VAR?
The coefficients β12 β21 represent the contemporaneous effects of a unit change of xt
α12 is the effect of a unit change of xt-1 on yt α21 is the effect of a unit change of Yt-1 on xt 6
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
Standard VAR Model Structural VAR Model
7
and u are shock
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
STEP I: Test Stationary STEP II: Causality STEP III: Optimal Lag Length STEP IV: Impulse Response STEP V: Variance Decomposition
VAR MODEL: Step to run VAR
8
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
affect Xt
VAR MODEL: Granger Causality Test
GOLD WTI DUBAI USD DJ
X Y 9
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
VECM MODEL: Granger Causality Test
10
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
ปัจจัยที่เกิดความการล่าช้า
ใช้ได้หลายช่วงเวลา เป็นต้น
หรือการคาดการณ์ในอนาคตจะพึ่งประสบการณ์จากอดีตเป็นต้น
t m t m t t t
X X X Y
...
1 1
t m j j t j X
VAR MODEL : Optimal Lag Length
11
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
ยาวของ Lag Length ที่ยาวที่สุดเท่าที่จะเป็นไปได้ หลังจากทดสอบดูว่า ความยาวของ Lag ที่เลือกนั้นเหมาะสมหรือไม่โดยพิจารณาจาก Likelihood Ratio Test (LR)
Information Criterion (AIC) และ Schwartz Bayesian Criterion (SC หรือ SBC) โดยค่าสถิติที่ใช้ทดสอบคือ
VAR MODEL : Optimal Lag Length
12
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
Optimal Lag Length = min AIC or SBC ซึ่งค่า AIC หรือ SC จะน้อย เนื่องจาก
VAR MODEL : Optimal Lag Length
N T AIC 2 log
T N T SBC log log
โดยที่ คือ Number of Usable Observations คือ Total Number of Parameters Estimated in all Equations คือ Determinant of Variance/Covariance Matrices
T
N
13
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
เกณฑ์ดังกล่าวจะพิจารณาที่ค่า AIC หรือ SC น้อยที่สุด ซึ่งหมายถึงการ เพิ่มตัวแปรหรือ lags เข้าไปในแบบจ าลองจะไม่ท าให้ค่าเกณฑ์เหล่านี้ ลดลงแล้ว ในขณะที่เกณฑ์ทั้งสองดังกล่าวมีความแตกต่างกันให้เลือกใช้ SC ไว้ก่อนเพราะว่า SC มีคุณสมบัติว่า SC จะเลือกแบบจ าลองที่ถูกต้อง เกือบแน่นอน ส าหรับ AIC นั้น มีแนวโน้มที่จะเป็นลักษณะเชิงเส้น ก ากับในแบบจ าลองที่มีพารามิเตอร์มากเกินไป
VAR MODEL : Optimal Lag Length
14
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
VAR MODEL : Optimal Lag Length
15
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
ตอบสนอง (response) ของตัวแปรหนึ่ง เมื่อเกิดการเปลี่ยนแปลงในส่วน เบี่ยงเบนมาตรฐาน (Standard Deviation: S.D.) ของการ เปลี่ยนแปลงอย่างฉับพลัน (Shock) ของตัวแปรอีกตัวแปรหนึ่งในระบบ ใน ระยะสั้น ระยะกลาง และ ระยะยาว
VAR MODEL : Impulse Response
16
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
VAR MODEL : Impulse Response
17
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
Variance Decomposition analysis provides information about dynamic behavior of model and relative importance of each random disturbances or innovation in VAR. Variance Decomposition shows the proportion of movements in endogeneous variable sequence as a result of its own shocks against shocks to other variables
EXAMPLE: การวิเคราะห์ Variance Decomposition แสดงถึง ตัวแปรดัชนีราคาหุ้นตลาดหลักทรัพย์ แห่งประเทศไทย (SET) ในแต่ละช่วงเวลาได้รับอิทธิพลจากการเปลี่ยนแปลงอย่างฉับพลัน (Shock) ในระยะสั้น ระยะกลาง และ ระยะยาวได้ โดยสัดส่วนของตัวแปรทุกตัวที่ใช้ในการศึกษา เมื่อรวมกันจะได้ 100%
VAR MODEL : Variance Decomposition
18
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
ค่าความคลาดเคลื่อน (S.E.) increasing over time
but in declining rate As of 7 period >> S.E. is more stable RGEMRF explains itself = 97.3%. Is explained by MKTMRF (1.5%), SMB (1.05%) , HML (0.15%),
VAR MODEL : Variance Decomposition
19
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
VAR MODEL : Research in Finance
SA LNEXPG INTEREST f SET _ ,
20
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
Stationary Test
21
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
Independent
D(SET) D(INTEREST) LNEXPG_SA D(SET(-1)) 0.066356 0.000555 2.08E-05
(0.66471) (1.50986) (0.10218)
D(SET(-2))
0.000598 2.92E-05
(-0.38975) (1.55170) (0.13721)
D(SET(-3)) 0.212810 0.000894 0.000311
(2.04222)** (2.33032)** (1.46924)
D(INTEREST(-1))
0.338798
(-0.04617) (3.62546)** (-1.35636)
D(INTEREST(-2))
0.052556
(-1.65034)* (0.53634) (-0.21664)
D(INTEREST(-3)) 0.147061 0.254258 0.028431
(0.00580) (2.72447)** (0.55144)
LNEXPG_SA(-1)
0.746900
(-0.12491) (-1.71823)* (7.66365)**
LNEXPG_SA(-2) 8.209575 0.404823 0.048615
(0.13519) (1.81044)* (0.39354)
LNEXPG_SA(-3)
0.171037
(-0.21485) (-0.31717) (1.71598)*
C 116.0067
0.458192
(0.54240) (-0.76728) (1.05309) * มีระดับนัยส าคั สถิติร้อยละ 0.10 ** มีระดับนัยส าคั สถิติร้อยละ 0.05
VAR MODEL : Research in Finance
Monetary has negative impact Govt Exp has negative impact
VAR
22
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
23
WORK ORDERS : VAR
(1) Run VAR: STEP by STEP
Take care of seasonal effect and smooth data (by taking log)
(2) Analyze your results
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
Engel and Granger (1987) point out that a linear combination of two or more nonstationary series may be stationary The stationary combination may be interpreted as the cointegration, or equilibrium relationship between the variables VEC model is a restricted VAR model VEC specification restricts long run behavior of endogenous variables to converge to their long run equilibrium relationships and allow short run dynamics
VECTOR ERROR CORRECTION MODEL (VECM): Concept Model
24
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
VECM is a dynamical system with the characteristics that the deviation of the current state from its long-run relationship will be fed into its short-run dynamics. A rough long-run relationship can be determined by the cointegration vector, and then this relationship can be utilized to develop a refined dynamic model which can have a focus on long-run or transitory aspect such as the two VECM of a usual VAR in Johansen test Yt = a + b Xt-1 - bECt-1 + t
VECTOR ERROR CORRECTION MODEL (VECM): Concept Model
25
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
ECMs are category of multiple time series models that directly estimate the speed at which a dependent variable, Y, returns to equilibrium after a change in an independent variables, X ECMs are useful for estimating both short term and long term effects of one time series on another Yt = a + b Xt-1 - bECt-1 + t
VECTOR ERROR CORRECTION MODEL (VECM): Concept Model
Short term effects of X on Y Long Term effects of X on Y (long run multiplier) The Speed at which Y returns to equilibrium after deviation has occurred
26
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
STEP I: Test Stationary STEP II: Causality Test STEP III: Optimal Lag Length STEP IV: Cointegration Test
VECM MODEL: Step to run VECM
27
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
affect Xt
VAR MODEL: Granger Causality Test
GOLD WTI DUBAI USD DJ
X Y 28
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
VECM MODEL: Granger Causality Test
29
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
VECM MODEL: Cointegration Test
Johansen Test
None: H0: ไม่มี สมกำรที่เป็น Cointegration H1: มีอย่ำงน้อย 1 สมกำรที่มีลักษณะ Cointegration ผ่าน Cointegration อย่างน้อย None Significant
30
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
VECM
VECM MODEL: VECM Result
31
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
VECM MODEL: VECM Research I
SET = f (LNFRN, DJIA, FX, BOND)
32
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
Optimal Lag Length Granger Causality Test
33
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
Cointegration Johansen
34
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
Empirical Result
35
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
Variance Decomposition
36
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
VECM MODEL: VECM Research II
บทวิเครำะห์เรื่อง ถอดรหัสรำคำน ้ำมัน กับค่ำเงินดอลลำร์
โดย ดร. กุลกัลยา พระยาราช และ นางสาวภัทรภรณ์ หิรัญวงศ์
37
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
VECM MODEL: VECM Research II
38
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
Empirical Result
VECM MODEL: VECM Research II
39
KULKUNYA PRAYARACH, PH.D.
Modeling Long-Run Relationships in Finance
40
WORK ORDERS : VECM
(1) Run VECM: STEP by STEP
Take care of seasonal effect and smooth data (by taking log)
(2) Analyze your results