Assignment 1 is due on Monday 22 October 2012 at the beginning of class.
The assignments are done in groups of two students. For assignment 1, every country can be taken only by one group. Send me a mail ([email protected]) with your country and your names in the subject line: ES11221 name.of.country: firstname LASTNAME of student 1, firstname LASTNAME of student 2. It’s first-come, first-serve. Here’s the list of countries and students so far.
Start by reading:
Krugman, Obstfeld, and Melitz (2012), Chapter 2.
the rules for written work
the section on APA Style from a standard textbook on academic writing (Glenn et al., 2004, pp. 652-679, or Kirszner and Mandell, 2011, chapter 35, pp. 236Ð263)
line_of_best_fit.pdf. If you took a course on quantitative methods, review the sections in your quantitative methods textbook on scatter plots and linear regression (an excellent introduction is: Freedman, Pisani, & Purves (2007), Ch. 7 and Ch. 12 section 1).
the document on how to typeset math (pdf)
(optional) the STA101_Using_R.pdf and the sections on installing R from STA101_Getting_started.pdf
I recommend that you print the documents and keep them in your course file.
The gravity model of trade (Krugman, Obstfeld, and Melitz (2012), equation 2-2 p. 43) predicts that trade increases with the partner country’s GDP: the bigger your trade partner’s GDP, the more you trade with that partner country. The model also predicts that trade decreases with the distance to the partner country: the further away your trade partner, the less you trade with that partner country. In this assignment, you’ll test these hypotheses by estimating the gravity equation.
Pick a country (but not the US) from this list.
First, you have to collect the data.
Bilateral trade data with the ten biggest trading partners are in the Country Trade Profiles from:
United Nations. (2011). 2011 International Trade Statistics Yearbook. New York: United Nations ( http://comtrade.un.org/pb/CountryPagesNew.aspx?y=2011 ).
To keep things simple, we’ll use exports rather than total trade (exports + imports) to test the gravity model. Nominal GDP data are available from:
International Monetary Fund. (2011). International Financial Statistics Yearbook 2011. Washington, DC: International Monetary Fund. Available in print in the VUB library.
As the bilateral exports data are in millions of USD, you have to convert nominal GDP also to millions of USD. You can find the appropriate exchange rate in International Monetary Fund (2010), too. In the paper, show your work to convert GDP to millions of dollars for one country. All trade and GDP data should be for the same year.
Distance data are available from http://www.cepii.fr/anglaisgraph/bdd/distances.htm Cite the source as:
Centre d’études Prospectives et dÕInformations Internationales (CEPII) (2011). Geodesic distances. Retrieved on (write the date) from http://www.cepii.fr/anglaisgraph/bdd/distances.htm
The file dist_cepii.xls contains distances between countries. The downloaded file is a compressed file (dist_cepii.zip); double-click dist_cepii.zip to expand it to dist_cepii.xls. The dist_cepii.xls file is a spreadsheet file in Microsoft Excel format, that can be opened by Excel and by most other spreadsheet programs (such as OpenOffice Calc or Apple’s Numbers). The distances are in kilometers. The country codes are three-letter ISO codes (e.g., Belgium is BEL). The list of ISO country codes is here. Your paper should have a table (table 1) with the relevant data for the top-10 export destinations: country, exports (USD), GDP of destination country (USD), and distance to destination country (km). Put the table on a separate page at the end of the paper. Dumping some spreadsheet output on a separate page is not appropriate; the table should be carefully designed, using APA style. The table should be numbered and captioned, units of measurement should be given, numbers should be rounded, sources should be documented in a note to the table.
Second, make a scatter plot (figure 1) that focuses on size (GDP) as a determinant of trade. It has GDP (as a percent of the GDP of all top-10 export destinations) on the horizontal axis, and exports (as a percent of the exports to all top-10 export destinations) on the vertical axis, like figure 2-3 on p. 44.
You can draw the scatter plot by hand on squared paper, or use a spreadsheet program (LibreOffice Calc, Numbers, or Excel) or statistical software (like SPSS, TSP, Stata, Eviews, Gretl, or R; see the link to the R scripts at the end of this paragraph; if you know R, you can easily adapt the scripts). In any case, make sure the axes are labelled (variable and units of measurement) and the points are labelled with the country names or codes. It’s OK to handwrite the axis labels and point labels. Here is an example: figure 1 (pdf) for the US (generated using the R script. Here’s the US data set.
Next, estimate the coefficients of the gravity equation (equation 2-2 in Krugman et al. (2012), p. 43):
Tij = A Yia Yjb/Dijc
The slope coefficients (a and b) of this linearized equation are elasticities: b measures by how many percent trade increases when the partner country’s GDP increases by one percent; c measures by how many percent trade decreases when the distance to the partner country increases by one percent. This can be seen by taking the partial derivatives (check your math for business and economics course) of the gravity equation with regard to Yj and Dij, or—without using calculus— by using the following approximation. From
Tij = A Yia Yjb/Dijc
it follows that approximately
percentage change of Tij = percentage change of A + a (percentage change of Yi) + b (percentage change of Yj) – c (percentage change of Dij)
The first two terms of the right-hand side are zero, so we obtain that approximately:
percentage change of Tij = b (percentage change of Yj) – c (percentage change of Dij)
If we control for distance, we obtain:
percentage change of Tij = + b (percentage change of Yj)
or, solving for b:
b = (percentage change of Tij) / (percentage change of Yj)
That is, b is the elasticity of trade with regard to the partner country’s GDP.
Similarly, If we control for the partner country’s GDP, we obtain:
percentage change of Tij = – c (percentage change of Dij)
or, solving for c:
-c = (percentage change of Tij) / (percentage change of Dij)
which is the elasticity of trade with regard to the distance. In your paper, it suffices to say that the coefficients b and c are elasticities of trade with regard to GDP of the partner country and distance to the partner country; you don’t have to repeat the explanation above.
Here’s how to estimate the elasticities b and -c. Make the gravity equation linear in the parameters by taking logarithms of both sides:
logTij = log A + a logYi + b logYj-c logDij
To find estimates of b and c, compute the new variables z = logTij, x1 = logYj, and x2= logDij. Estimate the linear equation:
z = constant + b x1 -c x2
Estimate this equation (find the coefficient estimates for b and c) using multiple regression analysis. Make sure that at least one of the two students in your group knows what multiple regression analysis is and knows how to estimate regression coefficients. This can be done using a spreadsheet program (OpenOffice Calc, Numbers, or Excel) or—preferably—statistical software (like SPSS, TSP, Stata, Eviews, Gretl, or R; see the link to the R scripts at the end of this paragraph; if you know R, you can easily adapt the scripts). Report the equation as explained in line_of_best_fit.pdf. The y-intercept of the equation (representing the estimate of log A + a logYi) is not interesting so you don’t have to discuss it, but carefully report the meaning of the slope coefficients b and c (remember: they are elasticities). Skip the hypothesis tests on the coefficients (t-statistics) and R-squared. Here is an example of the R script to generate the scatter plot and estimate the linearized gravity equation for the US. Here’s the US data set.
The report should have the format set out in my rules for written work: a full report (introduction, middle, end; about 300-600 words), prededed by a brief abstract (max 120 words). Find two appropriate JEL (Journal of Economic Literature) Classification Codes describing the subject of your paper. Most economists use JEL Classification Codes to attach standardized subject descriptors to their papers. For a list see JEL Classification Codes. At the end of the abstract, include within brackets the JEL Classification Codes, something like this: (JEL C210, L620). Start the main text with a general introduction (no header) briefly introducing the gravity model, explaining how you will test it, and which data sources you’ll use. In the next paragraph, briefly describe the data (table 1). Then discuss the scatter plots and the coefficients of correlation. Include figures 1 and 2 at the end of the paper. The References section should contain at least the data source and Krugman et al. (2012) (to which you should refer in your paper). Document all sources using the author-year citation method; this also holds for data sources where the author is an instititutional author.
Start on time. If you run into trouble, ask me for help.
Why Choose Us
Quality Papers
We value our clients. For this reason, we ensure that each paper is written carefully as per the instructions provided by the client. Our editing team also checks all the papers to ensure that they have been completed as per the expectations.
Professional Academic Writers
Over the years, our Acme Homework has managed to secure the most qualified, reliable and experienced team of writers. The company has also ensured continued training and development of the team members to ensure that it keep up with the rising Academic Trends.
Affordable Prices
Our prices are fairly priced in such a way that ensures affordability. Additionally, you can get a free price quotation by clicking on the "Place Order" button.
On-Time delivery
We pay strict attention on deadlines. For this reason, we ensure that all papers are submitted earlier, even before the deadline indicated by the customer. For this reason, the client can go through the work and review everything.
100% Originality
At Buy An Essay, all papers are plagiarism-free as they are written from scratch. We have taken strict measures to ensure that there is no similarity on all papers and that citations are included as per the standards set.
Customer Support 24/7
Our support team is readily available to provide any guidance/help on our platform at any time of the day/night. Feel free to contact us via the Chat window or support email: support@acmehomework.com.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
Buy An Essay has stood as the world’s leading custom essay writing services providers. Once you enter all the details in the order form under the place order button, the rest is up to us.
Essays
At Buy An Essay, we prioritize on all aspects that bring about a good grade such as impeccable grammar, proper structure, zero-plagiarism and conformance to guidelines. Our experienced team of writers will help you completed your essays and other assignments.
Admissions
Admission and Business Papers
Be assured that you’ll definitely get accepted to the Master’s level program at any university once you enter all the details in the order form. We won’t leave you here; we will also help you secure a good position in your aspired workplace by creating an outstanding resume or portfolio once you place an order.
Editing
Editing and Proofreading
Our skilled editing and writing team will help you restructure you paper, paraphrase, correct grammar and replace plagiarized sections on your paper just on time. The service is geared toward eliminating any mistakes and rather enhancing better quality.
Coursework
Technical papers
We have writers in almost all fields including the most technical fields. You don’t have to worry about the complexity of your paper. Simply enter as much details as possible in the place order section.