The data set in lawsch85.dta contains information for 1985 cohort of the top 156 law schools...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The data set in lawsch85.dta contains information for 1985 cohort of the top 156 law schools in the US. Variables in the dataset include rank, law school ranking, salary, median starting salary, cost, law school cost. i. Remove the NA values using the command: data = subset(data,!is.na(salary) & !is.na(cost)) where data is the name of the dataset you've loaded into R. Compute the average starting salary across law schools in the sample. Do you think it coincides with the average starting salary across law students?1 ii. Regress starting salaries on the law school's ranking: salary; Bo+ 1 rank; + Ui = compute standard errors and a 95% confidence interval for . Report your results. iii. What is the expected difference in starting salary between the 20th top law school with the 40th top law school? Construct a 95% confidence interval for the difference. Report your results. 2 iv. Now regress the cost of attending law school on the school's ranking: cost; = Bo1 ranki + ui compute standard errors and a 95% confidence interval for . Report your results. v. What is the expected difference in cost between the 20th top law school with the 40th top law school? Construct a 95% confidence interval for the difference. Report your results. vi. Given the results in ii-iii. and iv-v. discuss the relative benefits and costs of attending a more prestigious program. vii. Construct a plot with rank on the x-axis and cost on the y-axis. Do you believe Least-Squares Assumptions (LSA) 1-3 are reasonable assumptions in this setting? Plot rank against salary. in the same manner and comment on LSA 1-3. viii. Construct a plot with rank on the x-axis and log(salary) on the y-axis. 3 Comment on LSA 1-3. ix. Repeat ii. but this time regressing log(salary) on rank: log(salary) = 0 + B ranki + Ui, compute standard errors and a 95% confidence interval for 1. Remark: This is still a linear model as we saw in class, everything we have seen so far applies to this regression. The only difference is in the interpretation of 1, when x is a continuous regressor: because d log(x) = = d log(yi) dxi = dyi Yi dx/x. This means that 100 is (roughly) the percentage increase in y when x changes by one unit. Economists often look at log(salary) instead of salary to make statements in terms of percentage increases/decreases. Here x is discrete, so 100 is just the percent change in log(salary) when we change rank by one unit. The data set in lawsch85.dta contains information for 1985 cohort of the top 156 law schools in the US. Variables in the dataset include rank, law school ranking, salary, median starting salary, cost, law school cost. i. Remove the NA values using the command: data = subset(data,!is.na(salary) & !is.na(cost)) where data is the name of the dataset you've loaded into R. Compute the average starting salary across law schools in the sample. Do you think it coincides with the average starting salary across law students?1 ii. Regress starting salaries on the law school's ranking: salary; Bo+ 1 rank; + Ui = compute standard errors and a 95% confidence interval for . Report your results. iii. What is the expected difference in starting salary between the 20th top law school with the 40th top law school? Construct a 95% confidence interval for the difference. Report your results. 2 iv. Now regress the cost of attending law school on the school's ranking: cost; = Bo1 ranki + ui compute standard errors and a 95% confidence interval for . Report your results. v. What is the expected difference in cost between the 20th top law school with the 40th top law school? Construct a 95% confidence interval for the difference. Report your results. vi. Given the results in ii-iii. and iv-v. discuss the relative benefits and costs of attending a more prestigious program. vii. Construct a plot with rank on the x-axis and cost on the y-axis. Do you believe Least-Squares Assumptions (LSA) 1-3 are reasonable assumptions in this setting? Plot rank against salary. in the same manner and comment on LSA 1-3. viii. Construct a plot with rank on the x-axis and log(salary) on the y-axis. 3 Comment on LSA 1-3. ix. Repeat ii. but this time regressing log(salary) on rank: log(salary) = 0 + B ranki + Ui, compute standard errors and a 95% confidence interval for 1. Remark: This is still a linear model as we saw in class, everything we have seen so far applies to this regression. The only difference is in the interpretation of 1, when x is a continuous regressor: because d log(x) = = d log(yi) dxi = dyi Yi dx/x. This means that 100 is (roughly) the percentage increase in y when x changes by one unit. Economists often look at log(salary) instead of salary to make statements in terms of percentage increases/decreases. Here x is discrete, so 100 is just the percent change in log(salary) when we change rank by one unit.
Expert Answer:
Related Book For
Applied Regression Analysis and Other Multivariable Methods
ISBN: 978-1285051086
5th edition
Authors: David G. Kleinbaum, Lawrence L. Kupper, Azhar Nizam, Eli S. Rosenberg
Posted Date:
Students also viewed these economics questions
-
SA-TIED YOUNG SCHOLARS PROGRAMME Young Scholars This paper was produced as a part of the SA-TIED Young Scholars' programme. The programme is a part of SATIED's capacity building initiatives, designed...
-
"internet radios" for streaming audio, and personal video recorders and players. Describe design and evaluation processes that could be used by a start-up company to improve the usability of such...
-
A 1.000 m by 1.500 m by 2.000 m cube of a continuous solid is deformed (dashed line in the figure) into a shape by the movement of point E to E'. Considering small deformations, the displacement...
-
Consider structural formulas A, B, C, and D: (a) Which structures contain a positively charged carbon? (b) Which structures contain a positively charged nitrogen? (c) Which structures contain a...
-
Identify and briefly describe some of the restraining forces that impede the growth of global marketing.
-
How does long-term financial planning support the goal of the financial manager?
-
Suppose interest rates on Treasury bonds rose from 5% to 9% as a result of higher interest rates in Europe. What effect would this have on the price of an average companys common stock?
-
Briefly describe any FOUR advantages of using comments in a program.
-
Consider the following table for the total annual returns for a given period of time. Average Series return Standard Deviation Large-company stocks. 12.4% 20.7% Small-company stocks. 16.4 33.0...
-
What is the output of the following program? class Q2 { public static { void main(String[] args) String str[] { "One", "Two" "Three" }; System.out.println(str.length); System.out.println(str[ 0...
-
The warehouse distribution manager and his clerks report to the country manager in their respective country. Most of the country managers defer to their warehouse distribution manager and except for...
-
Assume a project has a sales quantity of 8,000 units, plus or minus 5 percent and a sales price of $70 a unit, plus or minus 1 percent. The expected variable cost per unit is $123 percent and the...
-
Explain whether your answers to problem 1 change if Tammy's will had instead included the following devise to Derek: a. "I devise the value of 1,000 shares of ABC Corporation common stock, as of the...
-
Minnow Fish Market has a beginning balancing in the Accumulated Depreciation - Equipment account of $400,000. The accumulated depreciation on equipment sold during the year was $120,000. At the end...
-
1-Costs incurred by the lessor that are associated directly with originating a lease and are essential to acquire that lease are called initial direct costs. Initial direct costs are expensed at the...
-
What kind of financial pressures can an LBO cause?
-
You release three balls simultaneously from the same height above the floor. The balls all carry the same quantity of surplus positive charge, but they have different masses: \(1 \mathrm{~kg}, 2...
-
A proton, a deuteron (a hydrogen nucleus containing one proton and one neutron), and an alpha particle (a helium nucleus consisting of two protons and two neutrons) initially at rest are all...
-
What orientation of an electric dipole in a uniform electric field has the greatest electric potential energy? What orientation has the least? (Let the system comprise both the electric dipole and...
Study smarter with the SolutionInn App