I have a panel dataset with year, countries and indicator's estimates, this is my data:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str7 country double year float regulatory_distance "ARG" 2005 .13480131 "ARG" 2005 .13480131 "ARG" 2006 .14648408 "ARG" 2006 .14648408 "ARG" 2007 .13978474 "ARG" 2007 .13978474 "ARG" 2008 .13534042 "ARG" 2008 .13534042 "ARG" 2009 .13127346 "ARG" 2009 .13127346 "ARG" 2010 .12898874 "ARG" 2010 .12898874 "ARG" 2011 .12866293 "ARG" 2011 .12866293 "ARG" 2012 .13168013 "ARG" 2012 .13168013 "ARG" 2013 .12956065 "ARG" 2013 .12956065 "ARG" 2014 .12827909 "ARG" 2014 .12827909 "ARG" 2015 .12865551 "ARG" 2015 .12865551 "AUS" 2005 .16130497 "AUS" 2005 .16130497 "AUS" 2006 .15125994 "AUS" 2006 .15125994 "AUS" 2007 .14440013 "AUS" 2007 .14440013 "AUS" 2008 .14052497 "AUS" 2008 .14052497 "AUS" 2009 .13581423 "AUS" 2009 .13581423 "AUS" 2010 .13359624 "AUS" 2010 .13359624 "AUS" 2011 .13134517 "AUS" 2011 .13134517 "AUS" 2012 .12964514 "AUS" 2012 .12964514 "AUS" 2013 .12634803 "AUS" 2013 .12634803 "AUS" 2014 .12659031 "AUS" 2014 .12659031 "AUS" 2015 .13436815 "AUS" 2015 .13436815 "AUT" 2005 . "AUT" 2005 . "AUT" 2006 . "AUT" 2006 . "AUT" 2007 . "AUT" 2007 . end
Thanks in advance to whoever is willing to help
Best regards
Alessio Lombini
0 Response to Panel dataset: replacing values conditional to group
Post a Comment