Coder Social home page Coder Social logo

thesis-heterogeneities-risk-insurance-uganda's Introduction

Heterogeneities in Risk and insurance Uganda: An Empirical Exploration

Here I upload the code (in Python) and datasets used in my thesis, Heterogeneities in Risk and insurance Uganda: An Empirical Exploration. To run the code one must first download the data from the World Bank website (http://surveys.worldbank.org/lsms/integrated-surveys-agriculture-ISA/uganda). For the 2013-14 wave I use the files in csv. For the rest of waves I use the dta files. The data in the World Bank have free access but one must register first.

  • In the files cons09-cons13, I create the consumption datasets per each wave.

  • In the files agric09-10, I obtain the agricultural and livestock hh income datasets per wave.

  • In the files labor_bs09-13, I obtain the labor and business hh income datasets per wave.

  • In the files shocks09-13 I create the reported shocks datasets per wave.

  • In the files sociodem09-13 I obtain the household sociodemographic characteristics datasets per wave.

  • In file ownagrc I recover the household crops and livestock consumption from own sources to measure it as income that has been own conumed.

  • With these datasets (which I already upload but one can also obtain running the previous files), in files data09-13 I construct the datasets per wave and I summaryze the main variables.

  • In file regressions_panel I join the 4 waves datasets (and export the join data as dataUGA.dta), I create a nonbalanced panel, I run regressions of changes in log consumption-income on changes in reported shocks and I perform insurance tests under different shocks.

  • In file regressions_panelbal, using the file dataUGA.dta, I construct the balanced panel, I obtain the means of reported shocks under household heterogeneities, I run consumption-income vs shocks correlations, I perform insurance tests for shocks heterogeneities and I perform insurance tests for household heterogeneities. The main tables and results from thesis are obtained using this file.

thesis-heterogeneities-risk-insurance-uganda's People

Contributors

arodri77 avatar

Watchers

James Cloos avatar  avatar

Forkers

fagan2888

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.