Assignment 2

Instructions

For questions 1-2, you can submit a PDF or scanned copy of your work. Please consult with me if you don’t know how to accomplish this.

For questions 3-4, you must use STATA, and must turn in a copy of your Do-file. The Do-file must perform every task below neatly and correctly.

Questions

1. Derive the critical values of β0^ and β1^ that minimize the residual sum of squares for the following sample regression model Yi=β0^+β1^Xi+ei^
2. Derive the critical values of α0^ and α1^ that minimize the residual sum of squares for the following sample regression model Yi=α0^+α1^(Xi−X¯)+ei^
4. a) Use the answers from question 1 to get the values for β0^ and β1^.
5. b) Generate the predicted values of Y
6. c) Calculate the mean of the true value of Y , and compare it to the mean of the predicted value of Y. Are they the equal?
7. d) Generate the sample error term
8. e) Derive the value of R2
9. f) How much of the variation in Y is explained by X?

Hint: Use preserve, collapse, and restore to make everything a bit easier

The dataset has information on CEOs of US Corporations. There are 177 observations, and two variables: ceoten has the years the individual has been a CEO of that company, and salary is the compensation in thousands of dollars.

1. a) Find the average salary and the average tenure in the sample
2. b) Identify how many CEOs are in their first year as CEO
3. c) Estimate the values of the parameters β0^ and β1^ for the following simple regression model:

salaryi=β0^+β1^ceoteni+ei^

1. d) On average, what is the predicted increase in salary given one additional year as CEO?
2. e) How much of the variation in salary is explained by years as CEO?
3. f) Is years as CEO a good predictor of the variation in CEO salary? Explain.

Pages (275 words)
Standard price: \$0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back

## Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
\$0.00