- * Example generated by -dataex-. To install: ssc install dataex
- clear
- input long n int year float volatility
- 1 1994 1.36775
- 1 1995 1.34903
- 1 1996 1.27786
- 1 1997 1.34738
- 1 1998 1.59183
- 1 1999 1.54995
- 1 2000 1.72483
- 1 2001 1.93344
- 1 2002 1.84056
- 1 2003 1.54191
- 1 2004 1.35975
- 1 2005 1.30947
- 1 2006 1.32797
- 1 2007 1.19507
- 1 2008 1.19218
- 1 2009 1.28219
- 1 2010 1.09016
- 1 2011 .969463
- 1 2012 .965801
- 1 2013 1.03584
- 1 2014 1.10936
- 1 2015 1.33109
- 2 1994 .6646835
- 2 1995 .917667
- 2 1996 1.0051
- 2 1997 1.07799
- 2 1998 1.16052
- 2 1999 1.81393
- 2 2000 1.82942
- 2 2001 2.34963
- 2 2002 2.92036
- 2 2003 3.07748
- 2 2004 2.92512
- 2 2005 2.43439
- 2 2006 2.17533
- 2 2007 1.94706
- 2 2008 1.83377
- 2 2009 1.99943
- 2 2010 1.75923
- 2 2011 1.67283
- 2 2012 1.95307
- 2 2013 2.15609
- 2 2014 2.35295
- 2 2015 3.3309
- 3 1994 1.38649
- 3 1995 3.576025
- 3 1996 5.12083
- 3 1997 5.78483
- 3 1998 9.70508
- 3 1999 24.6199
- 3 2000 28.1292
- 3 2001 29.1685
- 3 2002 31.3485
- 3 2003 30.692
- 3 2004 28.8137
- 3 2005 28.2844
- 3 2006 27.191
- 3 2007 25.5808
- 3 2008 24.8529
- 3 2009 31.7404
- 3 2010 30.3679
- 3 2011 29.3823
- 3 2012 30.8398
- 3 2013 31.8371
- 3 2014 38.3782
- 3 2015 60.9377
- end
- label values n n
- label def n 1 "澳大利亚", modify
- label def n 2 "巴西", modify
- label def n 3 "俄罗斯", modify
复制代码
不好意思,数据如上,我传了stata,这个数据是各种货币对美元从1994-2015年的汇率,这些数据实现对数差分的三年的标准差的stata操作命令是什么?