Question 1
This exercise asks you to prove some theoretical results. It is important to show all the steps in your proofs.
Consider the following simple linear regression model:
Yi = β0 + β1Xi + ui i = 1, . . . , n
assuming E(u|X) = 0 and (Yi, Xi), i = 1 . . . n are iid.
(a) What is the criterion for obtaining ordinary least squares estimators for β0 and β1? Write it using mathematical notation.
(b) Using the objective function specified in (a), derive the first-order conditions and solve them simultaneously to recover the following formulae for the OLS estimators:
Σn Xi − X¯ Yi − Y¯
with: X¯ = 1 Σn
Xi and Y¯
= 1 Σn Yi.
(c) What does it mean, in words, for an estimator to be unbiased? Prove that β1 is an unbiased estimator under the given assumptions. The following steps will guide you through the proof:
Σn Xi − X¯ Yi
^ Σ (Xi − X¯ )ui
You might be wondering why we are not using the expression for β1 derived in (b). In fact, both the expressions are identical as you can easily show the two numerators are equal to each other Σn Xi − X¯ Yi = Σn Xi − X¯ Yi − Y¯.For unbiasedness, it is more convenient to use the expression in (i) which is just one of the several equivalent forms
(ii) Condition on X (which allows you to treat X as non-random) and take expec- tation on both sides. Use the assumption E(ui|Xi) = 0 to show that
E(β^1) = β1
(d) We further assume now that V ar(u X) = σ2, assumed to be known. This is the assumption of homoskedasticity. Under this assumption, it can be shown that, σ2
V ar(β1|X) = n
i=1 Xi — X¯ 2
Discuss intuitively how the variance of the estimator β1 depends on the error variance and the variation in X.
Question 2
Consider the following Cobb-Douglas production function Yi = AKβ1 Lβ2 eui (where Y is output, A is the level of technology, K is the capital stock, L is the labor force and u is the error term)Using data on (Yi, Ki, Li) for i = 1, ..., n firms (where n is a large number) explain how you would test for constant returns to scale. Write down the regression you would run (how would you interpret the coefficients in this regression?) and the null hypothesis for constant returns to scale. Form the t-statistic for your test and show how you would get the numerator and the denominator for this t statistic. When would you reject the null of constant returns to scale at the 5% significance level?
Question 3
Suppose a researcher, using wage data on 200 randomly selected male workers and 240 female workers, estimates the OLS regression (standard errors in parentheses below coefficients)
W^age = 10.73 + 1.78Male, R2 = 0.09, SER = 3.8(0.16) (0.60)
where Wage is measured in dollars per hour and Male is a binary variable that is equal to 1 if the person is a male and 0 if the person is a female. Define the wage-gender gap as the difference in mean earnings between men and women.
(a) What is the estimated gender gap?
(b) Do men earn significantly more than women? Compute the p-value for testing the null hypothesis that there is no gender gap against the one-sided alternative that men earn more (refer to the normal table on pg. 804 of your textbook).
(c) Construct a 95% confidence interval for the gender gap.
(d) In the sample, what is the mean wage of women? What is the mean wage of men?
(e) Another researcher uses these same data but regresses Wages on Female, a variable that is equal to 1 if the person is female and 0 if the person is male. What are the coefficients (intercept and slope) calculated from this regression? What is the R2 value? How do you interpret it?
(f) Does it make sense to assume that E(u Male) = 0 where u is the error term in the model,
Wage = β0 + β1Male + u
Discuss the implications of this assumption being violated. Based on your answer in (b), can you claim gender discrimination against females if E(u Male) = 0? Explain.
Question 4
Consider the following multiple regression modelYi = β0 + β1X1i + β2X2i + ui
You want to consider certain hypotheses involving more than one parameter, and you know that the regression error is homoskedastic. You decide to test the joint hypotheses using the homoskedasticity-only F-statistics. For each of the cases below specify a restricted model and indicate how you would compute the F-statistic to test for the validity of the restrictions at the 1% level.
1. β1 = −β2; β3 = 0
2. β1 + β2 + β3 = 1
3. β1 = β2; β3 = 0
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
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
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme