You are on page 1of 3

A B C D

1 Demand forecasting variable rate


2
3 X VARIABLE Y VARIABLE
4 Recruitment rating
5 Year Increase rate (%) Median rate
6 2009 10.30 $183,800
7 2010 6.11 $154,100
8 2011 2.22 $264,548
9 2012 4.11 $544,411
10 2013 52.25 $125,412
11 2014 2.81 $0
12 2015 42.10 $0
13 2016 2.22 $0
14 2017 2.22 $0
15 2018 2.22 $0
16 2019 2.22 $0
17 2020 2.22 $0
18 2021 2.22 $0
19 2022 2.22 $0
20 2023 0.00 $0
21 2024 0.00 $0
22 Average 2.22 $0
23
24
25
26
27
28 To install Analysis ToolPak:
29 1. Click on Excel logo at the top right hand corner or go to the File menu
30 2. Select Excel Options.
31 3. Click Add-Ins.
32 4. Select Analysis ToolPak if it isn't selected already.
33 5. Click Go.
34
35 To create a scatter plot with a regression line:
36 1. With your cursor, select the range from cells B5 to C20.
37 2. Click on Insert and Scatter. A scatter chart will be generated.
38 3. On the scatter chart, right click on any point in the chart.
39 4. Choose "Add Trend Line."
40 5. Select "Linear," "Display Equation on Chart" and "R-Squared Value on Chart."
41
42 To generate more exhaustive diagnostics:
43 1. Click on Data, "Data Analysis," and then select "Regression."
44 2. In the Input Y Range, select C5:C20.
45 3. In the Input X Range, select B5:B20.
46 4. Under Output Options, choose "New Worksheet Ply," then click OK.
Demand estimation using linear regression

Y X1 X2 X3
City Number of weekly riders Price per week Monthly income of riders Average parking rates per month
1 192,000 $15 $5,800 $50
2 190,400 $25 $6,200 $50

17 148,800 $65 $12,650 $105


18 115,696 $102 $13,000 $110
19 147,200 $75 $13,224 $125
20 150,400 $75 $13,766 $130
21 152,000 $75 $14,010 $150
22 136,000 $80 $14,468 $155
23 126,240 $86 $15,000 $165
24 123,888 $98 $15,200 $175
25 126,080 $87 $15,600 $175
26 151,680 $77 $16,000 $190
27 152,800 $63 $16,200 $200
average 147,168 $71.00

To generate the linear regression do the following:


1. Click on Data, then "Data Analysis," and select Regression.
2. In the Input Y Range, select B5:B31
3. In the Input X Range, select C5:F31
4. Under Output Options, choose "New Worksheet Ply" option, then click OK.
X4

You might also like