PS2--Answers - Econ 141: Problem Set 2: Answers Fall 2007...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Fall 2007 Due Wednesday, September 26th in Class Example SAS code appended at the end. The intention of this exercise is to get you to interpret the regression coefficient estimates and standard errors in a context where you know the underlying population model. When you move to real world data, you will not know the underlying population model, and you will need to be able to use economic and statistical intuition to predict whether the coefficient estimates are biased and to generate precise estiamtes. This entire problem set is to be done in SAS (or an equivalent data analysis software). The first section sets up the data that you will adapt for later questions. You will likely want to have four distinct sections to your SAS code, one for each section of the problem set. These problems draw from the SAS code presented in section 3, which is posted on bspace. The Model Setup You will generate the data for this anaylsis yourself, so there is no data to upload. Start by generating 100 observations of a random variable, x, that is distributed uniformly between 0 and 1 and a random variable, u, that has the standard normal distribution. Also generate a variable, y = 10 * x + u . Then answer the following questions: 1. What is the mean of the variable x in your sample? What is it’s variance in your sample? What should the mean of x be in the population? The mean of x in the sample is 0.53 and the variance is 0.084. The mean of x in the population should be 0.50 . 2. What is the mean of the variable u in your sample? What is it’s variance in your sample? What should the mean and variance of u be in the population? The mean of u in the sample is 0.004 and the variance is 0.755. The mean of u in the population should be 0 and the variance should be 1. 3. What is the covariance between the variables x and y in your sample? The covariance between x and y in the sample is 0.833. 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/12/2012 for the course UGBA 101A taught by Professor Mccullough during the Spring '08 term at University of California, Berkeley.

Page1 / 6

PS2--Answers - Econ 141: Problem Set 2: Answers Fall 2007...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online