



Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!




1 Introduction
This problem set is meant to allow students to practice the econometric theory which is learnt in the first 30 videos or so of the ’undergraduate econometric course’ on youtube. The emphasis is on practical application of the subject, although there will also be a theory section for students wishing to polish up on this aspect.
2 Setting up Gretl
Throughout this course we shall be using Gretl; a nice statistical program which (importantly) is available free of charge. Of course, feel welcome to use other tools: Stata, EViews, R, SPSS, Matlab, Octave etc. will all be (more than) capable of handling the data analysis encountered in this course. However, in order to make this course available to as wide an audience as possible, Gretl will be the primary tool used for analysis. As such, some of the answers will be Gretl-specific, but I shall try to limit this specificity where possible.
In order to get Gretl set up on your computer go to:
From then on, I recommend using the self-installer if available for your machine. This will guide you through installation, and (in my experience) allow you to get setup as quickly as possible. Alternatively, follow the download instructions to get Gretl setup.
3 Crime and Unemployment - practical
In this question we are going to examine the relationship between rates of violent crime in the US, and the rate of unemployment. In order to download the data for this problem set go to:
http://www.oxbridge-tutor.co.uk/#!datasets/culy
and download the sample dataset for problem set 1 - it should be in a Excel 1997- format. Don’t worry if you don’t have Excel on your computer, Gretl is still able to read the file. Start up Gretl. In order to import the data into Gretl navigate to File → Open data → Import → Excel. Then select the file from its location where it was downloaded to, and click ’open’. Just click ’ok’ of a box opens asking about the row and column number to start from. Then click ’no’ when asked about whether you want to give the data a time series or panel interpretation. If the import has worked
4 Theory
This section aims to build up your theoretical knowledge of econometrics, and should cover the first 30 videos or so of material from the ’undergraduate econometrics course’. This section will complement the practical part of the problem set, but is not a required part of the course.
Xi = μ + εi
εi ∼ iid(0, σ^2 ). Here μ is the mean number of years of education completed by parents. For a sample of N students selected independently from the population: (a) What is the expected value of the sample mean? (b) Calculate the variance of the sample mean. What happens to the variance as the sample size increases? (c) Is the sample mean consistent? (d) Prove that the sample mean is a least-squares estimator for the population mean. (e) Is the sample mean BLUE? Either way, prove it.
(a) X˜ = (^) N^1 − 1
i= 1
Xi © Unbiased © Consistent © Both © Neither
(b) Xˆ = (^) N^2
i= 1
Xi © Unbiased © Consistent © Both © Neither
(c) Assuming N is even. ¯X = (^) N^2
i= 1
(Xi + μ) + (^) N^2
i=N/ 2 + 1
(Xi − μ) © Unbiased © Con-
sistent © Both © Neither (d) Y ∼ N(μ, σ^2 ) © Unbiased © Consistent © Both © Neither
(e) Z = (^) N^1
i= 1
wiXi Where:
i= 1
wi = 1 © Unbiased © Consistent © Both © Neither
Yi = α + βXi + εi
(a) Derive the formula for the sample least squares estimator for the parameters α and β. (b) In the regression of X on Y (the reverse of the above), what is the formula for the least squares estimator for the slope parameter on Y? (c) If the slope parameter for the reverse regression is δ. Is the value of δ × β = 1? Explain your reasoning. (d) Show that the geometric mean of δ and β is equal to the correlation coefficient.
Xi ∼ μ + εi
And the height of individuals in the varies is given by:
Yi ∼ μ + i
Where εi ∼ iid(0, σ^2 ) and i ∼ iid(0, 4 σ^2 ). (a) Is the sample mean from the population of samies an unbiased estimator of μ? (b) Is the sample mean from the population of varies an unbiased estimator of μ and consistent? (c) Which of the two previous estimators is most efficient, and why? (d) You have a sample of N individuals from each population. Is the average of the two sample means unbiased? Is this the best estimator you can construct? (e) For the previous example, if relevant construct a BLUE estimator. If not, prove why the mean of the sample means is best.