Skip to main content

Featured

How to setup the custom domain for your blogger

  This video perhaps give the main picture on how to setup them. Anyway, as I promised, I will share how to do it also in format Blog. Background The background basically I don't see any purpose on having SAAS with digital ocean, even though it's been good journey together with them. I developed the previous hosting is in Django, a backend technology that using Python. So to make sure everything should be sustainable, I develop and build the new blog in blogger.  First thing to do SETUP everything in your domain provider.  1. Go to your hosting site. In this case I will go to rumahweb.id  2. Go to your setting of your domain 3. Go to DNS management 4. To get the info of your DNS, go to your blogger, and click setting  4. Go to custom domain and change with your custom domain, but also provide the pre-fix www 5. Also to make sure, that everyone that visit your old address will be redirected, put also this IP address of Google 6. Add this IP address to your DNS in...

VAR vs SVAR what is the difference

 What is the difference between SVAR and VAR

    

(3 Comments)

by DM

Learn things especially in coding need a practice. Lets put it into work then. Today we are going to enthusiatly dig deeper between what is VAR and what is structural VAR. 

Quote

PhD is when you are trying to explain something and get so enthusiatly love about it.

The difference between VAR and SVAR 

Check my latest publication in SVAR from Eurasian Economic Review

 

VAR or vector autoregression 

Var or vector autoregression or unstructured vector autoregression is a way of learning the relationship between one variable without structural limitations such as time. However, the problem with VAR is that sometimes there is no particular rule on seeing both data related to each other. For example, in monetary policy, let's say we want to control the inflation of the price; as we expect inflation to rise, the monetary authority will increase its instrument and the interest rate and expect the commodity price to go down. It turns out that the price is not going down; instead, it is rising. Then, without any rule in conclusion, opening the tide of economic mystery, we will conclude that raising the interest rate will also increase inflation or commodity prices. 

Learn in the video below. 

SVAR or Structural vector autoregression

Meanwhile, structural vector autoregression is similar to vector autoregression but with many more constraints, for example, time. One of the differences is in the sample. For example, the government attempted to reduce inflation by increasing the interest rate. In the unstructured vector autoregression, when increasing the interest rate rises inflation, we just read it as it is, which will create an erroneous conclusion. Meanwhile, in structure vector autoregression, we have a time duration that can help explain when the price increases, in which period the inflation goes down or starts to take effect, and whether it's significant. 

Some explanations in the video format

Here, I found a couple of great videos about SVAR 

1. Why SVAR

Svar is a fascinating development in macroeconomics from Christopher Sims. From this video, for example, when the bank anticipates inflation while buying releases more money, the inflation still rises. The wrong conclusion is that the interest rate hike led to inflation. But the monetary policy is an endogenous reaction to expected inflation.  The same issue occurred with fiscal policy; for example, we expect that there will be a reduction in private demand and, therefore, an increase in public spending, and the output will still decline. The wrong conclusion is that public spending will cause the work to fall. However, fiscal policy reacted endogenously with the reduction in production.  To measure the effect of policy, we need to identify or isolate purely exogenous independent movements and how the economy reacts to them. It is called impulse reaction.&nbsp Therefore, we need to identify the structural model that isolates the exogenous variable from the model. After the shock hits the economy, getting the structural model is called identification.  According to Sims (1986), Identification is the interpretation of historically observed variation in data in a way that allows the variation to be used to predict the consequences of an action not yet undertaken.  After the structure is identified, one can predict inflation and output growth. And we can expect the fiscal effect on GDP. 

2. The calculation behind SVAR

ok 

How to identify purely exogenous shock 

Let's say we have 

AXt=β0+βXt1+ut 

From the explanation above, the vector X relies on its lag itself and structural shocku

if we assume that X has 2 variables, which is GDP gap y and interest rate r: it become

Xt=[yr]

and make the system become

yt+a12rt=β10+β11yt1+β12rt1+uyta21yt+rt=β20+β21yt1+β22rt1+urt

Where it can be written in matrix form

[1a12a211][ytrt]=[β10β20][β11β12β21β22][yt1rt1]+[uyturt]

where 

A=[1a12a211]

What are identity matrices? Check this video also 

And also, what is inverse matrices

How to find inverse matrix

Test the matrix 

In Matrix A, the constants 1 and 1 show a contemporary relationship.

123abc

test the matrix 

[123abc]

\[ \begin{bmatrix} 1 & 2 & 3 \\ a & b & c \end{bmatrix} \]

3. 

Another interesting topic

what is a structural var
var and svar in market risk
library vars
svar model in r
var vs svar risk
svar model example
var in stata
vars package in r

Test cinematic front-face camera

thanks

Reference

Dąbrowski, M.A., Widiantoro, D.M. Effectiveness and conduct of macroprudential policy in Indonesia in 2003–2020: Evidence from the structural VAR models. Eurasian Econ Rev 13, 703–731 (2023). https://doi.org/10.1007/s40822-023-00244-w 

Comments

Popular Posts