Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72776

Gen Date based on "day/month/year" excel type

$
0
0
Hi all !!

I have work with my data base. I try to create a variable "date1" which is the same than my variable in red "date".

When I do :
gen date1=td(4jan1999)+_n-1
tsset date1, daily

It works but the date isn't equal to what I wanted.

I add the stata file.

Thank you for your time !

Viewing all articles
Browse latest Browse all 72776

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>