Debian Codegraph @

tests/estimation/pct/fs2000_data.m

raw
1 %This file is a direct Matlab implementation of the loaddata.g and data.prn files
2 %of Schorfheide, Frank (2000): Loss function-based evaluation of DSGE models
3 %(replication data). Version: 1. Journal of Applied Econometrics. Dataset.
4 %http://dx.doi.org/10.15456/jae.2022314.0708799949
5 % Copyright: 2000-2022 Frank Schorfheide
6 % Copyright: 2023-2025 Dynare Team
7
8 % License: CC BY 4.0
9 % (https://creativecommons.org/licenses/by/4.0/legalcode)
10
11 % Time series, extracted 05/04/00
12 % columms are quarterly data from 1949:IV to 1997:IV
13 % 1: GDPD = GROSS DOMESTIC PRODUCT:IMPLICIT PRICE DEFLATOR (INDEX,92=100)(T7.1)
14 % 2: GDPQ = GROSS DOMESTIC PRODUCT
15 % 3: GPOP = POPULATION, NIPA basis (THOUS.,NSA)
16
17 data_q=[18.02 1474.5 150.2
18 17.94 1538.2 150.9
19 18.01 1584.5 151.4
20 18.42 1644.1 152
21 18.73 1678.6 152.7
22 19.46 1693.1 153.3
23 19.55 1724 153.9
24 19.56 1758.2 154.7
25 19.79 1760.6 155.4
26 19.77 1779.2 156
27 19.82 1778.8 156.6
28 20.03 1790.9 157.3
29 20.12 1846 158
30 20.1 1882.6 158.6
31 20.14 1897.3 159.2
32 20.22 1887.4 160
33 20.27 1858.2 160.7
34 20.34 1849.9 161.4
35 20.39 1848.5 162
36 20.42 1868.9 162.8
37 20.47 1905.6 163.6
38 20.56 1959.6 164.3
39 20.62 1994.4 164.9
40 20.78 2020.1 165.7
41 21 2030.5 166.5
42 21.2 2023.6 167.2
43 21.33 2037.7 167.9
44 21.62 2033.4 168.7
45 21.71 2066.2 169.5
46 22.01 2077.5 170.2
47 22.15 2071.9 170.9
48 22.27 2094 171.7
49 22.29 2070.8 172.5
50 22.56 2012.6 173.1
51 22.64 2024.7 173.8
52 22.77 2072.3 174.5
53 22.88 2120.6 175.3
54 22.92 2165 176.045
55 22.91 2223.3 176.727
56 22.94 2221.4 177.481
57 23.03 2230.95 178.268
58 23.13 2279.22 179.694
59 23.22 2265.48 180.335
60 23.32 2268.29 181.094
61 23.4 2238.57 181.915
62 23.45 2251.68 182.634
63 23.51 2292.02 183.337
64 23.56 2332.61 184.103
65 23.63 2381.01 184.894
66 23.75 2422.59 185.553
67 23.81 2448.01 186.203
68 23.87 2471.86 186.926
69 23.94 2476.67 187.68
70 24 2508.7 188.299
71 24.07 2538.05 188.906
72 24.12 2586.26 189.631
73 24.29 2604.62 190.362
74 24.35 2666.69 190.954
75 24.41 2697.54 191.56
76 24.52 2729.63 192.256
77 24.64 2739.75 192.938
78 24.77 2808.88 193.467
79 24.88 2846.34 193.994
80 25.01 2898.79 194.647
81 25.17 2970.48 195.279
82 25.32 3042.35 195.763
83 25.53 3055.53 196.277
84 25.79 3076.51 196.877
85 26.02 3102.36 197.481
86 26.14 3127.15 197.967
87 26.31 3129.53 198.455
88 26.6 3154.19 199.012
89 26.9 3177.98 199.572
90 27.21 3236.18 199.995
91 27.49 3292.07 200.452
92 27.75 3316.11 200.997
93 28.12 3331.22 201.538
94 28.39 3381.86 201.955
95 28.73 3390.23 202.419
96 29.14 3409.65 202.986
97 29.51 3392.6 203.584
98 29.94 3386.49 204.086
99 30.36 3391.61 204.721
100 30.61 3422.95 205.419
101 31.02 3389.36 206.13
102 31.5 3481.4 206.763
103 31.93 3500.95 207.362
104 32.27 3523.8 208
105 32.54 3533.79 208.642
106 33.02 3604.73 209.142
107 33.2 3687.9 209.637
108 33.49 3726.18 210.181
109 33.95 3790.44 210.737
110 34.36 3892.22 211.192
111 34.94 3919.01 211.663
112 35.61 3907.08 212.191
113 36.29 3947.11 212.708
114 37.01 3908.15 213.144
115 37.79 3922.57 213.602
116 38.96 3879.98 214.147
117 40.13 3854.13 214.7
118 41.05 3800.93 215.135
119 41.66 3835.21 215.652
120 42.41 3907.02 216.289
121 43.19 3952.48 216.848
122 43.69 4044.59 217.314
123 44.15 4072.19 217.776
124 44.77 4088.49 218.338
125 45.57 4126.39 218.917
126 46.32 4176.28 219.427
127 47.07 4260.08 219.956
128 47.66 4329.46 220.573
129 48.63 4328.33 221.201
130 49.42 4345.51 221.719
131 50.41 4510.73 222.281
132 51.27 4552.14 222.933
133 52.35 4603.65 223.583
134 53.51 4605.65 224.152
135 54.65 4615.64 224.737
136 55.82 4644.93 225.418
137 56.92 4656.23 226.117
138 58.18 4678.96 226.754
139 59.55 4566.62 227.389
140 61.01 4562.25 228.07
141 62.59 4651.86 228.689
142 64.15 4739.16 229.155
143 65.37 4696.82 229.674
144 66.65 4753.02 230.301
145 67.87 4693.76 230.903
146 68.86 4615.89 231.395
147 69.72 4634.88 231.906
148 70.66 4612.08 232.498
149 71.44 4618.26 233.074
150 72.08 4662.97 233.546
151 72.83 4763.57 234.028
152 73.48 4849 234.603
153 74.19 4939.23 235.153
154 75.02 5053.56 235.605
155 75.58 5132.87 236.082
156 76.25 5170.34 236.657
157 76.81 5203.68 237.232
158 77.63 5257.26 237.673
159 78.25 5283.73 238.176
160 78.76 5359.6 238.789
161 79.45 5393.57 239.387
162 79.81 5460.83 239.861
163 80.22 5466.95 240.368
164 80.84 5496.29 240.962
165 81.45 5526.77 241.539
166 82.09 5561.8 242.009
167 82.68 5618 242.52
168 83.33 5667.39 243.12
169 84.09 5750.57 243.721
170 84.67 5785.29 244.208
171 85.56 5844.05 244.716
172 86.66 5878.7 245.354
173 87.44 5952.83 245.966
174 88.45 6010.96 246.46
175 89.39 6055.61 247.017
176 90.13 6087.96 247.698
177 90.88 6093.51 248.374
178 92 6152.59 248.928
179 93.18 6171.57 249.564
180 94.14 6142.1 250.299
181 95.11 6078.96 251.031
182 96.27 6047.49 251.65
183 97 6074.66 252.295
184 97.7 6090.14 253.033
185 98.31 6105.25 253.743
186 99.13 6175.69 254.338
187 99.79 6214.22 255.032
188 100.17 6260.74 255.815
189 100.88 6327.12 256.543
190 101.84 6327.93 257.151
191 102.35 6359.9 257.785
192 102.83 6393.5 258.516
193 103.51 6476.86 259.191
194 104.13 6524.5 259.738
195 104.71 6600.31 260.351
196 105.39 6629.47 261.04
197 106.09 6688.61 261.692
198 106.75 6717.46 262.236
199 107.24 6724.2 262.847
200 107.75 6779.53 263.527
201 108.29 6825.8 264.169
202 108.91 6882 264.681
203 109.24 6983.91 265.258
204 109.74 7020 265.887
205 110.23 7093.12 266.491
206 111 7166.68 266.987
207 111.43 7236.5 267.545
208 111.76 7311.24 268.171
209 112.08 7364.63 268.815];
210
211 %Compute growth rates: from 1950:I to 1997:IV
212 gy_obs=1000*data_q(:,2)./data_q(:,3); %real GDP per capita
213 gy_obs=diff(log(gy_obs));
214
215 gp_obs = diff(log(data_q(:,1))); %GDP deflator inflation