Dear all,
I have a date variable in my dataset in the following format:
27feb2015
20feb2015
13feb2015
and so on. I wanted to create another variable that indicates whether the different dates belong to the first week of month, second week and so on. Is there a way to do this?
Many thanks
Related Posts with a variable that indicates whether it is the first week of the month, second week, etc...
Displaying interaction terms in separate column in outputI have the following data: Code: * Example generated by -dataex-. To install: ssc install datae…
The most and least advantaged child analysisHello I am working on an issue related to the inequalities of opportunities in terms of the level of…
Keep rows if two consecutive columns have the same valueI am trying to filter rows based on a condition where two consequtive columns have a particular valu…
Standard Errors in the Frankel and Romer type study, using PPMLHi All, For those who are familiar with the Frankel and Romer (1999) study, the authors construct …
Functional Forms of Independent VariablesHi, If our objective is to ascertain the relationship (specifically, sign and significance of Beta …
Subscribe to:
Post Comments (Atom)
0 Response to a variable that indicates whether it is the first week of the month, second week, etc...
Post a Comment