- * Example generated by -dataex-. To install: ssc install dataex
- clear
- input double cashDividend
- .6
- 0
- 0
- .15
- .15
- 0
- 0
- 0
- .009
- .0335
- 0
- 0
- 0
- .1
- .17
- .16
- .174
- .153
- 0
- .1
- end
gen GencashDividend= cashDividend*10 后如下:
- * Example generated by -dataex-. To install: ssc install dataex
- clear
- input double cashDividend
- 6
- 0
- 0
- 1.5
- 1.5
- 0
- 0
- 0
- .09
- .335
- 0
- 0
- 0
- 1
- 1.7000000000000002
- 1.6
- 1.7399999999999998
- 1.53
- 0
- 1
- end
replace cashDividend= cashDividend*10后如下:
- * Example generated by -dataex-. To install: ssc install dataex
- clear
- input float GencashDividend
- 6
- 0
- 0
- 1.5
- 1.5
- 0
- 0
- 0
- .09
- .335
- 0
- 0
- 0
- 1
- 1.7
- 1.6
- 1.74
- 1.53
- 0
- 1
- end
replace和gen后的数据有差别,如何看待,这对最终的数据结果有影响吗


雷达卡



京公网安备 11010802022788号







