# Changing Prices— Equivalent variation

## 1. By hand exercises

Suppose you have the following data-set on net consumption of rice and beans (in pounds) of several households, as well as their income.

Rice Beans Income
3 1 100
4 3 140
3 4 190
5 6 220
4 6 280

Suppose a trade liberalization would raise the price of rice by 50 cents, and lower the price of beans by 1\$.

1. For each household, calculate the equivalent variation of this price change.

2. Calculate the 2-nearest-neighbor estimate of the conditional expectation of equivalent variation given income, for the income levels 100,150,200,250.

## 2. Empirical exercises

1. Go to THE WORLD BANK.

2. Scroll down to the country Uganda and click the link icon on this row.

3. Click on “Get Microdata.” On the next page, click on “Go to Data User Agreement.”

4. On the form, state that you are using the data for educational purposes in a class assignment and will not be publishing any papers with the data.

7. Create a new master do-file for the assignment and start a new do-file called “151029_welfare_effects.do” that you will call from your master do-file.

8. We will now select the datasets we need in order to examine the relationship between consumption of particular goods (fuel and electricity) and income. (GSEC1 (survey weight), GSEC10 (fuel), GSEC10a (electricity), GSEC11 (income)). We want the following variables: wgt09 (weight), h10q17a (fuel expenditure), h11aq06 (income), h10q4 (electricity quantity)

9. Rename the datasets to reflect the variable of interest that they contain. Join the datasets together using the household identifier (HHID) and the joinby command:
sort HHID
joinby HHID using uganda09income.dta

10. Conduct summary analysis on income, fuel expenditure, and quantity of electricity consumed:
svyset [pweight=wgt09]
hist ln_inc if ln_inc>=10 & ln_inc<=15
hist elec if ln_inc>=10 & ln_inc<=15
hist fuel_exp if ln_inc>=10 & ln_inc<=15

11. Plot the kernel regression of fuel expenditure on income and then electricity consumption on income:
twoway lpoly elec ln_inc if ln_inc>=10 & ln_inc<=15
twoway lpoly fuel ln_inc if ln_inc>=10 & ln_inc<=15