Starting salaries for accountants in Tampa follow those of many U.S. cities. The table bellow shows starting salaries (in thousands of dollars) and the cost of living index for 5 metropolitan areas. A regression analysis will help provide explanation on how cost of living explains salary in this sample.
|
According to what is shown in the scatter diagram.
|
Metropolitan area |
Index |
Salary (thousand $) |
|||||
Oklahoma City |
46 |
19 |
|||||
Tampa |
35 |
10 |
|||||
Atlanta |
50 |
27 |
|||||
Sacramento |
65 |
29 |
|||||
Honolulu |
59 |
25 |
|||||
Mean |
51.0 |
22.0 |
(5pt) Provide an interpretation for the intercept of the estimated regression equation
I used R software to solve this problem,
R code:
salary=c(19,10,27,29,25)
index=c(46,35,50,65,59)
a)
plot(index,salary) # it gives scatter plot
From scatter plot we see that there is highly positive correlation between cost of living index and salary.
b)
fit=lm(salary~index) # it gives least square regression equation
fit
Call:
lm(formula = salary ~ index)
Coefficients:
(Intercept) index
-8.4871 0.5978
b0= -8.4871
b1 = 0.5978
c)
Required least square equation is,
salary = -8.4871 + 0.5978 index
d)
Interpretation of slope: When cost of living index increased by 1 unit then salary increased by 0.5978 * 1000 = 597.8 dollars.
Interpretation of intercept: When cost of living index is zero then salary is -8.4871 * 1000 = -8487.1 dollars.
Starting salaries for accountants in Tampa follow those of many U.S. cities. The table bellow shows...
(I did this homework in completion but professor was not happy with answers whatsoever, need additional answers and especially improvement to 1.b help!! photos not attaching? mean by severai steps. inis is a View Feedback homework and will need you to work, in one two View Feedback or various steps. Unfortunately, I cannot read your screen shot of what you did on excel. As I have said in numerous messages announcements etc, I cannot аcсept pictures. You need to write...