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
Sum observations in different lines into one (by ID)Hello everyone, I'm trying to add observations in different lines into one line by ID. Below is t…
Plotting curves for hazard model with firm level stratificationDear all, I am running a stratified cox model on a firm-year dataset. The command i use is: stset y…
Shifting all the points down in a graph, to include main effect for interaction termsHi All, My dataset resembles the following: -------------------- copy starting from the next line …
Stock Prices Technical Analysis Pattern Recognition using STATAHello everyone. I am trying to use STATA to detect technical analysis patterns in stock prices. Does…
Interactive fixed effectsDear All Is there any non-technical introduction to "Interactive fixed effects". Especially when it …
Subscribe to:
Post Comments (Atom)
0 Response to Assigning Continuous number to year and months
Post a Comment