Hi all,
I have date like this:
date
jan2015
jan2015
feb2015
march2015
march 2015
march2015
I want to create a variable that numbers them like this:
date
jan 2015 1
jan2015 1
feb2015 2
march2015 3
march2015 3
march2015 3
Can you help? Thanks!
Related Posts with Assigning Continuous number to year and months
Export covariance matrix to ExcelHi, I would like to export the following covariance matrix to excel: Code: * Example generated by…
A function for a numberHi, I am writing a loop that looks like this foreach code of numlist 1/202{ forvalues i=1940/2020{ …
Reshape long 1 row dataset with no identifierHi, I am trying to reshape long the following dataset: Code: * Example generated by -dataex-. To i…
Need Time-Stratified Case-Crossover Study Help...Hello there! I have hit a bit of a wall with my time-stratified case-crossover study for my disserta…
Calculate export times using custom data HTML Code: clear input str10 company_name str3 country int year "3Mcompany" "USA" 2002 "3Mcompany"…
Subscribe to:
Post Comments (Atom)
0 Response to Assigning Continuous number to year and months
Post a Comment