Problem Set 4: Kernel Density Estimation

Problems: Kernel Density Estimation

You may use code to solve these problems. You may then sketch what your plots show, or add the plots to this homework and submit a pdf digitally (email).

Problem 1. Suppose the data are [1, 1.75, 2, 3, 3.25, 4].

Problem 2. Suppose the data X = [-1, -0.5, 0, 0.5, 1] were drawn from a standard Normal distribution.

Problem 3. Suppose the data are X = [5, 7, 7, 8, 10], and fix the bandwidth at h = 1.5 for both kernels below.

Problem 4. Load ./data/heart_failure_clinical_records_dataset.csv.