Time Series and Forecasting Lecture 4 NonLinear Time Series

Size: px
Start display at page:

Download "Time Series and Forecasting Lecture 4 NonLinear Time Series"

Transcription

1 Time Series and Forecasting Lecture 4 NonLinear Time Series Bruce E. Hansen Summer School in Economics and Econometrics University of Crete July 23-27, 2012 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

2 Today s Schedule Density Forecasts Threshold Regression Models Nonparametric Regression Models Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

3 Density Forecasts The conditional distribution is F t (y) = P (y t+1 y I t ) The conditional density is f t (y) = d dy P (y t+1 y I t ) Density plots are useful summaries of forecast uncertainty May also be useful as inputs for other purposes Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

4 Density Forecasts y t+1 = µ t + σ t ε t+1 µ t = E (y t+1 I t ) σ 2 t = var (ε t+1 I t ) Assume ε t+1 is independent of I t, with density f ε (u) = d dy F ε (u) Forecast density for y n+1 f n (y) = 1 σ n f ε ( y µn σ n ) Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

5 Normal Error Model Assume ε t+1 N(0, 1), then f ε (u) = φ(u) f n (y) = 1 σ n φ Probably should not be used ( y β x n σ n ) Contains no information beyond and σ t Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

6 Nonparametric Density Forecast We can estimate f ε (ε) from the normalized residuals ε t+1 using a standard kernel estimator. Discuss this shortly Then the forecast density for y n+1 is f n (y) = 1 σ n f ε (y β x n σ n ) Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

7 Examples: Interest Rate GDP Nowcast Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

8 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

9 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

10 Nonparametric Density Estimation Let X i be a random variable with density f (x) Observations i = 1,..., n [For example, ε t+1 for t = 0,..., n 1.] The kernel density estimator of f (x) is f (x) = 1 n ( ) Xi x nb k i=1 b where k(u) is a kernel function and b is a bandwidth Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

11 Kernel Functions A kernel function k(u) : R R is any function which satisfies k(u)du = 1. A non-negative kernel satisfies k(u) 0 for all u. In this case, k(u) is a probability density function. A symmetric kernel function satisfies k(u) = k( u) for all u. The order of a kernel, ν, is the first non-zero moment. A standard kernel is non-negative, symmetric, and second-order A kernel is higher-order kernel if ν > 2. These kernels will have negative parts and are not probability densities. They are also referred to as bias-reducing kernels. Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

12 Common Second-Order Kernels Kernel Equation R(k) κ 2 eff Uniform k 0 (u) = ( u 1) 1/2 1/ Epanechnikov k 1 (u) = 3 ( 4 1 u 2 ) 1 ( u 1) 3/5 1/ Biweight k 2 (u) = 15 ( 16 1 u 2 ) 2 1 ( u 1) 5/7 1/ Triweight k 3 (u) = 35 ( 32 1 u 2 ) 3 ( 1 ) ( u 1) 350/429 1/ Gaussian k φ (u) = 1 2π exp 1/2 π u2 2 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

13 Choice of Kernel Not as important as bandwidth Epanechnikov (quadratic) is optimal for minimizing IMSE of f (x) Gaussian is convenient as it is infinitely smooth and has positive support everywhere I am using Gaussian here Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

14 Kernel Density Estimator f (x) = 1 ( ) Xi x nb n i=1 k b f (x)dx = ( ) 1 1 n n i=1 b k Xi x dx = ( ) b 1 1 n n i=1 b k Xi x dx = 1 b n n i=1 1 = 1 since by ( the change ) of variables u = (X i x)/h 1 b k Xi x dx = k b (u) du = 1. Thus f (x) is a density Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

15 First Moment x f (x)dx = 1 n = 1 n = 1 n = 1 n the sample mean of the X i. n i=1 n i=1 n X i i=1 n X i i=1 x 1 ( ) b k Xi x dx b (X i + uhb) k (u) du k (u) du + 1 n n b uk (u) du i=1 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

16 Second Moment x 2 f (x)dx = 1 n = 1 n = 1 n = 1 n n i=1 n i=1 n Xi 2 i=1 x 2 1 ( ) b k Xi x dx b (X i + ub) 2 k (u) du + 2 n n Xi 2 + b 2 κ 2 i=1 where κ 2 = u2 k (u) du (1 in the case of Gaussian) n X i b k(u)du + 1 n i=1 n b 2 u 2 k (u) i=1 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

17 Kernel Density Variance x 2 f ( ) 2 (x)dx x f (x)dx = 1 n ( n Xi 2 + b 2 1 κ 2 i=1 n = σ 2 + b 2 κ 2 ) 2 n X i i=1 where σ 2 is the sample variance of X i In the case of the normalized residuals ε t+1, which have mean zero and sample variance 1, and using a Gaussian kernel: f ε (u) has A mean of zero A variance of 1 + b 2 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

