Question

In: Statistics and Probability

The Excel file: OfficeEnergy.xlsx contains information recorded on a sample of 40 of the company’s city...

The Excel file: OfficeEnergy.xlsx contains information recorded on a sample of 40 of the company’s city branches. The file contains the amount of renewable energy (kWh) consumed in the previous year and the size (square metres) of each branch. Download these data and fit a linear regression model for predicting RenewableEnergy (Y) from Size (X).

Use your Excel output, and any other information provided, to answer the following questions. For each question, either choose the most correct option, or type in the answer to the number of decimal places specified.

Size RenewableEnergy
36 3106.946
38 3255.913
30 2847.328
33 3111.678
42 3007.902
35 3242.256
33 3162.706
34 2982.56
36 3253.409
26 3136.54
42 3380.081
29 3114.586
35 3342.566
35 3006.045
35 3377.869
40 3203.741
38 3364.498
43 3212.088
33 3258.666
35 3430.249
33 3463.207
41 3148.291
36 3144.409
35 3219.305
40 3253.939
45 3507.016
34 3035.045
37 3269.05
33 3121.051
40 3322.869
40 3412.624
40 3240.611
28 3240.646
35 2967.708
39 3380.973
31 3007.116
39 3342.504
35 3281.907
38 3241.095
35 3251.641

Answer the following questions by choosing the most correct option or typing the answer:

  1. (1 mark) The slope of the least squares regression line is positive or negative

  2. (1 mark) The largest branch in size used the greatest amount of renewable energy in the previous year true or false

  3. The branch with the largest residual had used 3463.207 kWh of renewable energy in the previous year and was 33 square metres in size. Calculate the value of the residual. Type your answer with 3dp Answer

  4. The absolute value of the test statistic for testing the slope of the regression line is: Answer (3dp) with degrees of freedom equal to: Answer (integer).

  5. (1 mark) The p-value for testing the slope of the regression line is less than 0.05. true or false

  6. (1 mark) The correlation is: Answer (3dp - remember to include a negative sign if appropriate)

  7. Use the regression equation to predict the renewable energy consumption for a branch that is 32 square metres in size (3dp): Answer

  8. We are 95% confident that for each extra square metre in the size of a branch, the average annual renewable energy consumption is expected to increase or decrease? between Answer kWh (lower limit) and Answer kWh (upper limit). Type your answers with 3dp.

Solutions

Expert Solution

we will solve it by using excel and the steps are

Enter the Data into excel

Click on Data tab

Click on Data Analysis

Select Regression

Select input Y Range as Range of dependent variable as renewable energy.

Select Input X Range as Range of independent variable as Size.

click on labels if your selecting data with labels

click on ok.

So this is the output of Regression in Excel.

SUMMARY OUTPUT
Regression Statistics
Multiple R 0.407
R Square 0.166
Adjusted R Square 0.144
Standard Error 138.221
Observations 40.000
ANOVA
df SS MS F Significance F
Regression 1.000 144364.004 144364.004 7.556 0.009
Residual 38.000 725988.994 19104.974
Total 39.000 870352.998
Coefficients Standard Error t Stat P-value Lower 95% Upper 95%
Intercept 2688.577 193.187 13.917 0.000 2297.490 3079.663
Size 14.636 5.324 2.749 0.009 3.858 25.415

a)The slope of the least squares regression line is positive or negative?

The slope = 14.636 and it is positive.

b)The largest branch in size used the greatest amount of renewable energy in the previous year.

False

c)The branch with the largest residual had used 3463.207 kWh of renewable energy in the previous year and was 33 square metres in size. Calculate the value of the residual.

renewable energy = 2688.577+14.636*Size

renewable energy = 2688.577+14.636*33

renewable energy = 3171.565

residual = actual value - predicted value

residual = 3463.207 -3171.565

residual = 291.642

d)The absolute value of the test statistic for testing the slope of the regression line is

t-statistic= 2.749 with 38 degrees of freedom

e) The p-value for testing the slope of the regression line is less than 0.05

True

f)The correlation is 0.407

g) Use the regression equation to predict the renewable energy consumption for a branch that is 32 square metres in size

renewable energy = 2688.577+14.636*Size

renewable energy = 2688.577+14.636*32

renewable energy = 3156.929


Related Solutions

