In my dataset, I have two date columns, and showed as follow:
Year Month
1990 M1
1990 M2
1990 M3
1990 M4
1990 M5
1990 M6
1990 M7
1990 M8
1990 M9
1990 M10
1990 M11
1990 M12
1991 M1
1991 M2
..
May I ask:
How can I tell stata that my second column is a month,
And I want to merge them together to create a single date column
I would be grateful for any help you are able to provide.
Related Posts with Identify date column
Consider matched pairs when dropping study subjectsHi Statalist, I have a large matched cohort data set where exposed have been matched 1:m with an un…
panel data analysisHi, Should we check multicollinearity in panel data by VIF method? if we are getting multicollineari…
Labeling keys in a heatplotHi I am working with the heatplot command and I have a figure that looks a bit like this: Code: w…
Keep values in between a range (dates and times)Hello everyone, I am quite new to stata so I would really appreciate your help. I have date-time var…
Missing Variables in Panel Data Across the WavesHello! I have a rather "practical" question. If you have a panel data with T=3, but some of the var…
Subscribe to:
Post Comments (Atom)
0 Response to Identify date column
Post a Comment