You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Finishing the update to SSP definition and farm productivity sold
* Fixed error where farm productivity was missing if any of the subcomponents (crops, livestock, livestock products) were missing
* Changed ssp definition to only apply to agricultural households.
*//*DYA 10.6.2020*/*value_livestock_sales**w_value_farm_production**value_slaughtered**value_lvstck_sold**value_crop_sales**sales_livestock_products**value_livestock_sales* animals_lost12months /*MGM 8.29.2024: adding in additional indicators for ATA estimates*/ hh_work_age hh_women hh_adult_women tlu_today use_* crop_rotation *rate**ha_* fcs* rcsi*
5821
5821
5822
-
gen ssp = (farm_size_agland <= 2 & farm_size_agland != 0) & (nb_cows_today <= 10 & nb_smallrum_today <= 10 & nb_chickens_today <= 50) // This line is for HH vars only; rest for all three
5822
+
gen ssp = (farm_size_agland <= 2 & farm_size_agland != 0) & (nb_cows_today <= 10 & nb_smallrum_today <= 10 & nb_chickens_today <= 50) if ag_hh==1 // This line is for HH vars only; rest for all three
*The processed files include all households, individuals, and plots in the sample.
32
31
*Toward the end of the do.file, a block of code estimates summary statistics (mean, standard error of the mean, minimum, first quartile, median, third quartile, maximum)
33
32
*of final indicators, restricted to the rural households only, disaggregated by gender of head of household or plot manager.
34
-
*The results are outputted in the excel file "Ethiopia_ESS_W2_summary_stats.rtf" in the "Final DTA files" folder.
33
+
*The results are outputted in the excel file "Ethiopia_ESS_W2_summary_stats.xls" in the "Final DTA files" folder.
35
34
*It is possible to modify the condition "if rural==1" in the portion of code following the heading "SUMMARY STATISTICS" to generate all summary statistics for a different sub_population.
36
35
37
36
*The following refer to running this Master do.file with EPAR's cleaned data files. Information on EPAR's cleaning and construction decisions is available in the documents
gen ssp = (farm_size_agland <= 2 & farm_size_agland != 0) & (nb_cows_today <= 10 & nb_smallrum_today <= 10 & nb_chickens_today <= 50) // This line is for HH vars only; rest for all three
6084
+
gen ssp = (farm_size_agland <= 2 & farm_size_agland != 0) & (nb_cows_today <= 10 & nb_smallrum_today <= 10 & nb_chickens_today <= 50) if ag_hh==1 // This line is for HH vars only; rest for all three
0 commit comments