Closed joealpuerto closed 4 months ago
On youth employment and emigration (there was an inaccuracy in the formula in the Stata code, thus in the adapted R too): o mutate(youth_employ = (y_good_perc + 0.5y_med_perc)/1.5) %>% #the divided by 1.5 should be taken out o mutate(youth_emigr = (g1_perc + 0.5g3_perc + 0.5*g4_perc)/2) %>% #the divided by 2 should be taken out
Hi Simon,
Just small change in the formula:
mutate(cultf_sum = sum(c(diet, food_self_suff, food_heritage, seeds_breeds),na.rm = TRUE), cultf_score = round((cultf_sum/12)*100,6))
Instead of dividing by 12, the sum should be divided by 16.