Calculate overall vulnerability

Combine 17 different vulnerability measures

In this exercise we combine the different measures of vulnerability into a single index. We use the following weights and definitions.

Step 1: calculate the vulnerability under the education and visualize the results

var education = ee.Image("projects/earthengine-legacy/assets/projects/servir-mekong/undp/indicators/EducationalAttainmentv2");
Map.addLayer(education,{min:20,max:80,palette:"darkgreen,green,yellow,orange,red,darkred"},"education",false);

var school = ee.Image("projects/earthengine-legacy/assets/projects/servir-mekong/undp/indicators/SchoolAttendancev2");
Map.addLayer(school,{min:20,max:80,palette:"darkgreen,green,yellow,orange,red,darkred"},"school",false);

var Education = ee.Image(education.add(school)).divide(2);
Map.addLayer(Education,{min:20,max:80,palette:"darkgreen,green,yellow,orange,red,darkred"},"education");

Step 2: calculate the vulnerability under the health and visualize the results

var food = ee.Image("projects/earthengine-legacy/assets/projects/servir-mekong/undp/indicators/FoodConsumptionScorev2");
Map.addLayer(food,{min:20,max:80,palette:"darkgreen,green,yellow,orange,red,darkred"},"food",false);

var health = ee.Image("projects/earthengine-legacy/assets/projects/servir-mekong/undp/indicators/Accesstohealthcarev2");
Map.addLayer(health,{min:20,max:80,palette:"darkgreen,green,yellow,orange,red,darkred"},"health",false);

var water = ee.Image("projects/earthengine-legacy/assets/projects/servir-mekong/undp/indicators/Accesstocleanwaterv2");
Map.addLayer(water,{min:20,max:80,palette:"darkgreen,green,yellow,orange,red,darkred"},"water",false);

var sanitation = ee.Image("projects/earthengine-legacy/assets/projects/servir-mekong/undp/indicators/AccesstoSanitationv2");
Map.addLayer(sanitation,{min:20,max:80,palette:"darkgreen,green,yellow,orange,red,darkred"},"sanitation",false);

var handWashing = ee.Image("projects/servir-mekong/undp/indicators/HandWashingv2");
Map.addLayer(handWashing,{min:20,max:80,palette:"darkgreen,green,yellow,orange,red,darkred"},"hand washing",false);

var Health = ee.Image(food.add(health).add(water).add(sanitation).add(handWashing)).divide(5);

Map.addLayer(Health,{min:20,max:80,palette:"darkgreen,green,yellow,orange,red,darkred"},"health");

Step 3: calculate the vulnerability under living standard and visualize the results

var overcrowding = ee.Image("projects/servir-mekong/undp/indicators/overcrowdingv2");
Map.addLayer(overcrowding,{min:20,max:80,palette:"darkgreen,green,yellow,orange,red,darkred"},"overcrowding",false);

var housing = ee.Image("projects/earthengine-legacy/assets/projects/servir-mekong/undp/indicators/Housingmaterialsv2");
Map.addLayer(housing,{min:20,max:80,palette:"darkgreen,green,yellow,orange,red,darkred"},"housing",false);

var fuel = ee.Image("projects/earthengine-legacy/assets/projects/servir-mekong/undp/indicators/Cookingfuelv2");
Map.addLayer(fuel,{min:20,max:80,palette:"darkgreen,green,yellow,orange,red,darkred"},"cooking fuel",false);

var electricity = ee.Image("projects/earthengine-legacy/assets/projects/servir-mekong/undp/indicators/accesstoelectricityv2");
Map.addLayer(electricity,{min:20,max:80,palette:"darkgreen,green,yellow,orange,red,darkred"},"electricity",false);

var assets = ee.Image("projects/earthengine-legacy/assets/projects/servir-mekong/undp/indicators/Assetsv2");
Map.addLayer(assets,{min:20,max:80,palette:"darkgreen,green,yellow,orange,red,darkred"},"assets",false);

var livelihoodBasedCopingStrategies = ee.Image("projects/servir-mekong/undp/indicators/LivelihoodBasedCopingStrategiesv2");
Map.addLayer(livelihoodBasedCopingStrategies,{min:20,max:80,palette:"darkgreen,green,yellow,orange,red,darkred"},"Livelihood Based Coping Strategies",false);

var LivingStandard = ee.Image(overcrowding.add(housing).add(fuel).add(electricity).add(assets).add(livelihoodBasedCopingStrategies)).divide(6);

Map.addLayer(LivingStandard,{min:20,max:80,palette:"darkgreen,green,yellow,orange,red,darkred"},"Living Standard");

Step 4: Include monetary poverty in the analysis

var consumption = ee.Image("projects/servir-mekong/undp/indicators/ConsumptionandExpenditurev2")
Map.addLayer(consumption,{min:20,max:80,palette:"darkgreen,green,yellow,orange,red,darkred"},"consumption and Expenditure");

Step 5: combine all indices into a single index

var total = education.multiply(0.1).add(
   school.multiply(0.1)).add(
   food.multiply(0.04)).add(
   health.multiply(0.04)).add(
   water.multiply(0.04)).add(
   sanitation.multiply(0.04)).add(
   handWashing.multiply(0.04)).add(
   overcrowding.multiply(0.03333333)).add(
   housing.multiply(0.03333333)).add(
   fuel.multiply(0.03333333)).add(
   electricity.multiply(0.03333333)).add(
   assets.multiply(0.03333333)).add(
   livelihoodBasedCopingStrategies.multiply(0.03333333)).add(
   LivingStandard.multiply(0.03333333)).add(
   consumption.multiply(0.2))

Map.addLayer(total,{min:20,max:80,palette:"darkgreen,green,yellow,orange,red,darkred"},"overall vulnerability");

find the full script here

Leave a Reply