Use the following information for the next 7 problems: A simple random sample of 40 recorded...
Use the following information for the next 7 problems: A simple random sample of 40 recorded speeds is obtained from cars traveling on a section of interstate 405 in Los Angeles. The sample has a mean of 68.4 miles per hour and a standard deviation of 5.7 miles per hour. We wish to test the hypothesis that the mean speed of cars on this stretch of road is higher than the posted speed limit of 65 miles per hour. Test...
1. The Excel file “FoodBank” contains the number of pounds of food donated to a local...
1. The Excel file “FoodBank” contains the number of pounds of food donated to a local food bank for each of the past 30 weeks. For planning purposes, the manager of the food bank would like a forecasting model to predict future donations. Create simple exponential smoothing models in Excel using α=0.2, α=0.5, and α=0.8. (Recall that damping factor = 1-α.) Week Donations 1 260 2 264 3 268 4 242 5 269 6 261 7 267 8 256 9...
The Excel file Burglaries contains data on the number of burglaries before and after a Citizen...
The Excel file Burglaries contains data on the number of burglaries before and after a Citizen Police program. Apply the Descriptive Statistics tool to these data. Does Chebyshev’s theorem hold for the number of monthly burglaries before and after the citizen-police program? Data : Before Citizen-Police Program Month Monthly burglaries 1 60 2 44 3 37 4 54 5 59 6 69 7 108 8 89 9 82 10 61 11 47 12 72 13 87 14 60 15 64...
Question 2. Go to the Blackboard and download the MS excel file, ‘stock_return.xlsx’. It contains a...
Question 2. Go to the Blackboard and download the MS excel file, ‘stock_return.xlsx’. It contains a year of monthly stock price data of Amazon, Pfizer, and S&P 500 (Market Index). Using the data, answer the following questions. (50 points) (1) Compute the monthly return of Amazon and Pfizer. You should get 12 monthly returns for each. To get a monthly return, you need to use previous month’s stock price. For example, Amazon’s stock return of 2018-01 will be [(Stock price...
In the Excel data file, the tab labeled Question 1 contains data on the number of...
In the Excel data file, the tab labeled Question 1 contains data on the number of times boys and girls raise their hands in class. Conduct the t-test: Two-Sample Assuming Equal Variances. Males 9,8,4,9,3,8,10,8,9,10,7,6,12 Females 3,5,1,2,6,4,3,6,7,9,7,3,7,6,8,8 a. What is the null hypothesis? b. What is the research hypothesis? c. Why run a Two-Sample Assuming Equal Variances t-test? d. Interpret the findings. What are the results of the hypothesis test? Can you reject the null hypothesis?
The excel file gives the city and highway gas mileage for 21 two-seater cars, including the...
The excel file gives the city and highway gas mileage for 21 two-seater cars, including the Leaf hybrid car: Type City Hwy T 17 24 T 20 28 T 20 28 T 17 25 T 18 25 T 12 20 T 11 16 T 10 16 T 17 23 T 60 66 T 9 15 T 9 13 T 15 22 T 12 17 T 22 28 T 16 23 T 13 19 T 20 26 T 20 29 T...
The data file contains the Body Mass Index (BMI) for a sample of men and a...
The data file contains the Body Mass Index (BMI) for a sample of men and a sample of women. Two of the columns, OW_male and OW_female code the BMI values as: 0 - if BMI ≤ 25.4 (these are considered “not overweight”); 1 - if BMI >= 25.5 (these are considered “overweight”). (a) Test whether there is sufficient evidence to show that the proportion of overweight males (proportion of males who are overweight) is different than the proportion of overweight...
Look at the attached Excel file which contains two column charts identifying data for a company:...
Look at the attached Excel file which contains two column charts identifying data for a company: Week 1 Discussion Topic 2 Ethics.xls. Notice that the data is depicted differently, however, the data presented is really the same. Is it ethical to present data in a different way in order to make the data appear more favorable? Explain your reasoning.
The file FastFood contains the amount that a sample of fif- teen customers spent for lunch...
The file FastFood contains the amount that a sample of fif- teen customers spent for lunch ($) at a fast-food restaurant: 7.42 6.29 5.83 6.50 8.34 9.51 7.10 6.80 5.90 4.89 6.50 5.52 7.90 8.30 9.60 At the 0.05 level of significance, is there evidence that the mean amount spent for lunch is different from $6.50? Determine the p-value in (a) and interpret its meaning. What assumption must you make about the population distribu- tion in order to conduct the...
The Excel file Stock Data contains monthly data for several stocks and the S&P 500 Index...
The Excel file Stock Data contains monthly data for several stocks and the S&P 500 Index (i.e., the market). Assume the risk free rate of return is 2.5%. Compute the cost of equity (required rate of return) for Cin using the classic CAPM. Compute the Weighted Average Cost of Capital (WACC) for Cin using the classic CAPM if the corporate tax rate is 20%, the cost of debt is 15% and the capital structure is: 75% equity and 25% debt....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT