You are on page 1of 3

A B C D

1 Mortgage interest rates and home prices


2
3 X VARIABLE Y VARIABLE
4 30-year mortgage
5 Year interest rate (%) Median home price
6 1988 10.30 $183,800
7 1989 10.30 $183,200
8 1990 10.10 $174,900
9 1991 9.30 $173,500
10 1992 8.40 $172,900
11 1993 7.30 $173,200
12 1994 8.40 $173,200
13 1995 7.90 $169,700
14 1996 7.60 $174,500
15 1997 7.60 $177,900
16 1998 6.90 $188,100
17 1999 7.40 $203,200
18 2000 8.10 $230,200
19 2001 7.00 $258,200
20 2002 6.50 $309,800
21 2003 5.80 $329,800
22 Average 7.75 $180,550
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 Population of city Monthly income of riders
1 192,000 $15 1,800,000 $5,800
2 190,400 $15 1,790,000 $6,200
3 191,200 $15 1,780,000 $6,400
4 177,600 $25 1,778,000 $6,500
5 176,800 $25 1,750,000 $6,550
6 178,400 $25 1,740,000 $6,580
7 180,800 $25 1,725,000 $8,200
8 175,200 $30 1,725,000 $8,600
9 174,400 $30 1,720,000 $8,800
10 173,920 $30 1,705,000 $9,200
11 172,800 $30 1,710,000 $9,630
12 163,200 $40 1,700,000 $10,570
13 161,600 $40 1,695,000 $11,330
14 161,600 $40 1,695,000 $11,600
15 160,800 $40 1,690,000 $11,800
16 159,200 $40 1,630,000 $11,830
17 148,800 $65 1,640,000 $12,650
18 115,696 $102 1,635,000 $13,000
19 147,200 $75 1,630,000 $13,224
20 150,400 $75 1,620,000 $13,766
21 152,000 $75 1,615,000 $14,010
22 136,000 $80 1,605,000 $14,468
23 126,240 $86 1,590,000 $15,000
24 123,888 $98 1,595,000 $15,200
25 126,080 $87 1,590,000 $15,600
26 151,680 $77 1,600,000 $16,000
27 152,800 $63 1,610,000 $16,200
average 160,026 $49.93

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
Average parking rates per month
$50
$50
$60
$60
$60
$70
$75
$75
$75
$80
$80
$80
$85
$100
$105
$105
$105
$110
$125
$130
$150
$155
$165
$175
$175
$190
$200

You might also like