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)
quasi-panel made out of cross-sectional dataHi all, Does anybody know how to create a quasi-panel data out of the cross-sectional data. I have a…
Chow test in panel dataHi all, My estimated equation takes form of: ln(I)=B1ln(w1)+B2ln(w2)+B3ln(w3)+(control variables)+e…
Stata odbc query column labels from impalaI am trying to access data from impala sql into Stata: Code: clear all #delimit; odbc load, exec…
fixed effects specification: dummies (LSDV) vs within estimatorHello everyone, I have a question on the various specifications of a fixed effect model. I always …
using a separate time variable and am/pm indicator variable to generate a military time variableHi, I briefly dug into this and could not find an answer. I have 3 variables: a date variable, a ti…
Subscribe to:
Post Comments (Atom)
0 Response to Working with dates (year - week)
Post a Comment