This category contains 23 posts

R starter resources

I’m hardly the first person you would want to talk to about learning statistics in R. But if you’re bent on teaching yourself R, and you’ve ended up at my blog, here are some resources I found useful. (No opinions here about whether R is good/bad better/worse than Excel, Minitab, Matlab, Octave, SPSS, Stata, SAS, … Continue reading

Demonstration of {estout}

I wrote a short talk demonstrating the use the R package {estout} for tonight’s New England R Users Group meeting.  NB this is not a discussion of the econometric model, but rather a demonstration of how to get publication-quality results out of R efficiently. The basic functions of {estout} are modeled on the Stata package estout. … Continue reading

R goes to StackExchange

“What’s the big deal? We already have the r-help mailing list.” No, it’s a big deal. Really. Have you forgotten the joys of being a first-year R user, either begging advice off of friends or using Google to search archives of the R-help list? (Firefox has a dedicated search add-on for the R-help archives.) Yes, … Continue reading

World Bank opens access to WDI

The World Bank has opened access to a flagship dataset that was mostly closed. Until recently, only a fraction of the thousand-plus data series that comprise the World Development Indicators (WDI) were available to non-paying customers in advanced economies. As of April 10, 2010, the World Bank has opened access to the complete dataset.

Export Trade Clusters

This post, as with the prior ones on trade clusters, aims to help visualize patterns of trade in the OECD from 50 years of partner trade statistics. The data is rich, meaning we should be able to develop rich intuition by exploring it visually. These slides follow the method laid out in Jong-Eun Lee, “Two … Continue reading

Visualizing Dyadic Trade Flows

I gave a talk at the Fletcher School today on my work on dyadic trade flows (slides). In a nutshell, the talk argues that cartograms and dendrograms can give students and practitioners a better understanding of the patterns of trade among partner contries, both for teaching and for research. We have thousands of observations of … Continue reading

Unilateral trade clusters using raw import flows

This set of dendrograms, again, is based on raw partner import flows from OECD. The dendrograms show complete linkages (all countries in a cluster exceed the threshold value for mutual trade flows), but the dyad is measured by the greater of the two trade flows. This gallery shows an annual series of dendrograms using that … Continue reading

Bilateral import clusters using raw trade flows

As promised, here are a new round of dendrograms using OECD trade data as a reciprocal distance measure among countries reporting. In trade, relationships matter, and these dendrograms show which relationships matter the most. Clusters are drawn by complete linkages, using the lesser of the two pairwise trade flows (greater notional distance). The important thing … Continue reading

Unilateral import clusters in international trade

As with yesterday, these graphics depict complete clusterings in international trade, treating the partner country’s share of total home country imports as a raw distance measure. The greater the share, the closer the two countries are. For visual clarity, I have used logarithmic scales; so the scale at left doesn’t have any concrete meaning. The … Continue reading

Bilateral import clusters in international trade: insights

Major insights from the dendrograms in the previous post: Among OECD countries, New Zealand and Australia cleave closest to the Pacific alliance: NAFTA, Japan and Korea. Scandinavian countries have undergone a durable shift in trade patterns, away from France and the Iberian peninsula, and toward the British Isles. Greece, Italy, and Turkey constitute a durable … Continue reading


CC License

Bookmark and Share
October 2016
« Apr    


People mentioned in this blog are hereby invited to post a reply, on this blog, to any remarks, disparaging or otherwise, that I make here.

For that matter, if you're an interested reader and you'd like to share your thoughts, I would welcome proposals for cross-posting at your blog, guest blogging, and other creative ideas you may have.