University of Lethbridge Department of Geography

advertisement
University of Lethbridge
Department of Geography
Geography 3235 – Quantitative Methods for Geographic Analysis
Gravity Model – Laboratory Assignment 7
Goal: To apply the gravity model outlined by Taaffe and Gauthier (1973) to
intermetropolitan interaction in Canada using air passenger flows.
Required Reading: Taaffe, E. J. and H. L. Gauthier, 1973. Geography of
Transportation. Englewood Cliffs, N.J.: Prentice Hall. Pp. 73 – 83.
Instructions:
1. Open the gravity model template in Excel. This file contains all necessary data
required to calibrate the gravity model. The data for each of five destinations have been
formatted and organized for use based on three sources: 1. Statistics Canada 1996 Census
of Population, Statistics Canada 1996 Air Passenger Origin and Destination Domestic
Report (Catalogue 51-204-XIB),1 and a third party source for distance between airports
(in kilometers) (http://www.webflyer.com/travel/milemarker/). The destinations lists for
each of the five cities were compared, and the 46 destinations that were common to each
city were selected for use2.
2. Beginning with the Calgary sheet, calculate the population product (PiPj) for Calgary
(i = Calgary) and all other cities (j= 1 to 46, except Calgary itself).
a. How does the population product relate to interaction between communities?
3. Calculate expected interaction (Iij) using the gravity model:
I ij  k
Pi Pj
d ijb
Set b=1 and set k to a value of 1/100,000. This value of k will scale down the interaction
to a more convenient magnitude and avoid the possibility of negative logarithms in
further analysis.
4. Following the model provided in Figure 3.2 of Taaffe and Gauthier (1973), plot the
expected interaction on the X-axis of an XY graph (scatter plot) against total number of
passengers for each center on the Y-axis. (Don’t print it yet!)
a. Describe the scatter plot and compare your results to those in Figure 3.2 of
Taaffe and Gauthier (1973).
1
The air passenger origin and destination data indicate final destinations only, irrespective of the number of
flight segments or intermediate stops to change planes.
2
For example, Edmonton is listed in the data as a destination for all five cities thus it is included among the
list of 46 destinations. Fort McMurray, on the other hand, was on the origin/destination list for only four
cities (Calgary, Toronto, Vancouver, and Winnipeg) and so was not included among the destinations to
make the results comparable across the five metropolitan areas.
1
5. Following the model in Figure 3.3 of Taaffe and Gauthier (1973), apply a trend line to
the scatter graph produced above (Chart > Add Trendline). In the dialog box under Type,
select Linear; and under Options, select ‘Display R-squared value.’ Print this graph and
include it in your report.
a. Discuss the R2 value in relation to your response to 4a above. What can you conclude
about the trend line in light of this R2?
b. Identify the most prominent outliers and speculate on the reasons for the large error.
These results give us cause to reassess our assumptions. Perhaps the relationship
between expected gravity model interaction and observed passenger flows is geometric
rather than arithmetic. Let’s digress for a moment and explore this hypothesis.
6. Calculate passengers as a proportion of the population product by dividing total
passengers for each city by the population product – we shall call this new measure
“passengers per capita.”3 Calculate log of distance and log of passengers per capita.
7. You will notice that the values produced are very small and appear as zeroes until the
6th or 7th decimal place. To remedy this, scale passengers per capita by 109 and find its
log. Following Fig. 3.4 of Taaffe and Gauthier (1973) as a model, plot the log of distance
against the log passengers per capita.
a. What do you conclude from this graph?
Steps 6 and 7 give us good reason to reject the naïve assumptions we made in steps 3-5.
Maybe if we take logs of the measures we used earlier, we can get a better fit! Shall we
see for ourselves?
8. Calculate the log of Iij and log of total passengers. Following the model provided in
Figure 3.5 of Taaffe and Gauthier (1973), plot the log of the expected interaction on the
X-axis of an XY graph (scatter plot) against the log of the total number of passengers for
each center on the Y-axis. Fit a trend line to the scatter as you did in question 5 above.
Print the graph including trend line.
a. Compare the R2 value with the results of #5.
Step 8 does seem to fit better, doesn’t it? Now that we need to determine the friction
of distance coefficient to a model built of logs.
9. Save your data file under a new file name. Convert all cell entries to values (CopyPaste special-values). Remove the top row leaving a header row that can be used for
SPSS variable names. Open SPSS.
10. Just to test the SPSS Regression procedure, recompute the regressions performed in
questions 5 and 8 using the trend line fitting procedure in Excel. You should get the same
values.
3
Passengers per capita is a convenient and short misnomer used in Taaffe and Gauthier (1973: 77). We are
really calculating total passenger flows per population product of the metropolitan O-D pair.
2
11. Now run a multiple regression with log observed passenger flows as the dependent Y
variable, log population product as x1 and log distance as x2.
a. Note that the b2 term is negative, why is this?
12. Repeat #2-3 and 8-11 for Montreal, Toronto, Vancouver and Winnipeg to obtain
friction of distance coefficients and R2 for each city. Enter these values in the Summary
Table in your workbook.
13. In general, what do the friction of distance coefficients and R2 values tell us about the
air traffic interaction between these five metropolitan areas?
14. How can you account for the individual differences in friction of distance coefficients
and R2 values?
15. What have you learned about the gravity model as a predictor of interaction between
these Canadian cities?
3
Download