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 |
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. | |
Tip: The code can be used cov(x,y) | |
Tip: The var(x,y) code can be used | |
| |
| |
According to the following equation:
| |
| |
| |
| |
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
