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
eprobit and marginsHi, I am going to use eprobit for my purpose of regressing a binary variable(y) on another endogeno…
Margins after REGHDFE with log dependent variableI am using the reghdfe command with a log dependent variable. Then, I am using the margins command f…
Generating cross-sectional information from employment spellsHi all, I am currently working with a polish data set and would like to generate the professional e…
Hello wonder whether someone knows the formula, by which stata do the f test for equality of coefficients.Hello, thank you in advance for example: code: reg price weight mpg price Coef. Std. Err. t P&g…
Calculating day-level statistics with data that may span across several daysHi, Data at hand: patient visit start and end dates/times, with each line representing a unique vis…
Subscribe to:
Post Comments (Atom)
0 Response to Identify date column
Post a Comment