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...
Number of splitvoters from two variablesI need to know the number of split voters in Denmark - those who did not vote for the same party at …
alternative to keep if for a large list of firm id sHi all, I have a list of firm ids that contains 17,000 firm ids. I have a big dataset which contain…
Panel data estimatioinHello. Need help with panel data estimation. I am working on panel data with T=96 and N=260. I used …
converting dates (year and month)Dear All, Is there a more concise way to go from date to newdate below? Thanks. Code: * Example gen…
zero-inflated and right-censored count dataDear all statalists, Thank you for clicking on my post. What is the proper way to deal with zero-in…
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