18 Numerical Implementation for Forecast Density Pick a set of grid points for ε, e.g. u 1,..., u G For each ε on grid, evalulate f ε (ε) = 1 n 1 ( ) ε εt+1 φ nb b or t=0 f j ε = 1 n 1 nb t=0 ( ) uj ε t+1 φ b Set the translated gridpoints y j = β x n + σ n u j, for j = 1,..., G, and f j = 1 σ n f ε j The rescaling is the Jacobian of the transformation from u j to y j Plot f j on y-axis against y j on x-axis. This is a plot of ) f n (y) = 1 σ n f ε (y β x n σ n Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

19 Bias of Kernel Estimator E f (x) = E 1 ( ) b k Xi x 1 = b b k ( z x Using the change-of variables u = (z x)/b, this equals k (u) f (x + bu)du Now take a Taylor expansion of f (x + bu) about f (x) : b ) f (z)dz f (x + bu) f (x) + f (1) (x)bu f (2) (x)b 2 u 2 Integrating term-by term, k (u) f (x + bu)du k (u) f (x) + f (1) (x)b k (u) u f (2) (x)b 2 k (u) u2 du = f (x) f (2) (x)b 2 κ 2 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

20 Variance of Kernel Estimator var f (x) = 1 n var 1 ( ) b k Xi x b 1 ( ) z x 2 nb 2 k f (z)dz b = 1 k (u) 2 f (x + bu)du nb f (x) k (u) 2 du nb = f (x)r(k) nb where R(k) = k (u)2 du is called the roughness of the kernel. Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

21 Asymptotic MSE of Kernel Estimator ) AMSE ( f (x)) = Bias( f (x)) 2 + var ( f (x) = κ2 2 4 ( ) 2 f (2) (x) b 4 + f (x) R(k) nb Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

22 Mean Integrated Squared Error (MISE) of Kernel Estimator AMISE = = AMSE ( f (x))dx κ ( 2 f (x)) (2) b 4 dx + = κ2 2 4 R(f )b4 + R(k) nb where R(f ) = ( 2 f (x)) (2) dx is the roughness of f (2) f (x) R(k) dx nb Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

23 Optimal bandwidth The AMISE takes the form Ab 4 + B/nb The bandwidth b which minimizes the AMISE is ( ) 4R(k) 1/5 b = R(f ) 1/5 n 1/5 4κ 2 2 The unknown component is R(f ) 1/5 The rougher is f (x), the larger is R(f ) so the optimal b is smaller Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

24 Rule of Thumb Silverman proposed that we take f = φ as a baseline (or reference) Calculate the optimal bandwidth for this case. The Rule of Thumb b = ˆσCn 1/5 where ( π C = 1/2 2R(k) 2 4!κ 2 2 ) 1/5 Rule of Thumb Constants Epanechnikov 2.34 Biweight 2.78 Triweight 3.15 Gaussian 1.06 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

25 Plug-in bandwidth Methods Estimate R(f ) Use ( ) 4R(k) 1/5 b = R(f ) 1/5 n 1/5 4κ 2 2 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

26 Cross-Validation for Density Bandwidth Mean integrated squared error (MISE). Given b MISE (b) = = ) 2 ( f (x) f (x) dx f (x) 2 dx 2 f (x)f (x)dx + f (x) 2 dx We know the first term, not the second, and the third does not depend on b so we ignore it Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

27 First Term The first term is f (x) 2 dx = = ( 1 bh 1 n 2 b 2 n i=1 n i=1 n j=1 ( ) Xi ) 2 x k dx b ( ) ( Xi x Xj x k k b b Make the change of variables u = X i x, h ( ) ( ) 1 Xi x Xi x k k dx = k (u) k b b b = k ( Xi X j b ) dx ( u X i X j b ) ) du where k (x) = k (u) k (x u) du is the convolution of k with itself. If k(x) = φ(x) then k (x) = 2 1/2 φ(x/ 2) = exp( x 2 /4)/ 4π. Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

28 The first term is thus f (x) 2 dx = 1 n 2 b 2 n i=1 n j=1 k ( Xi X j b ) Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

29 Second Term The second term is 2 times f (x)f (x)dx an integral with respect to the density of X i, or an expectation with respect to X i We can estimate expectations using sample averages, e.g. 1 n n f i=1 (X i ), but f depends on X i, so this is biased The solution is to use a leave-one-out estimator for f, ( ) 1 f i (x) = (n 1) b Xj x k b j =i Then an unbiased estimate of the second term is n n ( ) 1 1 Xj X i n f i (X i ) = i=1 n (n 1) b k i=1 b j =i Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

30 Cross-Validation Criterion MISE (b) = f (x) 2 dx 2 f (x)f (x)dx + f (x) 2 dx CV (b) = 1 n 2 b 2 n i=1 n j=1 k ( Xi X j b In the case of a Gaussian kernel 1 CV (b) = n 2 b 2 2 n i=1 n j=1 φ CV selected bandwidth ) ( Xi X j 2b ) 2 n (n 1) b 2 n (n 1) b b = argmin CV (b) n i=1 j =i n i=1 j =i ( ) Xj X i k b ( ) Xj X i φ b Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

31 Evaluation Form a grid for b If b r is the rule-of-thumb bandwidth, search over [b r /3, 3b r ] or something similar Many authors define the CV bandwidth as the largest local minimizer In the end, an eyeball reality check of your estimated density is important. Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

32 Theory CV selected bandwidth is consistent Let b 0 minimize the AMISE b b 0 b 0 p 0 But the rate of convergence is slow, n 10 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

33 Examples 10-Year Bond Rate GDP Growth Rate Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

34 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

35 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

36 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

37 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

38 Threshold Models A type of nonlinear time series models Strong nonlinearity Allows for switching effects Most typically univariate (for simplicity) Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

39 Threshold Models Threshold Variable q t q t = 100(log(GDP t ) log(gdp t 4 )) = annual growth Threshold γ Split regression Coeffi cients switch if q t γ or q t > γ If growth has been above or below the threshold y t+1 = β 1 x t1 (q t γ) + β 2 x t1 (q t > γ) + e t+1 { β = 1 x t + e t q t γ β 2 x t + e t q t > γ Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

40 Partial Threshold Model y t+1 = β 0 z t + β 1 x t1 (q t γ) + β 2 x t1 (q t > γ) + e t+1 Coeffi cients on z t do not switch More parsimonious Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

41 Estimation y t+1 = β 0 z t + β 1 x t1 (q t γ) + β 2 x t1 (q t > γ) + e t+1 Least Squares ( β 0, β 1, β 2, γ) minimize sum-of-squared errors Equation is non-linear, so NLLS, not OLS Simple to compute by concentration method Given γ, model is linear in β Regressors are z t, x t 1 (q t γ) and x t 1 (q t > γ) Estimate by least-squares Save residuals, sum of squared errors Repeat for all thresholds γ. Find value which minimizes SSE Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

42 Estimation Details For a grid on γ (can use sample values of q t ) Define dummy variables d 1t (γ) = 1 (q t γ) and d 2t (γ) = 1 (q t > γ) Define interaction variables x 1t (γ) = x t d 1t (γ) and x 2t (γ) = x t d 2t (γ) Regress y t+1 on z t, x 1t (γ), x 2t (γ) Sum of squared errors y t+1 = β 0 z t + β 1 x 1t (γ) + β 2 x 2t (γ) + ê t+1 (γ) S(γ) = n ê t+1 (γ) 2 t=1 Write this explicity as a function of γ as the estimates, residuals and SSE vary with γ Find ˆγ which minimizes S(γ) Useful to view plot of S(γ) against γ Given ˆγ, repeat above steps to find estimates ( β 0, β 1, β 2 ) Forecasts made from fitted model Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

43 Example: GDP Forecasting Equation q t = 100(log(GDP t ) log(gdp t 4 )) = annual growth Threshold estimate: ˆγ = 0.18 Splits regression depend if past year s growth is above or below 0.18% 0% Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

44 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

45 Multi-Step Forecasts Nonlinear models (including threshold models) do not have simple iteration method for multi-step forecasts Option 1: Specify direct threshold model Option 2: Iterate one-step threshold model by simulation: Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

46 Multi-Step Simulation Method Take fitted model y t+1 = β 0 z t + β 1 x t1 (q t ˆγ) + β 2 x t1 (q t > ˆγ) + ê t+1 Draw iid errors ê n+1,..., ê n+h from the residuals {ê 1,..., ê n } Create yn+1 (b), y n+2 (b),..., y n+h (b) forward by simulation b indexes the simulation run Repeat B times (a large number) {yn+h (b) : b = 1,..., B} constitute an iid sample from the forecast distribution for y n+h Point forecast f n+h = 1 B B b=1 y n+h (b) Interval forecast: α and 1 α quantiles of y n+h (b) Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

47 Testing for a Threshold Null hypothesis: No threshold (linearity) Null Model: No threshold Alternative: Single Threshold y t+1 = β 0 z t + β 1 x t + ê t+1 S 0 = n êt+1 2 t=1 y t+1 = β 0 z t + β 1 x 1t(γ) + β 2 x 2t(γ) + ê t+1 (γ) S 1 (γ) = n ê t+1 (γ) 2 t=1 S 1 = S 1 ( ˆγ) = min S 1 (γ) γ Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

48 Threshold F Test No Threshold against one threshold ( ) S0 S 1 (γ) F (γ) = n S 1 (γ) ( ) S0 S 1 F = n = max γ S 1 F (γ) Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

49 NonStandard Testing Test is non-standard. Critical values obtained by simulation or bootstrap Fixed Regressor Bootstrap Similar to a bootstrap, a method to simulate the asymptotic null distribution Fix (z t, x t, ê t ), t = 1,..., n Let yt be iid N(0, êt 2 ), t = 1,..., n Estimate the regressions as before S 1 y t+1 = y t+1 = S 0 = β (γ) = min γ 0 z t + n t=1 β 0 z t + β 1 x t + êt+1 n êt+1 2 t=1 β 1 x 1t (γ) + β 2 x 2t (γ) + êt+1 (γ) ê t+1 (γ)2 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

50 Bootstrap Test Statistics S1 = S 1 ( ˆγ) = min S 1 (γ) γ ( S F (γ) = n 0 S1 (γ) ) S1 (γ) ( S F = n 0 S1 ) S1 = max F (γ) γ Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

51 Repeat this B 1000 times. Let F01 (b) denote the b th value Fixed Regressor bootstrap p-value p = 1 B N 1 (F01(b) F 01 ) b=1 Fixed Regressor bootstrap critical values are quantiles of empirical distribution of F 01 (b) Important restriction: Requires serially uncorrelated errors (h = 1) Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

52 Example: GDP Forecasting Equation q t = 100(log(GDP t ) log(gdp t 4 )) = annual growth Bootstrap p-value for threshold effect: 10.6% Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

53 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

54 Inference in Threshold Models Threshold Estimate has NonStandard Distribution Confidence intervals by inverting F statistic F Test: Kknown Threshold against Estimated threshold ( ) S1 (γ) S 1 LR(γ) = n S 1 [Call it LR(γ) to distinguish from F (γ) from earlier slide.] Theory: [Hansen, 2000] LR(γ) d ξ = max s [2W (s) s ] P(ξ x) = ( 1 e x /2) 2 Critical values: P(ξ c) c Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

55 Confidence Intervals for Threshold All γ such that LR(γ) c where c is critical value Easy to see in graph of LR(γ) against γ Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

56 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

57 Threshold Estimates Estimate: ˆγ = 0.18 Confidence Interval = [ 1.0, 2.2] Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

58 Inference on Slope Parameters Conventional As if threshold is known Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

59 Threshold Model Estimates q t = 100(log(GDP t ) log(gdp t 4 )) q t 0.18 q t > 0.18 Intercept (4.6) (1.11) log(gdp t ) 0.36 (0.21) 0.16 (0.08) log(gdp t 1 ) (0.21) 0.20 (0.09) Spread t 1.3 (0.8) 0.71 (0.20) Default Spread t (1.26) -2.3 (0.9) Housing Starts t 2.5 (10.6) 4.1 (2.3) Building Permits t 7.8 (10.5) -2.2 (2.0) Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

60 NonParametric/NonLinear Time Series Regression Optimal point forecast is g (x n ) where g (x) = E (y t+1 x t = x) and x t are all relevant variables. In general, the form of g (x) is unknown and nonlinear Linear models used for simplicity, but they are not true Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

61 NonParametric/NonLinear Time Series Regression Model y t+1 = g (x t ) + e t+1 E (e t+1 x t ) = 0 The conditional mean zero restriction holds true by construction e t+1 not necessarily iid Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

62 Additively Separable Model x t = (x 1t,..., x pt ) g (x t ) = g 1 (x 1t ) + g 2 (x 2t ) + + g p (x pt ) Then y t+1 = g 1 (x 1t ) + g 2 (x 2t ) + + g p (x pt ) + e t+1 Greatly reduces degree of nonlinearity Useful simplification, but should be viewed as such, not as true Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

63 Partially Linear Model Partition x t = (x 1t, x 2t ) g (x t ) = g 1 (x 1t ) + β x 2t x 2t typically includes dummy variables, controls x 1t main variables of importance For example, if primary dependence through first lag y t+1 = g 1 (y t ) + β 1 y t β p y t p + e t+1 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

64 Sieve Models For simplicity, suppose x t is scalar (real-valued) WLOG in additively separable and partially linear models Approximate g(x) by a sequence g m (x), m = 1, 2,..., of increasing complexity Linear sieves g m (x) = Z m (x) β m where Z m (x) = (z 1m (x),..., z Km (x)) are nonlinear functions of x. Series : Z m (x) = (z 1 (x),..., z K (x)) Sieves : Z m (x) = (z 1m (x),..., z Km (x)) Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

65 Polynomial (power series) z j (x) = x j gm(x) = p β j x j j=1 Stone-Weierstrass Theorem: Any continuous function g(x) can be arbitrarily well approximated on a compact set by a polynomial of suffi ciently high order For any ε > 0 there exists coeffi cients p and β j such that X Runge s phenomenon: sup g m (x) g(x) ε x X Polynomials can be poor at interpolation (can be erratic) Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

66 Splines Piecewise smooth polynomials Join points are called knots Linear spline with one knot at τ β 00 + β 01 (x τ) g m (x) = β 10 + β 11 (x τ) x < τ x τ To enforce continuity, β 00 = β 10, g m (x) = β 0 + β 1 (x τ) + β 2 (x τ) 1 (x τ) or equivalently g m (x) = β 0 + β 1 x + β 2 (x τ) 1 (x τ) Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

67 Quadratic Spline with One Knot β 00 + β 01 (x τ) + β 02 (x τ) 2 g m (x) = β 10 + β 11 (x τ) + β 12 (x τ) 2 x < τ x τ Continuous if β 00 = β 10 Continuous first derivative if β 01 = β 11 Imposing these constraints g m (x) = β 0 + β 1 x + β 2 x 2 + β 3 (x τ) 2 1 (x τ). Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

68 Cubic Spline with One Knot g m (x) = β 0 + β 1 x + β 2 x 2 + β 3 x 3 + β 4 (x τ) 3 1 (x τ) Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

69 General Case Knots at τ 1 < τ 2 < < τ N g m (x) = β 0 + p j=1 β j x j + N k=1 β p+k (x τ k ) p 1 (x τ k ) Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

70 Uniform Approximation Stone-Weierstrass Theorem: Any continuous function g(x) can be arbitrarily well approximated on a compact set by a polynomial of suffi ciently high order For any ε > 0 there exists coeffi cients p and β j such that X Strengthened Form: sup g m (x) g(x) ε x X if the s th derivative of g(x) is continuous then the uniform approximation error satisfies sup g m (x) g(x) = O ( K α ) m x X where K m is the number of terms in g m (x) This holds for polynomials and splines Runge s phenomenon: Polynomials can be poor at interpolation (can be erratic) Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

71 Illustration g(x) = x 1/4 (1 x) 1/2 Polynomials of order K = 3, K = 4, and K = 6 Cubic splines are quite similar Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

72 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

73 Runge s Phenomenon Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

74 Placement of Knots If support of x is [0, 1], typical to set τ j = j/(n + 1) If support of x is [a, b], can set τ j = a + (b a)/(n + 1) Alternatively, can set τ j to equal the j/(n + 1) quantile of the distribution of x Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

75 Estimation Fix number and location of knots Estimate coeffi cients by least-squares Quadratic spline y = β 0 + β 1 x + β 2 x 2 + N k=1 β 2+k (x τ k ) 2 1 (x τ k ) + e Linear model in x, x 2, (x τ 1 ) 2 1 (x τ 1 ),..., (x τ N ) 2 1 (x τ N ) Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

76 Selection of Number of Knots Model selection Pick N to minimize Cross-validation function CV is an estimate of MSFE IMSE (integrated mean-squared error) CV selection (and combination) is asymptotically optimal for minimization of the MSFE and IMSE Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

77 Example: GDP Growth y t =GDP Growth x t =Housing Starts Partially Linear Model y t+1 = g(x t ) + β 1 y t 1 + β 2 y t 2 + e t+1 Polynomial Cubic Spline Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

78 CV Selection Polynomial in Housing Starts p CV Cubic Spline in Housing Starts N CV Best fitting regression is quartic polynomial (p = 4) Cubic spline with 1 knot is close Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

79 Polynomial=solid line Cubic Spline=dashed line Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

80 Estimated Cubic Spline Knot=1.5 β s( β) Intercept 29 (8) y t 0.18 (0.08) y t (0.08) HS t 86 (26) HSt 2 79 (23) HSt 3 22 (6) (HS t 1.5) 2 1 (HS t > 1.5) 43 (13) Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

81 New Example: Long and Short Rates Bi-variate model of Long (10-year) and short (3-month) bond rates Key variable: Spread: Long-Short R t =Long Rate r t =Short Rate Z t = R r r t =Spread Model R t+1 = α 0 + α p1 (L) R t + β p1 (L) r t + g 1 (Z t ) + e 1t r t+1 = γ 0 + γ p2 (L) R t + δ p2 (L) r t + g 2 (Z t ) + e 2t Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

82 CV Selection Separately for each equation Long Rate and Short Rate Select over number of lags Number of spline terms for nonlinearity in Spread Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

83 CV Selection: Long Rate Equation p = 0 p = 1 p = 2 p = 3 p = 4 p = 5 p = 6 Linear Quadratic Cubic Knot Knots Knots Selected Model: p = 6, Cubic spline with 1 knot at 1.53 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

84 CV Selection: Short Rate Equation p = 0 p = 1 p = 2 p = 3 p = 4 p = 5 p = 6 Linear Quadratic Cubic Knot Knots Knots Selected Model: p = 1, Cubic spline with 1 knot at 1.53 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

85 Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

86 Forecasting For h > 1, need to use forecast simulation Simulate R n+1, r n+1 forward using iid draws from residuals Create time paths Take means to estimate point forecasts Take quantiles to construct forecats intervals Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

87 Assignment Construct a nonlinear model to forecast the unemployment rate. Use either a threshold or nonparametric model Use appropriate methods to select the model and variables Make a one-step forecast If time, use simulation to create 1 through 12 step forecast distributions. Use this to calculate point forecasts, intervals and a fan chart. Bruce Hansen (University of Wisconsin) Foundations July 23-27, / 87

Threshold Autoregressions and NonLinear Autoregressions

Threshold Autoregressions and NonLinear Autoregressions Threshold Autoregressions and NonLinear Autoregressions Original Presentation: Central Bank of Chile October 29-31, 2013 Bruce Hansen (University of Wisconsin) Threshold Regression 1 / 47 Threshold Models

More information

Econ 582 Nonparametric Regression

Econ 582 Nonparametric Regression Econ 582 Nonparametric Regression Eric Zivot May 28, 2013 Nonparametric Regression Sofarwehaveonlyconsideredlinearregressionmodels = x 0 β + [ x ]=0 [ x = x] =x 0 β = [ x = x] [ x = x] x = β The assume

More information

Central Bank of Chile October 29-31, 2013 Bruce Hansen (University of Wisconsin) Structural Breaks October 29-31, / 91. Bruce E.

Central Bank of Chile October 29-31, 2013 Bruce Hansen (University of Wisconsin) Structural Breaks October 29-31, / 91. Bruce E. Forecasting Lecture 3 Structural Breaks Central Bank of Chile October 29-31, 2013 Bruce Hansen (University of Wisconsin) Structural Breaks October 29-31, 2013 1 / 91 Bruce E. Hansen Organization Detection

More information

Forecasting Lecture 2: Forecast Combination, Multi-Step Forecasts

Forecasting Lecture 2: Forecast Combination, Multi-Step Forecasts Forecasting Lecture 2: Forecast Combination, Multi-Step Forecasts Bruce E. Hansen Central Bank of Chile October 29-31, 2013 Bruce Hansen (University of Wisconsin) Forecast Combination and Multi-Step Forecasts

More information

41903: Introduction to Nonparametrics

41903: Introduction to Nonparametrics 41903: Notes 5 Introduction Nonparametrics fundamentally about fitting flexible models: want model that is flexible enough to accommodate important patterns but not so flexible it overspecializes to specific

More information

Preface. 1 Nonparametric Density Estimation and Testing. 1.1 Introduction. 1.2 Univariate Density Estimation

Preface. 1 Nonparametric Density Estimation and Testing. 1.1 Introduction. 1.2 Univariate Density Estimation Preface Nonparametric econometrics has become one of the most important sub-fields in modern econometrics. The primary goal of this lecture note is to introduce various nonparametric and semiparametric

More information

Quantitative Economics for the Evaluation of the European Policy. Dipartimento di Economia e Management

Quantitative Economics for the Evaluation of the European Policy. Dipartimento di Economia e Management Quantitative Economics for the Evaluation of the European Policy Dipartimento di Economia e Management Irene Brunetti 1 Davide Fiaschi 2 Angela Parenti 3 9 ottobre 2015 1 ireneb@ec.unipi.it. 2 davide.fiaschi@unipi.it.

More information

Introduction. Linear Regression. coefficient estimates for the wage equation: E(Y X) = X 1 β X d β d = X β

Introduction. Linear Regression. coefficient estimates for the wage equation: E(Y X) = X 1 β X d β d = X β Introduction - Introduction -2 Introduction Linear Regression E(Y X) = X β +...+X d β d = X β Example: Wage equation Y = log wages, X = schooling (measured in years), labor market experience (measured

More information

Nonparametric Regression. Changliang Zou

Nonparametric Regression. Changliang Zou Nonparametric Regression Institute of Statistics, Nankai University Email: nk.chlzou@gmail.com Smoothing parameter selection An overall measure of how well m h (x) performs in estimating m(x) over x (0,

More information

Nonparametric Econometrics

Nonparametric Econometrics Applied Microeconometrics with Stata Nonparametric Econometrics Spring Term 2011 1 / 37 Contents Introduction The histogram estimator The kernel density estimator Nonparametric regression estimators Semi-

More information

Nonparametric Regression. Badr Missaoui

Nonparametric Regression. Badr Missaoui Badr Missaoui Outline Kernel and local polynomial regression. Penalized regression. We are given n pairs of observations (X 1, Y 1 ),...,(X n, Y n ) where Y i = r(x i ) + ε i, i = 1,..., n and r(x) = E(Y

More information

Nonparametric Methods

Nonparametric Methods Nonparametric Methods Michael R. Roberts Department of Finance The Wharton School University of Pennsylvania July 28, 2009 Michael R. Roberts Nonparametric Methods 1/42 Overview Great for data analysis

More information

Nonparametric Density Estimation

Nonparametric Density Estimation Nonparametric Density Estimation Econ 690 Purdue University Justin L. Tobias (Purdue) Nonparametric Density Estimation 1 / 29 Density Estimation Suppose that you had some data, say on wages, and you wanted

More information

11. Bootstrap Methods

11. Bootstrap Methods 11. Bootstrap Methods c A. Colin Cameron & Pravin K. Trivedi 2006 These transparencies were prepared in 20043. They can be used as an adjunct to Chapter 11 of our subsequent book Microeconometrics: Methods

More information

Nonparametric Regression

Nonparametric Regression Nonparametric Regression Econ 674 Purdue University April 8, 2009 Justin L. Tobias (Purdue) Nonparametric Regression April 8, 2009 1 / 31 Consider the univariate nonparametric regression model: where y

More information

3 Nonparametric Density Estimation

3 Nonparametric Density Estimation 3 Nonparametric Density Estimation Example: Income distribution Source: U.K. Family Expenditure Survey (FES) 1968-1995 Approximately 7000 British Households per year For each household many different variables

More information

13 Endogeneity and Nonparametric IV

13 Endogeneity and Nonparametric IV 13 Endogeneity and Nonparametric IV 13.1 Nonparametric Endogeneity A nonparametric IV equation is Y i = g (X i ) + e i (1) E (e i j i ) = 0 In this model, some elements of X i are potentially endogenous,

More information

Introduction to Regression

Introduction to Regression Introduction to Regression p. 1/97 Introduction to Regression Chad Schafer cschafer@stat.cmu.edu Carnegie Mellon University Introduction to Regression p. 1/97 Acknowledgement Larry Wasserman, All of Nonparametric

More information

Introduction to Regression

Introduction to Regression Introduction to Regression Chad M. Schafer May 20, 2015 Outline General Concepts of Regression, Bias-Variance Tradeoff Linear Regression Nonparametric Procedures Cross Validation Local Polynomial Regression

More information

The regression model with one fixed regressor cont d

The regression model with one fixed regressor cont d The regression model with one fixed regressor cont d 3150/4150 Lecture 4 Ragnar Nymoen 27 January 2012 The model with transformed variables Regression with transformed variables I References HGL Ch 2.8

More information

Density estimation Nonparametric conditional mean estimation Semiparametric conditional mean estimation. Nonparametrics. Gabriel Montes-Rojas

Density estimation Nonparametric conditional mean estimation Semiparametric conditional mean estimation. Nonparametrics. Gabriel Montes-Rojas 0 0 5 Motivation: Regression discontinuity (Angrist&Pischke) Outcome.5 1 1.5 A. Linear E[Y 0i X i] 0.2.4.6.8 1 X Outcome.5 1 1.5 B. Nonlinear E[Y 0i X i] i 0.2.4.6.8 1 X utcome.5 1 1.5 C. Nonlinearity

More information

ECON 721: Lecture Notes on Nonparametric Density and Regression Estimation. Petra E. Todd

ECON 721: Lecture Notes on Nonparametric Density and Regression Estimation. Petra E. Todd ECON 721: Lecture Notes on Nonparametric Density and Regression Estimation Petra E. Todd Fall, 2014 2 Contents 1 Review of Stochastic Order Symbols 1 2 Nonparametric Density Estimation 3 2.1 Histogram

More information

Nonparametric Regression Härdle, Müller, Sperlich, Werwarz, 1995, Nonparametric and Semiparametric Models, An Introduction

Nonparametric Regression Härdle, Müller, Sperlich, Werwarz, 1995, Nonparametric and Semiparametric Models, An Introduction Härdle, Müller, Sperlich, Werwarz, 1995, Nonparametric and Semiparametric Models, An Introduction Tine Buch-Kromann Univariate Kernel Regression The relationship between two variables, X and Y where m(

More information

Nonparametric Identification of a Binary Random Factor in Cross Section Data - Supplemental Appendix

Nonparametric Identification of a Binary Random Factor in Cross Section Data - Supplemental Appendix Nonparametric Identification of a Binary Random Factor in Cross Section Data - Supplemental Appendix Yingying Dong and Arthur Lewbel California State University Fullerton and Boston College July 2010 Abstract

More information

LECTURE 11. Introduction to Econometrics. Autocorrelation

LECTURE 11. Introduction to Econometrics. Autocorrelation LECTURE 11 Introduction to Econometrics Autocorrelation November 29, 2016 1 / 24 ON PREVIOUS LECTURES We discussed the specification of a regression equation Specification consists of choosing: 1. correct

More information

GMM, HAC estimators, & Standard Errors for Business Cycle Statistics

GMM, HAC estimators, & Standard Errors for Business Cycle Statistics GMM, HAC estimators, & Standard Errors for Business Cycle Statistics Wouter J. Den Haan London School of Economics c Wouter J. Den Haan Overview Generic GMM problem Estimation Heteroskedastic and Autocorrelation

More information

Chapter 2: Resampling Maarten Jansen

Chapter 2: Resampling Maarten Jansen Chapter 2: Resampling Maarten Jansen Randomization tests Randomized experiment random assignment of sample subjects to groups Example: medical experiment with control group n 1 subjects for true medicine,

More information

Time Series Econometrics For the 21st Century

Time Series Econometrics For the 21st Century Time Series Econometrics For the 21st Century by Bruce E. Hansen Department of Economics University of Wisconsin January 2017 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017

More information

Confidence intervals for kernel density estimation

Confidence intervals for kernel density estimation Stata User Group - 9th UK meeting - 19/20 May 2003 Confidence intervals for kernel density estimation Carlo Fiorio c.fiorio@lse.ac.uk London School of Economics and STICERD Stata User Group - 9th UK meeting

More information

Econ 423 Lecture Notes: Additional Topics in Time Series 1

Econ 423 Lecture Notes: Additional Topics in Time Series 1 Econ 423 Lecture Notes: Additional Topics in Time Series 1 John C. Chao April 25, 2017 1 These notes are based in large part on Chapter 16 of Stock and Watson (2011). They are for instructional purposes

More information

Supplemental Material for KERNEL-BASED INFERENCE IN TIME-VARYING COEFFICIENT COINTEGRATING REGRESSION. September 2017

Supplemental Material for KERNEL-BASED INFERENCE IN TIME-VARYING COEFFICIENT COINTEGRATING REGRESSION. September 2017 Supplemental Material for KERNEL-BASED INFERENCE IN TIME-VARYING COEFFICIENT COINTEGRATING REGRESSION By Degui Li, Peter C. B. Phillips, and Jiti Gao September 017 COWLES FOUNDATION DISCUSSION PAPER NO.

More information

Studies in Nonlinear Dynamics and Econometrics

Studies in Nonlinear Dynamics and Econometrics Studies in Nonlinear Dynamics and Econometrics Quarterly Journal April 1997, Volume, Number 1 The MIT Press Studies in Nonlinear Dynamics and Econometrics (ISSN 1081-186) is a quarterly journal published

More information

Introduction to Regression

Introduction to Regression Introduction to Regression Chad M. Schafer cschafer@stat.cmu.edu Carnegie Mellon University Introduction to Regression p. 1/100 Outline General Concepts of Regression, Bias-Variance Tradeoff Linear Regression

More information

Least Squares Model Averaging. Bruce E. Hansen University of Wisconsin. January 2006 Revised: August 2006

Least Squares Model Averaging. Bruce E. Hansen University of Wisconsin. January 2006 Revised: August 2006 Least Squares Model Averaging Bruce E. Hansen University of Wisconsin January 2006 Revised: August 2006 Introduction This paper developes a model averaging estimator for linear regression. Model averaging

More information

The Bootstrap: Theory and Applications. Biing-Shen Kuo National Chengchi University

The Bootstrap: Theory and Applications. Biing-Shen Kuo National Chengchi University The Bootstrap: Theory and Applications Biing-Shen Kuo National Chengchi University Motivation: Poor Asymptotic Approximation Most of statistical inference relies on asymptotic theory. Motivation: Poor

More information

Introduction to Regression

Introduction to Regression Introduction to Regression David E Jones (slides mostly by Chad M Schafer) June 1, 2016 1 / 102 Outline General Concepts of Regression, Bias-Variance Tradeoff Linear Regression Nonparametric Procedures

More information

Lecture 3: Multiple Regression

Lecture 3: Multiple Regression Lecture 3: Multiple Regression R.G. Pierse 1 The General Linear Model Suppose that we have k explanatory variables Y i = β 1 + β X i + β 3 X 3i + + β k X ki + u i, i = 1,, n (1.1) or Y i = β j X ji + u

More information

4 Nonparametric Regression

4 Nonparametric Regression 4 Nonparametric Regression 4.1 Univariate Kernel Regression An important question in many fields of science is the relation between two variables, say X and Y. Regression analysis is concerned with the

More information

Nonparametric Inference via Bootstrapping the Debiased Estimator

Nonparametric Inference via Bootstrapping the Debiased Estimator Nonparametric Inference via Bootstrapping the Debiased Estimator Yen-Chi Chen Department of Statistics, University of Washington ICSA-Canada Chapter Symposium 2017 1 / 21 Problem Setup Let X 1,, X n be

More information

The linear regression model: functional form and structural breaks

The linear regression model: functional form and structural breaks The linear regression model: functional form and structural breaks Ragnar Nymoen Department of Economics, UiO 16 January 2009 Overview Dynamic models A little bit more about dynamics Extending inference

More information

Smooth simultaneous confidence bands for cumulative distribution functions

Smooth simultaneous confidence bands for cumulative distribution functions Journal of Nonparametric Statistics, 2013 Vol. 25, No. 2, 395 407, http://dx.doi.org/10.1080/10485252.2012.759219 Smooth simultaneous confidence bands for cumulative distribution functions Jiangyan Wang

More information

Model-free prediction intervals for regression and autoregression. Dimitris N. Politis University of California, San Diego

Model-free prediction intervals for regression and autoregression. Dimitris N. Politis University of California, San Diego Model-free prediction intervals for regression and autoregression Dimitris N. Politis University of California, San Diego To explain or to predict? Models are indispensable for exploring/utilizing relationships

More information

Density estimators for the convolution of discrete and continuous random variables

Density estimators for the convolution of discrete and continuous random variables Density estimators for the convolution of discrete and continuous random variables Ursula U Müller Texas A&M University Anton Schick Binghamton University Wolfgang Wefelmeyer Universität zu Köln Abstract

More information

Kernel density estimation

Kernel density estimation Kernel density estimation Patrick Breheny October 18 Patrick Breheny STA 621: Nonparametric Statistics 1/34 Introduction Kernel Density Estimation We ve looked at one method for estimating density: histograms

More information

Nonparametric Density Estimation (Multidimension)

Nonparametric Density Estimation (Multidimension) Nonparametric Density Estimation (Multidimension) Härdle, Müller, Sperlich, Werwarz, 1995, Nonparametric and Semiparametric Models, An Introduction Tine Buch-Kromann February 19, 2007 Setup One-dimensional

More information

Econ 623 Econometrics II Topic 2: Stationary Time Series

Econ 623 Econometrics II Topic 2: Stationary Time Series 1 Introduction Econ 623 Econometrics II Topic 2: Stationary Time Series In the regression model we can model the error term as an autoregression AR(1) process. That is, we can use the past value of the

More information

Local Polynomial Regression

Local Polynomial Regression VI Local Polynomial Regression (1) Global polynomial regression We observe random pairs (X 1, Y 1 ),, (X n, Y n ) where (X 1, Y 1 ),, (X n, Y n ) iid (X, Y ). We want to estimate m(x) = E(Y X = x) based

More information

New Developments in Econometrics Lecture 16: Quantile Estimation

New Developments in Econometrics Lecture 16: Quantile Estimation New Developments in Econometrics Lecture 16: Quantile Estimation Jeff Wooldridge Cemmap Lectures, UCL, June 2009 1. Review of Means, Medians, and Quantiles 2. Some Useful Asymptotic Results 3. Quantile

More information

Bickel Rosenblatt test

Bickel Rosenblatt test University of Latvia 28.05.2011. A classical Let X 1,..., X n be i.i.d. random variables with a continuous probability density function f. Consider a simple hypothesis H 0 : f = f 0 with a significance

More information

Adaptive Nonparametric Density Estimators

Adaptive Nonparametric Density Estimators Adaptive Nonparametric Density Estimators by Alan J. Izenman Introduction Theoretical results and practical application of histograms as density estimators usually assume a fixed-partition approach, where

More information

CHAPTER 21: TIME SERIES ECONOMETRICS: SOME BASIC CONCEPTS

CHAPTER 21: TIME SERIES ECONOMETRICS: SOME BASIC CONCEPTS CHAPTER 21: TIME SERIES ECONOMETRICS: SOME BASIC CONCEPTS 21.1 A stochastic process is said to be weakly stationary if its mean and variance are constant over time and if the value of the covariance between

More information

ECON 5350 Class Notes Functional Form and Structural Change

ECON 5350 Class Notes Functional Form and Structural Change ECON 5350 Class Notes Functional Form and Structural Change 1 Introduction Although OLS is considered a linear estimator, it does not mean that the relationship between Y and X needs to be linear. In this

More information

1. The Multivariate Classical Linear Regression Model

1. The Multivariate Classical Linear Regression Model Business School, Brunel University MSc. EC550/5509 Modelling Financial Decisions and Markets/Introduction to Quantitative Methods Prof. Menelaos Karanasos (Room SS69, Tel. 08956584) Lecture Notes 5. The

More information

Prof. Dr. Roland Füss Lecture Series in Applied Econometrics Summer Term Introduction to Time Series Analysis

Prof. Dr. Roland Füss Lecture Series in Applied Econometrics Summer Term Introduction to Time Series Analysis Introduction to Time Series Analysis 1 Contents: I. Basics of Time Series Analysis... 4 I.1 Stationarity... 5 I.2 Autocorrelation Function... 9 I.3 Partial Autocorrelation Function (PACF)... 14 I.4 Transformation

More information

Density and Distribution Estimation

Density and Distribution Estimation Density and Distribution Estimation Nathaniel E. Helwig Assistant Professor of Psychology and Statistics University of Minnesota (Twin Cities) Updated 04-Jan-2017 Nathaniel E. Helwig (U of Minnesota) Density

More information

Averaging Estimators for Regressions with a Possible Structural Break

Averaging Estimators for Regressions with a Possible Structural Break Averaging Estimators for Regressions with a Possible Structural Break Bruce E. Hansen University of Wisconsin y www.ssc.wisc.edu/~bhansen September 2007 Preliminary Abstract This paper investigates selection

More information

Bandwidth selection for kernel conditional density

Bandwidth selection for kernel conditional density Bandwidth selection for kernel conditional density estimation David M Bashtannyk and Rob J Hyndman 1 10 August 1999 Abstract: We consider bandwidth selection for the kernel estimator of conditional density

More information

Inference in Nonparametric Series Estimation with Data-Dependent Number of Series Terms

Inference in Nonparametric Series Estimation with Data-Dependent Number of Series Terms Inference in Nonparametric Series Estimation with Data-Dependent Number of Series Terms Byunghoon ang Department of Economics, University of Wisconsin-Madison First version December 9, 204; Revised November

More information

Econ 2148, fall 2017 Gaussian process priors, reproducing kernel Hilbert spaces, and Splines

Econ 2148, fall 2017 Gaussian process priors, reproducing kernel Hilbert spaces, and Splines Econ 2148, fall 2017 Gaussian process priors, reproducing kernel Hilbert spaces, and Splines Maximilian Kasy Department of Economics, Harvard University 1 / 37 Agenda 6 equivalent representations of the

More information

Review of Classical Least Squares. James L. Powell Department of Economics University of California, Berkeley

Review of Classical Least Squares. James L. Powell Department of Economics University of California, Berkeley Review of Classical Least Squares James L. Powell Department of Economics University of California, Berkeley The Classical Linear Model The object of least squares regression methods is to model and estimate

More information

7 Semiparametric Estimation of Additive Models

7 Semiparametric Estimation of Additive Models 7 Semiparametric Estimation of Additive Models Additive models are very useful for approximating the high-dimensional regression mean functions. They and their extensions have become one of the most widely

More information

Econometrics 2, Class 1

Econometrics 2, Class 1 Econometrics 2, Class Problem Set #2 September 9, 25 Remember! Send an email to let me know that you are following these classes: paul.sharp@econ.ku.dk That way I can contact you e.g. if I need to cancel

More information

ECONOMETRICS. Bruce E. Hansen. c2000, 2001, 2002, 2003, University of Wisconsin

ECONOMETRICS. Bruce E. Hansen. c2000, 2001, 2002, 2003, University of Wisconsin ECONOMETRICS Bruce E. Hansen c2000, 200, 2002, 2003, 2004 University of Wisconsin www.ssc.wisc.edu/~bhansen Revised: January 2004 Comments Welcome This manuscript may be printed and reproduced for individual

More information

Interpreting Regression Results

Interpreting Regression Results Interpreting Regression Results Carlo Favero Favero () Interpreting Regression Results 1 / 42 Interpreting Regression Results Interpreting regression results is not a simple exercise. We propose to split

More information

Histogram Härdle, Müller, Sperlich, Werwatz, 1995, Nonparametric and Semiparametric Models, An Introduction

Histogram Härdle, Müller, Sperlich, Werwatz, 1995, Nonparametric and Semiparametric Models, An Introduction Härdle, Müller, Sperlich, Werwatz, 1995, Nonparametric and Semiparametric Models, An Introduction Tine Buch-Kromann Construction X 1,..., X n iid r.v. with (unknown) density, f. Aim: Estimate the density

More information

Spatially Smoothed Kernel Density Estimation via Generalized Empirical Likelihood

Spatially Smoothed Kernel Density Estimation via Generalized Empirical Likelihood Spatially Smoothed Kernel Density Estimation via Generalized Empirical Likelihood Kuangyu Wen & Ximing Wu Texas A&M University Info-Metrics Institute Conference: Recent Innovations in Info-Metrics October

More information

G. S. Maddala Kajal Lahiri. WILEY A John Wiley and Sons, Ltd., Publication

G. S. Maddala Kajal Lahiri. WILEY A John Wiley and Sons, Ltd., Publication G. S. Maddala Kajal Lahiri WILEY A John Wiley and Sons, Ltd., Publication TEMT Foreword Preface to the Fourth Edition xvii xix Part I Introduction and the Linear Regression Model 1 CHAPTER 1 What is Econometrics?

More information

What s New in Econometrics? Lecture 14 Quantile Methods

What s New in Econometrics? Lecture 14 Quantile Methods What s New in Econometrics? Lecture 14 Quantile Methods Jeff Wooldridge NBER Summer Institute, 2007 1. Reminders About Means, Medians, and Quantiles 2. Some Useful Asymptotic Results 3. Quantile Regression

More information

Cross-fitting and fast remainder rates for semiparametric estimation

Cross-fitting and fast remainder rates for semiparametric estimation Cross-fitting and fast remainder rates for semiparametric estimation Whitney K. Newey James M. Robins The Institute for Fiscal Studies Department of Economics, UCL cemmap working paper CWP41/17 Cross-Fitting

More information

Dynamic Regression Models (Lect 15)

Dynamic Regression Models (Lect 15) Dynamic Regression Models (Lect 15) Ragnar Nymoen University of Oslo 21 March 2013 1 / 17 HGL: Ch 9; BN: Kap 10 The HGL Ch 9 is a long chapter, and the testing for autocorrelation part we have already

More information

Statistical inference on Lévy processes

Statistical inference on Lévy processes Alberto Coca Cabrero University of Cambridge - CCA Supervisors: Dr. Richard Nickl and Professor L.C.G.Rogers Funded by Fundación Mutua Madrileña and EPSRC MASDOC/CCA student workshop 2013 26th March Outline

More information

Uncertainty Quantification for Inverse Problems. November 7, 2011

Uncertainty Quantification for Inverse Problems. November 7, 2011 Uncertainty Quantification for Inverse Problems November 7, 2011 Outline UQ and inverse problems Review: least-squares Review: Gaussian Bayesian linear model Parametric reductions for IP Bias, variance

More information

Independent and conditionally independent counterfactual distributions

Independent and conditionally independent counterfactual distributions Independent and conditionally independent counterfactual distributions Marcin Wolski European Investment Bank M.Wolski@eib.org Society for Nonlinear Dynamics and Econometrics Tokyo March 19, 2018 Views

More information

Statistical inference

Statistical inference Statistical inference Contents 1. Main definitions 2. Estimation 3. Testing L. Trapani MSc Induction - Statistical inference 1 1 Introduction: definition and preliminary theory In this chapter, we shall

More information

EC212: Introduction to Econometrics Review Materials (Wooldridge, Appendix)

EC212: Introduction to Econometrics Review Materials (Wooldridge, Appendix) 1 EC212: Introduction to Econometrics Review Materials (Wooldridge, Appendix) Taisuke Otsu London School of Economics Summer 2018 A.1. Summation operator (Wooldridge, App. A.1) 2 3 Summation operator For

More information

Day 4A Nonparametrics

Day 4A Nonparametrics Day 4A Nonparametrics A. Colin Cameron Univ. of Calif. - Davis... for Center of Labor Economics Norwegian School of Economics Advanced Microeconometrics Aug 28 - Sep 2, 2017. Colin Cameron Univ. of Calif.

More information

On the Power of Tests for Regime Switching

On the Power of Tests for Regime Switching On the Power of Tests for Regime Switching joint work with Drew Carter and Ben Hansen Douglas G. Steigerwald UC Santa Barbara May 2015 D. Steigerwald (UCSB) Regime Switching May 2015 1 / 42 Motivating

More information

FinQuiz Notes

FinQuiz Notes Reading 10 Multiple Regression and Issues in Regression Analysis 2. MULTIPLE LINEAR REGRESSION Multiple linear regression is a method used to model the linear relationship between a dependent variable

More information

Log-Density Estimation with Application to Approximate Likelihood Inference

Log-Density Estimation with Application to Approximate Likelihood Inference Log-Density Estimation with Application to Approximate Likelihood Inference Martin Hazelton 1 Institute of Fundamental Sciences Massey University 19 November 2015 1 Email: m.hazelton@massey.ac.nz WWPMS,

More information

Practical conditions on Markov chains for weak convergence of tail empirical processes

Practical conditions on Markov chains for weak convergence of tail empirical processes Practical conditions on Markov chains for weak convergence of tail empirical processes Olivier Wintenberger University of Copenhagen and Paris VI Joint work with Rafa l Kulik and Philippe Soulier Toronto,

More information

Do Markov-Switching Models Capture Nonlinearities in the Data? Tests using Nonparametric Methods

Do Markov-Switching Models Capture Nonlinearities in the Data? Tests using Nonparametric Methods Do Markov-Switching Models Capture Nonlinearities in the Data? Tests using Nonparametric Methods Robert V. Breunig Centre for Economic Policy Research, Research School of Social Sciences and School of

More information

Applied Statistics and Econometrics

Applied Statistics and Econometrics Applied Statistics and Econometrics Lecture 6 Saul Lach September 2017 Saul Lach () Applied Statistics and Econometrics September 2017 1 / 53 Outline of Lecture 6 1 Omitted variable bias (SW 6.1) 2 Multiple

More information

Estimation of cumulative distribution function with spline functions

Estimation of cumulative distribution function with spline functions INTERNATIONAL JOURNAL OF ECONOMICS AND STATISTICS Volume 5, 017 Estimation of cumulative distribution function with functions Akhlitdin Nizamitdinov, Aladdin Shamilov Abstract The estimation of the cumulative

More information

Bayesian Semiparametric GARCH Models

Bayesian Semiparametric GARCH Models Bayesian Semiparametric GARCH Models Xibin (Bill) Zhang and Maxwell L. King Department of Econometrics and Business Statistics Faculty of Business and Economics xibin.zhang@monash.edu Quantitative Methods

More information

Motivational Example

Motivational Example Motivational Example Data: Observational longitudinal study of obesity from birth to adulthood. Overall Goal: Build age-, gender-, height-specific growth charts (under 3 year) to diagnose growth abnomalities.

More information

Bayesian Semiparametric GARCH Models

Bayesian Semiparametric GARCH Models Bayesian Semiparametric GARCH Models Xibin (Bill) Zhang and Maxwell L. King Department of Econometrics and Business Statistics Faculty of Business and Economics xibin.zhang@monash.edu Quantitative Methods

More information

Statistics: Learning models from data

Statistics: Learning models from data DS-GA 1002 Lecture notes 5 October 19, 2015 Statistics: Learning models from data Learning models from data that are assumed to be generated probabilistically from a certain unknown distribution is a crucial

More information

Inference in Regression Analysis

Inference in Regression Analysis Inference in Regression Analysis Dr. Frank Wood Frank Wood, fwood@stat.columbia.edu Linear Regression Models Lecture 4, Slide 1 Today: Normal Error Regression Model Y i = β 0 + β 1 X i + ǫ i Y i value

More information

10. Time series regression and forecasting

10. Time series regression and forecasting 10. Time series regression and forecasting Key feature of this section: Analysis of data on a single entity observed at multiple points in time (time series data) Typical research questions: What is the

More information

Non-parametric Inference and Resampling

Non-parametric Inference and Resampling Non-parametric Inference and Resampling Exercises by David Wozabal (Last update 3. Juni 2013) 1 Basic Facts about Rank and Order Statistics 1.1 10 students were asked about the amount of time they spend

More information

LECTURE 2 LINEAR REGRESSION MODEL AND OLS

LECTURE 2 LINEAR REGRESSION MODEL AND OLS SEPTEMBER 29, 2014 LECTURE 2 LINEAR REGRESSION MODEL AND OLS Definitions A common question in econometrics is to study the effect of one group of variables X i, usually called the regressors, on another

More information

Cubic Splines. Antony Jameson. Department of Aeronautics and Astronautics, Stanford University, Stanford, California, 94305

Cubic Splines. Antony Jameson. Department of Aeronautics and Astronautics, Stanford University, Stanford, California, 94305 Cubic Splines Antony Jameson Department of Aeronautics and Astronautics, Stanford University, Stanford, California, 94305 1 References on splines 1. J. H. Ahlberg, E. N. Nilson, J. H. Walsh. Theory of

More information

Week 9 The Central Limit Theorem and Estimation Concepts

Week 9 The Central Limit Theorem and Estimation Concepts Week 9 and Estimation Concepts Week 9 and Estimation Concepts Week 9 Objectives 1 The Law of Large Numbers and the concept of consistency of averages are introduced. The condition of existence of the population

More information

Volatility. Gerald P. Dwyer. February Clemson University

Volatility. Gerald P. Dwyer. February Clemson University Volatility Gerald P. Dwyer Clemson University February 2016 Outline 1 Volatility Characteristics of Time Series Heteroskedasticity Simpler Estimation Strategies Exponentially Weighted Moving Average Use

More information

Robust Backtesting Tests for Value-at-Risk Models

Robust Backtesting Tests for Value-at-Risk Models Robust Backtesting Tests for Value-at-Risk Models Jose Olmo City University London (joint work with Juan Carlos Escanciano, Indiana University) Far East and South Asia Meeting of the Econometric Society

More information

UNIVERSITÄT POTSDAM Institut für Mathematik

UNIVERSITÄT POTSDAM Institut für Mathematik UNIVERSITÄT POTSDAM Institut für Mathematik Testing the Acceleration Function in Life Time Models Hannelore Liero Matthias Liero Mathematische Statistik und Wahrscheinlichkeitstheorie Universität Potsdam

More information

A Shape Constrained Estimator of Bidding Function of First-Price Sealed-Bid Auctions

A Shape Constrained Estimator of Bidding Function of First-Price Sealed-Bid Auctions A Shape Constrained Estimator of Bidding Function of First-Price Sealed-Bid Auctions Yu Yvette Zhang Abstract This paper is concerned with economic analysis of first-price sealed-bid auctions with risk

More information

Spline Density Estimation and Inference with Model-Based Penalities

Spline Density Estimation and Inference with Model-Based Penalities Spline Density Estimation and Inference with Model-Based Penalities December 7, 016 Abstract In this paper we propose model-based penalties for smoothing spline density estimation and inference. These

More information

Introduction to machine learning and pattern recognition Lecture 2 Coryn Bailer-Jones

Introduction to machine learning and pattern recognition Lecture 2 Coryn Bailer-Jones Introduction to machine learning and pattern recognition Lecture 2 Coryn Bailer-Jones http://www.mpia.de/homes/calj/mlpr_mpia2008.html 1 1 Last week... supervised and unsupervised methods need adaptive

More information

ECON 4230 Intermediate Econometric Theory Exam

ECON 4230 Intermediate Econometric Theory Exam ECON 4230 Intermediate Econometric Theory Exam Multiple Choice (20 pts). Circle the best answer. 1. The Classical assumption of mean zero errors is satisfied if the regression model a) is linear in the

More information