Hello,
I have a variable in my dataset that expresses the year and week in the following way: year - week. For example: 2020 - 01 2020-02 2020-03 and so on. This variable is in the string format. I would like to transform this values in time values.
Can you help me with the code?
Thank you in advance
Related Posts with Working with dates (year - week)
Latent Class Analysis - Is it possible to run ANOVA or Chi-test in STATA after LCA?Hi everyone, I have been trying to conduct an ANOVA or Chi-test to examine whether certain variable…
looping regressions with different interaction terms each timeDear all, I am still a Stata novice and first post on statalist, I have tried to follow all rules, …
First difference with panel data with multiple observations per yearHi! I am wondering if it is at all possible to do a first difference regression with panel data tha…
looping regressions with different interaction terms each timeDear all, I am still a Stata novice and first post on statalist, I have tried to follow all rules, …
Speed up modelHi, I am trying to find the best combination of number of groups and polynomials in a model. I am u…
Subscribe to:
Post Comments (Atom)
0 Response to Working with dates (year - week)
Post a Comment