03 Jun Question 2) (20 points) The last lessons have spent a lot of time describing the slope and intercept terms (and their variances) of
Question
2) (20 points) The last lessons have spent a lot of time describing the slope and intercept terms (and their variances) of the one-variable sample regression function. We also know that for any particular value of the independent variable (call it X0), that the predicted value of Y0 is Y0 = B0 + B1X0 . (This is sometimes called a “point prediction.”)
a) (10) Prove that Y0 is an unbiased estimator of E[Y0|X0].
b) (10) Derive the formula for the variance of Yo . Show at least two steps in this derivation.
a. Hint 1: You are looking for Var(Yo) = Var(B0 + B1X0) . This is the variance of a sum of two random variables. What is the general formula for such a sum? (Go back to week 2 lectures, if you need a reminder.) Use that formula now.
b. Hint 2: If you did hint 1 correctly, you will see you need the formula for cov(B0, B1) . Take it on faith that this can be found to be cov(B0, B1) = -Xbar var(B1) . (You might find it interesting that the two estimators have a negative correlation. A steeper slope tends to imply a lower intercept, and vice versa.)
3) (20 points) Compare the following two regressions:
i. Yi = B0 + B1*Xi + ei
ii. Yi = B0 + B1(2Xi) + ei
Equation i. is exactly the regression we’ve been working with thus far, so all the formulas we’ve derived thus far apply. In equation ii the independent variable has been multiplied by 2. How does this change, if at all, the values of B0, B1, S2p, R2, and SSE?
4) (20 points) Repeat your regression from problem 1. This time, do it in STATA.
a) (5) Report the values of the slope, intercept, and the R2. Confirm the results are identical to what you did in Excel.
b) (5) Reverse the regression. That is, switch the X and Y variables. Report the same results.
c) (5) Has the value of R2 changed? Explain why or why not.
d) (5) For the version of the regression where the X variable is Corruption, calculate the p-value for a two-tailed test where the null hypothesis is ?1= -3600.
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
About Writedemy
We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.
How It Works
To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Are there Discounts?
All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.
