I want to add a value for instance '45' for country 'BE' in year '2004' (the fist row of 2004) under variable 'goal'. What's the command?
-
Login or Register
- Log in with
replace goal = 45 if country=="BE" and year==2004
help replace
* Example generated by -dataex-. For more info, type help dataex clear input double(tw gdp) 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 48.266145 242348.3 end label values tw tw2 label values gdp gdp1
* Example generated by -dataex-. For more info, type help dataex clear input int year long countries double(tw gdp) 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 2004 1 48.266145 242348.3 end label values countries cnt label def cnt 1 "AT", modify label values tw tw2 label values gdp gdp1
replace tw = 48.453854 if country=="AT" and year==2006
replace tw = 48.453854 if country==1 and year==2006
replace tw = 48.453854 if country=="AT":cnt and year==2006
Comment