| 1 |
// --+ options: json=compute nopreprocessoroutput stochastic +-- |
| 2 |
|
| 3 |
/* REMARK |
| 4 |
** ------ |
| 5 |
** |
| 6 |
** You need to have the first line on top of the mod file. The options defined on this line are passed |
| 7 |
f** to the dynare command (you can add other options, separated by spaces or commas). The option defined |
| 8 |
** here is mandatory for the decomposition. It forces Dynare to output another representation of the |
| 9 |
** model in JSON file (additionaly to the matlab files) which is used here to manipulate the equations. |
| 10 |
*/ |
| 11 |
|
| 12 |
var |
| 13 |
U2_Q_YED |
| 14 |
U2_G_YER |
| 15 |
U2_STN |
| 16 |
U2_ESTN |
| 17 |
U2_EHIC |
| 18 |
DE_Q_YED |
| 19 |
DE_G_YER |
| 20 |
DE_EHIC |
| 21 |
|
| 22 |
; |
| 23 |
|
| 24 |
varexo |
| 25 |
res_U2_Q_YED |
| 26 |
res_U2_G_YER |
| 27 |
res_U2_STN |
| 28 |
res_U2_ESTN |
| 29 |
res_U2_EHIC |
| 30 |
res_DE_Q_YED |
| 31 |
res_DE_G_YER |
| 32 |
res_DE_EHIC |
| 33 |
; |
| 34 |
|
| 35 |
parameters |
| 36 |
u2_q_yed_ecm_u2_q_yed_L1 |
| 37 |
u2_q_yed_ecm_u2_stn_L1 |
| 38 |
u2_q_yed_u2_g_yer_L1 |
| 39 |
u2_q_yed_u2_stn_L1 |
| 40 |
u2_g_yer_ecm_u2_q_yed_L1 |
| 41 |
u2_g_yer_ecm_u2_stn_L1 |
| 42 |
u2_g_yer_u2_q_yed_L1 |
| 43 |
u2_g_yer_u2_g_yer_L1 |
| 44 |
u2_g_yer_u2_stn_L1 |
| 45 |
u2_stn_ecm_u2_q_yed_L1 |
| 46 |
u2_stn_ecm_u2_stn_L1 |
| 47 |
u2_stn_u2_q_yed_L1 |
| 48 |
u2_stn_u2_g_yer_L1 |
| 49 |
u2_estn_u2_estn_L1 |
| 50 |
u2_ehic_u2_ehic_L1 |
| 51 |
|
| 52 |
de_q_yed_ecm_de_q_yed_L1 |
| 53 |
de_q_yed_ecm_u2_stn_L1 |
| 54 |
de_q_yed_de_g_yer_L1 |
| 55 |
de_q_yed_u2_stn_L1 |
| 56 |
de_g_yer_ecm_de_q_yed_L1 |
| 57 |
de_g_yer_ecm_u2_stn_L1 |
| 58 |
de_g_yer_de_q_yed_L1 |
| 59 |
de_g_yer_de_g_yer_L1 |
| 60 |
de_ehic_de_ehic_L1 |
| 61 |
|
| 62 |
; |
| 63 |
|
| 64 |
u2_q_yed_ecm_u2_q_yed_L1 = -0.82237516589315 ; |
| 65 |
u2_q_yed_ecm_u2_stn_L1 = -0.323715338568976 ; |
| 66 |
u2_q_yed_u2_g_yer_L1 = 0.0401361895021084 ; |
| 67 |
u2_q_yed_u2_stn_L1 = 0.058397703958446 ; |
| 68 |
u2_g_yer_ecm_u2_q_yed_L1 = 0.0189896046977421 ; |
| 69 |
u2_g_yer_ecm_u2_stn_L1 = -0.109597659887432 ; |
| 70 |
u2_g_yer_u2_q_yed_L1 = 0.0037667967632025 ; |
| 71 |
u2_g_yer_u2_g_yer_L1 = 0.480506381923644 ; |
| 72 |
u2_g_yer_u2_stn_L1 = -0.0722359286123494 ; |
| 73 |
u2_stn_ecm_u2_q_yed_L1 = -0.0438500662608356 ; |
| 74 |
u2_stn_ecm_u2_stn_L1 = -0.153283917138772 ; |
| 75 |
u2_stn_u2_q_yed_L1 = 0.0328744983772825 ; |
| 76 |
u2_stn_u2_g_yer_L1 = 0.292121949736756 ; |
| 77 |
u2_estn_u2_estn_L1 = 1 ; |
| 78 |
u2_ehic_u2_ehic_L1 = 1 ; |
| 79 |
|
| 80 |
de_q_yed_ecm_de_q_yed_L1 = -0.822375165893149 ; |
| 81 |
de_q_yed_ecm_u2_stn_L1 = -0.323715338568977 ; |
| 82 |
de_q_yed_de_g_yer_L1 = 0.0401361895021082 ; |
| 83 |
de_q_yed_u2_stn_L1 = 0.0583977039584461 ; |
| 84 |
de_g_yer_ecm_de_q_yed_L1 = 0.0189896046977422 ; |
| 85 |
de_g_yer_ecm_u2_stn_L1 = -0.109597659887433 ; |
| 86 |
de_g_yer_de_q_yed_L1 = 0.00376679676320256; |
| 87 |
de_g_yer_de_g_yer_L1 = 0.480506381923643 ; |
| 88 |
de_ehic_de_ehic_L1 = 1 ; |
| 89 |
|
| 90 |
|
| 91 |
model(linear); |
| 92 |
[name = 'eq1'] |
| 93 |
diff(U2_Q_YED) = u2_q_yed_ecm_u2_q_yed_L1 * (U2_Q_YED(-1) - U2_EHIC(-1)) |
| 94 |
+ u2_q_yed_ecm_u2_stn_L1 * (U2_STN(-1) - U2_ESTN(-1)) |
| 95 |
+ u2_q_yed_u2_g_yer_L1 * diff(U2_G_YER(-1)) |
| 96 |
+ u2_q_yed_u2_stn_L1 * diff(U2_STN(-1)) |
| 97 |
+ res_U2_Q_YED ; |
| 98 |
[name = 'eq2'] |
| 99 |
diff(U2_G_YER) = u2_g_yer_ecm_u2_q_yed_L1 * (U2_Q_YED(-1) - U2_EHIC(-1)) |
| 100 |
+ u2_g_yer_ecm_u2_stn_L1 * (U2_STN(-1) - U2_ESTN(-1)) |
| 101 |
+ u2_g_yer_u2_q_yed_L1 * diff(U2_Q_YED(-1)) |
| 102 |
+ u2_g_yer_u2_g_yer_L1 * diff(U2_G_YER(-1)) |
| 103 |
+ u2_g_yer_u2_stn_L1 * diff(U2_STN(-1)) |
| 104 |
+ res_U2_G_YER ; |
| 105 |
[name = 'eq3'] |
| 106 |
diff(U2_STN) = u2_stn_ecm_u2_q_yed_L1 * (U2_Q_YED(-1) - U2_EHIC(-1)) |
| 107 |
+ u2_stn_ecm_u2_stn_L1 * (U2_STN(-1) - U2_ESTN(-1)) |
| 108 |
+ u2_stn_u2_q_yed_L1 * diff(U2_Q_YED(-1)) |
| 109 |
+ u2_stn_u2_g_yer_L1 * diff(U2_G_YER(-1)) |
| 110 |
+ res_U2_STN ; |
| 111 |
[name = 'eq4'] |
| 112 |
U2_ESTN = u2_estn_u2_estn_L1 * U2_ESTN(-1) |
| 113 |
+ res_U2_ESTN ; |
| 114 |
[name = 'eq5'] |
| 115 |
U2_EHIC = u2_ehic_u2_ehic_L1 * U2_EHIC(-1) |
| 116 |
+ res_U2_EHIC ; |
| 117 |
[name = 'eq6'] |
| 118 |
diff(DE_Q_YED) = de_q_yed_ecm_de_q_yed_L1 * (DE_Q_YED(-1) - DE_EHIC(-1)) |
| 119 |
+ de_q_yed_ecm_u2_stn_L1 * (U2_STN(-1) - U2_ESTN(-1)) |
| 120 |
+ de_q_yed_de_g_yer_L1 * diff(DE_G_YER(-1)) |
| 121 |
+ de_q_yed_u2_stn_L1 * diff(U2_STN(-1)) |
| 122 |
+ res_DE_Q_YED ; |
| 123 |
[name = 'eq7'] |
| 124 |
diff(DE_G_YER) = de_g_yer_ecm_de_q_yed_L1 * (DE_Q_YED(-1) - DE_EHIC(-1)) |
| 125 |
+ de_g_yer_ecm_u2_stn_L1 * (U2_STN(-1) - U2_ESTN(-1)) |
| 126 |
+ de_g_yer_de_q_yed_L1 * diff(DE_Q_YED(-1)) |
| 127 |
+ de_g_yer_de_g_yer_L1 * diff(DE_G_YER(-1)) |
| 128 |
+ (1-de_g_yer_de_q_yed_L1-de_g_yer_de_g_yer_L1)* diff(U2_STN(-1)) |
| 129 |
+ res_DE_G_YER ; |
| 130 |
[name = 'eq8'] |
| 131 |
DE_EHIC = de_ehic_de_ehic_L1 * DE_EHIC(-1) |
| 132 |
+ res_DE_EHIC ; |
| 133 |
|
| 134 |
// |
| 135 |
|
| 136 |
end; |
| 137 |
|
| 138 |
shocks; |
| 139 |
var res_U2_Q_YED = 0.005; |
| 140 |
var res_U2_G_YER = 0.005; |
| 141 |
var res_U2_STN = 0.005; |
| 142 |
var res_U2_ESTN = 0.005; |
| 143 |
var res_U2_EHIC = 0.005; |
| 144 |
var res_DE_Q_YED = 0.005; |
| 145 |
var res_DE_G_YER = 0.005; |
| 146 |
var res_DE_EHIC = 0.005; |
| 147 |
end; |
| 148 |
|
| 149 |
@#include "mc-ols.inc" |