View on GitHub

Global Food Dollar

download .ZIPdownload .TGZ

Data Preparation for Regression Analysis

This folder contains data and Stata scripts to create the dataset for regression analysis. If you prefer to skip the data preparation step, the final dataset is also available at Here.

Instructions:

  1. Please download the DataPreparation zipped file and uncompress it to have the “DataPreparation” folder in your working directory.

  2. Make sure that the working directory is specified properly in the “cd” command (included in the Stata code).

  3. Create a “Data” folder in the working directory to save output data.

Major steps in this STATA code includes:

a. Reshape farm share data

b. Prepare population, urbanization, GDP, access to electricity data from World Bank

c. Prepare gross production values, agricultural value added and land data from FAOSTAT

d. merge all data sets.

The final dataset is also available to download if you prefer to skip the data preparation step.

[Back to Parent directory]