Princeton University Library Data and Statistical 
Services

Search DSS





Finding Data Analyzing Data Citing data

About Us


DSS lab consultation schedule
(Monday-Friday)
Sep 1-Nov 3By appt. here
Nov 6-Dec 15Walk-in, 2-5 pm*
Dec 18-Feb 2By appt. here
Feb 5-May 4Walk-in, 1-5 pm*
May 7-May 15Walk-in, 2-5 pm*
May 16-Aug 31By appt. here
For quick questions email data@princeton.edu.
*No appts. necessary during walk-in hrs.
Note: the DSS lab is open as long as Firestone is open, no appointments necessary to use the lab computers for your own analysis.

Follow DssData on Twitter
See DSS on Facebook

Home Online Help Statistical Packages Stata Reshape World Development Indicators for Stata Analysis



Reshape World Development Indicators for panel data analysis


The World Development Indicators is a commonly used dataset for macro level data.


The default format for the data download from WDI is very inconvenient for panel data analysis.


Click here for instructions on how to convert WDI into a "long" form, appropriate for analysis as panel data directly from the WDI website (make sure 'Country' is in row and 'Series' in columns, remove 'Time' from column and put it in the page section).


For a more comprenhensive set of instructions on reshaping (long to wide and wide to long) please click here


For more on reshaping please check Data Preparation & Descriptive Statistics

This page last updated on: