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)
Additional variables in second stage of control function approachDear all, I am estimating a reduced form CRE tobit as the first stage model in a control function a…
Check that string variable equals label of encoded variableHi, I am merging several files and I would like to verify that I have done it properly. If I made a…
Mipolate backward imputation for missing valuesHi, I need help with imputing missing values for my panel data for 100+ countries for 15 years (from…
Stacked Bar Chart or other Chart that can show change of groups/conditions through time in panel dataDear Stata Users, I have a panel data file that follow children every two years for a total of 4 wa…
Melogit Random Effect PredictionHi everyone, I'm trying to understand the random effect predictions of multilevel logistic regressi…
Subscribe to:
Post Comments (Atom)
0 Response to Working with dates (year - week)
Post a Comment