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...
IV first stage regressionHi, I was asked to do the first stage (only) in IV regression and then get a table about it. Here ar…
Added value of multivariate regression model (mvreg)Dear forum members, I am using a multivariate model (mvreg) to analyse the effect of many control v…
Replacing values in a variableHello everyone. I am trying to replace the values in an old variable with ones from a new variable.…
Check whether -moremata- is installedWhen writing .do-files which make use of user written commands, first I check whether these programs…
Where do I find elemapi.dta ?I'm learning to do regression analysis with Stata following the link here : https://stats.idre.ucla.…
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