Question: Assuming we have a linear standard model that represents the relationship between executive salaries and return on investment, the linear standard model can be written

Assuming we have a linear standard model that represents the relationship between executive salaries and return on investment, the linear standard model can be written as follows:

where it represents:

: Executive salaries measured in US dollars (dependent variable).

Required:

Required using RStudio Filled out by the student to apply the code with the result
  1. Obtain the data note that the file name is ceosal1 and specify the number of views and the number of variables in the data.

Tip: Data can be called from the following package

Wooldridge Library

Data ("CEOSAL1")

Siosal1

NROW (CEOSAL1)

Nkol (Siosal 1)

In the absence of the package, it is necessary to download the package and then save it in the R program, with the importance of using the following code attach(ceosal1) in order to use variables in the data directly.

  1. Obtain variance between executive salaries and return on investment

Tip: The code can be used cov(x,y)

  1. Get variance for ROE variable

Tip: The var(x,y) code can be used

  1. Average Salaries of Executive Directors (Salary)
  1. Average Return on Investment (ROE)
  1. Get value and value

According to the following equation:

  1. Re-estimating the linear model using lm() code to get and the value of
  1. Graph of dependent variable and independent variable
  1. Line mode with graph
  1. By graph estimate the type of relationship between executive salaries and return on investment

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!