Dear Friends,
Here, I provide an example of my data. These are China and the USA's global aid flow between 2000 and 2017. I want to transform my "chnodalilike" variable in accordance with the "usaglobal". For instance, USA provided 30107 million dollars (30 billion dollars) in 2009, whereas China provided 6399 million US Dollars. However, I want to change China's numbers from "6399943653.353926" to "6399.94". How can I do that without intervening manually? My all dataset are in "xxxx.yy" shape. I inserted new numbers as seen in 2001 and 2002 for China.
Thank you so much,
------------------ copy up to and including the previous line ------------------
Listed 81 out of 122 observations
Here, I provide an example of my data. These are China and the USA's global aid flow between 2000 and 2017. I want to transform my "chnodalilike" variable in accordance with the "usaglobal". For instance, USA provided 30107 million dollars (30 billion dollars) in 2009, whereas China provided 6399 million US Dollars. However, I want to change China's numbers from "6399943653.353926" to "6399.94". How can I do that without intervening manually? My all dataset are in "xxxx.yy" shape. I inserted new numbers as seen in 2001 and 2002 for China.
Thank you so much,
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float year double chnodalilike float usaglobal 2001 2682.69 11800.44 2002 1672.05 14825.64 2003 2603173584.2821565 20162.23 2004 999300966.6191502 21766.16 2005 2554538493.740531 33225.2 2006 3364553638.661135 26662.06 2007 4095723127.9216104 23186.91 2008 3307489831.3064613 28231.1 2009 6399943653.353926 30107.46 2010 15628045131.597378 30626.26 2011 4911782485.887178 31598.51 2012 6213166525.501058 28892.44 2013 7856521605.2097645 29442.31 2014 6161842113.101356 30161.69 2015 6275824010.130476 28934.51 2016 10349380752.750761 30678.79 2017 6832654928.216418 31649.52 2018 0 30837.4 2019 0 29161.39 2020 0 29673.06 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . end
Listed 81 out of 122 observations
Comment