Update 03_hhpc.do

just finishing up a few lines I didn't get to on Friday. See you at the WLC tomorrow. 

1)
affected variables - ntrunk-ndonkey
issue - in creating variable for number of assets, the dummy variable trunk-donkey was duplicated.
action - in generating variable, multiplied `name’ by d1_04, the quantity of that asset (and then replaced missing values with zero).

2) 
affected variables - nsolar, ngenerator
issue - doesn't match other dummy variables; used "." instead of "0"
action - added "replace nsolar = 0 if nsolar==." and "replace ngenerator = 0 if ngenerator==."

3) 
affected variables - munitprice, hhdurasset
issue - to calculate hhdurasset, you take the median HH value of a good and multiply by the unit. i would think you want to take the median of the HH value's unit price (rather than overall (d1_10= “Current value/ if asset sold today how much will you receive? (report total value for all items owned)” ) and then take the median. (drops the HH average of the total value of all durables from 34,020 to 20,295 Taka.
action - 
	old: egen munitprice = median(d1_10), by(d1_02)
	new: egen munitprice = median(d1_10/d1_04), by(d1_02)

4) 
affected variables - munitprice, hhagasset
issue - same as 3
action - divided median price by units

5) 
affected variables - ag assets
issue - commands calls for “kaste" variable, which is not in dataset
action - changed “kaste” to “tractor” in “qui factor tractor-harvester, pcf” and “alpha kaste-harvester”