- * Example generated by -dataex-. To install: ssc install dataex
- clear
- input byte id int date double(rs rm)
- 1 18659 .006430890330290331 .02210945296713818
- 1 18717 -.010309369658861213 -.014324641698873439
- 1 18746 .04371934754048732 .026906134941913382
- 1 18778 -.008092169897336254 -.013252387794238787
- 1 18808 -.008158187701463582 -.007419791574271528
- 1 18837 .011278315037707274 -.022196491547112132
- 1 18870 -.13166397844972721 -.07508798234194393
- 1 18900 .030103778300231095 -.050576158231593484
- 1 18931 .11147968632105605 .07794662465799213
- 1 18961 .04050115342022639 -.007022882097641439
- end
- format %td date
复制代码
Sorry for using English.
Thanks for your feedbacks
But I am confused why date variable turns into different values, I have already set the date format in Excel.