Please do not use the Im command in R to run the regression, use the OLS...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Please do not use the "Im" command in R to run the regression, use the OLS formula instead! Both your detailed solution and your R code need to submitted in elearning. 1. (Univariate OLS) In order to study the effect of education (educ) on Earning (earning), we have a data set called PS2Earning.txt, which contains information on 935 individuals. Read in the data set in R and do the following. (a) Using the formulas on slide 22 of Lecture Note 3 to estimate the coefficient a and b in the following model, earning; = a + b educ; + €₂ What is the covariance between educ and the estimated residual? What can you say about the normal equation (see slide 24 of Lecture Note 3)? (b) Now use the the formula dito estimate the coefficient d in the following model, i=1 earning; d educi + ui (c) Is the mean of the estimated residuals zero, and why? Does the normal equation still hold now? What can you say about the covariance between educ and the estimated residual again? Is it a good idea to get ride of the intercept term? Please do not use the "Im" command in R to run the regression, use the OLS formula instead! Both your detailed solution and your R code need to submitted in elearning. 1. (Univariate OLS) In order to study the effect of education (educ) on Earning (earning), we have a data set called PS2Earning.txt, which contains information on 935 individuals. Read in the data set in R and do the following. (a) Using the formulas on slide 22 of Lecture Note 3 to estimate the coefficient a and b in the following model, earning; = a + b educ; + €₂ What is the covariance between educ and the estimated residual? What can you say about the normal equation (see slide 24 of Lecture Note 3)? (b) Now use the the formula dito estimate the coefficient d in the following model, i=1 earning; d educi + ui (c) Is the mean of the estimated residuals zero, and why? Does the normal equation still hold now? What can you say about the covariance between educ and the estimated residual again? Is it a good idea to get ride of the intercept term?
Expert Answer:
Related Book For
Database Systems Design Implementation and Management
ISBN: 978-1337627900
13th edition
Authors: Carlos Coronel, Steven Morris
Posted Date:
Students also viewed these accounting questions
-
What is the covariance between each stock and the market index? Suppose that the index model for stocks A and B is estimated from excess returns with the following results: RA = 3% 1 .7RM + eA RB =...
-
What is the covariance between the random variable Y and itself, Cov1Y, Y2? What is the correlation between a random variable and itself?
-
Must show financial calculator steps. Do not use the formula method. A person buys a townhouse for $350,000. She makes a 20% down payment with the balance financed by a mortgage at a Bank. The...
-
For each of the following, indicate whether the item would be reported on the balance sheet (B/S), reported on the income statement (I/S), or not shown in the financial statements (Not) and whether...
-
In 1996, the drug Prilosec became the best-selling anti-ulcer drug in the world. (The drug was the most effective available, and its sales outdistanced those of its nearest competitor.) Although...
-
Audit of Investments. In connection with an examination of the financial statements of Moravia of Prague (Praha), the Czech Republic, Libusa Stadic, Auditor, is considering the necessity of...
-
For a sample of size n = 15, the following values were obtained: b0 = 3.71, b1 = 8.38, se = 1.13, (x x)2 = 7.71, x = 13.16. Construct a 95% prediction interval for an individual response when x = 8.
-
Southern Sporting Goods Company makes basketballs and footballs. Each product is produced from two resourcesrubber and leather. The resource requirements for each product and the total resources...
-
AZC Ltd needs to prepare pro forma financial statements for the next fiscal year. To do so, the company must forecast its total overhead cost. The actual machine hours and total overhead cost are...
-
Sherina Smith (Social Security number 785-23-9873) lives at 536 West Lapham Street, Milwaukee, WI 53204, and is self-employed for 2019. She estimates her required annual estimated tax payment for...
-
1. Which option is NOT a networking protocol? a. MBP b. FTP c. TCP d. POP3 2. Which device is typically used to connect an Ethernet to an Internet Service Provider(ISP). a. Data Server b. Switch c....
-
Discuss how each of the following official pronouncements relates to internal auditing management: a. Standard 120. b. Standard 230. C. Standard 420. d. Standard 430. e. Standard 560. f. Professional...
-
What is the value of an intellectual understanding of other people? Why is it important to have more than just an intellectual understanding of other people?
-
Discuss the steps involved in the audit planning process.
-
What might be some consequences of an inadequate amount of each of these sources (cited in your response to question 2) of personal security?
-
What factors should the auditor consider when developing specific audit objectives? Can there be more than one specific audit objective for a particular account for each category of assertion?...
-
six recommended action steps to improve the individual or family's financial situation Recommended financial products such as bank accounts, insurance policies, investments, etc. Calculations of the...
-
l ask this second time correnct answer is 38,01 can we look pls Consider a non-conducting rod of length 8.8 m having a uniform charge density 4.5 nC/m. Find the electric potential at P, a...
-
Create the initial ER diagram for a video rental shop. Use (at least) the following description of operations on which to base your business rules. The video rental shop classifies movie titles...
-
Use the following brief description of operations as the source for the next database design: All aircraft owned by ROBCOR require periodic maintenance. When maintenance is required, a maintenance...
-
What is data replication, and what are the three replication strategies?
-
You were engaged to audit the financial statements of Ronlyn Corporation for the year ended June 30, 1999. On May 1, 1999, the corporation borrowed $500,000 from Second National Bank to finance plant...
-
You are engaged in an audit of the financial statements of Pate Corporation for the year ended December 31, 1999. The financial statements and records of Pate Corporation have not been audited by...
-
The Eaton Company was incorporated July 10, 1999, with authorized capital as follows: a. Common stock. Class A, 20,000 shares, par value $25 per share. b. Common stock. Class B, 100,000 shares, par...
Study smarter with the SolutionInn App