Nonparametric Econometrics Problem Set 1 2024R

Java Python Nonparametric Econometrics

Problem Set 1

Due March 12, 2024

Exercises

1. The Kernel density estimator is defined as

where X1, X2, . . . , Xn are iid observations. If the Kernel function K(·) satisfies that ( i ) ∫ K(u)du = 1; ( ii ) K(u) = K (−u); ( iii ) ∫ u2K(u)du = κ2 < ∞, prove that

2. In our lectures, we define a CDF estimator called ”Empirical Distribution”, i.e.

where X1, X2, . . . , Xn are iid observations with CDF F(·).

(a) Find the bias, variance and MSE of this empirical distribution estimator.

(b) Show that F(x) − F(x) = Op(n −1/2).

3. Suppose that you have a sample of wages for Nonparametric Econometrics Problem Set 1 2024R people working in Beijing, Shanghai and Shenzhen. For each city, you collect 500 observations. You estimate the density functions fbj (x), fsh(x) and fsz(x) for each group using the same bandwidth, respectively. Can you use (fbj(x) + fsh(x) + fsz(x)) / 3 to estimate the density function of the combined sample?

4. (Simulation) ( i ) Generate an iid sample from standard normal distribution N(0, 1) with sample size n = 300. ( ii ) Estimate the density function using Epanechnikov kernel K(u) = 0.75(1 − u 2 )1{|u| ≤ 1}. The bandwidth is h = 0.2, 0.5 and 1. ( iii ) Plot standard normal density function and your three estimated density functions in a single figure. Discuss the importance of bandwidth.

5. Exercise 1.17 in Li and Racine (2007).

Hint: The data Italy wages is available in R-package "np" . You can install this package by

install         

  • 3
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值