logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Rech ElleMathematics
(5/5)

659 Answers

Hire Me
expert
Ashok MalhotraComputer science
(5/5)

753 Answers

Hire Me
expert
Narender PatelMathematics
(5/5)

903 Answers

Hire Me
expert
Vitor SCriminology
(5/5)

643 Answers

Hire Me
Econometrics
(5/5)

In this problem, we attempt to estimate the parameters of the following distribution, which may be used to model individuals’ net wealth

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Practicalities. Feel free to use any software you are comfortable with, both for the computations and to type up your answers. Partly handwritten answers are fine too, as long as they are reasonably legible; just scan or take a picture of those parts. Your submission needs to contain both your computer code and your answers to all parts of both questions; there are five such parts, worth three marks each. Please submit your solutions using the submission tool on Canvas. In order to comply with our anonymous marking policy, make sure that your submission contains your SID but not your name.

Question 1. Reconsider the following problem, which we also studied in the first assignment. We are given a sample x1, x2, . . . , xn where the observations are independently generated from a distribution with support [a, b]. We wish to test H0 : a = 0 and b = 1, against the general alternative Ha : not H0. You may assume that all observations satisfy 0 xi 1, because otherwise formal testing is pointless and we might as well reject the null hypothesis immediately. The test statistic is still W  =

−2n ln max{xi} − min{xi}   and rejection happens if W is larger than some critical value, which is to be

We continue to work with samples of size n = 10, and we are interested in the size of a test with nominal level 5%. We also still want to know the power of this test against the three different alternatives where [a, b] is either [0, 0.9], [0.1, 1], or [0.1, 0.9].

In the first assignment, we made the additional assumption that the distribution of the xi was uni-form. We do not wish to make that assumption any more. This means that our techniques from the first assignment are no longer valid, and we need to use either the nonparametric bootstrap or subsampling to perform our test.

Despite the fact that we do not wish to make any assumptions on the distribution of xi when per-

forming a test, we will need to sample from some DGP in order to perform a simulation study. You may use the following DGP: let ui be standard uniform as usual, and set xi = a + (b a) u4 (5 4ui). The distribution of this xi has the required support [a, b] but a shape that is far from uniform.

(a) Implement a nonparametric bootstrap test for this problem, and perform the size and power study.

(b) Implement a subsampling-based test for this problem, and perform the size and power study.

 Question 2. In this problem, we attempt to estimate the parameters of the following distribution, which may be used to model individuals’ net wealth (i.e. assets minus debt). People make different choices in life and experience different random shocks, so we may model their net wealth as a sample of indepen- dent draws from a normal distribution.

However, there is some obvious heterogeneity. For some people this normal distribution has a higher mean, simply because they were born into a richer country or a richer family. Likewise, for some people this normal distribution has a higher standard deviation, because they take more risks. All things consid- ered, we end up with yi µi, σ2 , where µi and σi are drawn (independently from each other, and independently across individuals) from the distributions with the following PDFs:

We are interested in estimating the four parameters α, β, γ, and δ. All of them are positive; there are no other restrictions.

(a) As you can probably see coming, we will need to be able to sample from the distributions of µi and σi. It turns out that the inverse CDF method works in both cases – for σi you should find this fairly easy, and for µi you may want to look back at tutorial 6, where a very similar distribution was used. Write two programmes: one that takes standard uniform draws u(s), α, and β as input, and produces draws

µ(s) as output; and one that takes standard uniform draws v(s), γ, and δ as input, and produces draws

σ(s) as output. The following is not part of the assignment, but you may check that your code works by verifying that it produces histograms that are similar to the plots at the bottom of this page.

For the remaining two parts of this assignment, use the data set wealth that is provided with the assignment. It contains the net wealth reported in a survey of 418 people, in whichever currency these numbers make sense, probably thousands of 1980 dollars. Estimate all four parameters of the model, and provide a standard error for each estimate. Please do not bother with analytical derivatives, as those look like very boring busywork.

(b) Use simulated maximum likelihood. That is, decide what the latent variable ηi should be, write down a formula for your subsimulator, and implement the procedure in your programming language of choice.

(c) Use the method of simulated moments. That is, decide on four useful moment functions (no need to do more than four) and implement the procedure in your programming language of choice.

 

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme