Hello all,
I am trying to extract the years from a datetime variable and do not seem to find a way. I am attaching images of what I see on STATA. Can someone explain to me in a simple way what I should do?
Thank you in advance! [ATTACH=CONFIG]temp_24673_1636800585647_206[/ATTACH] [ATTACH=CONFIG]temp_24672_1636800679451_248[/ATTACH]
Related Posts with Extract year from datetime variable
significance of difference in coefficients of same regression modelHi, I am having a question regarding testing whether the difference of coefficients is significant.…
Question about time series data with multiple factorsI am trying to format my data to allow me to designate it as time series and use the lag and lead op…
Interrupted time series with multiple treatment periodsI am working on a sugar tax evaluation, using an interrupted time series model that accounts for two…
Create a new variable that shows the result of tabulationHello Statalist, I consider myself a beginner, so I would appreciate your help, and thank you for t…
Code to be able identify treated-control firm(s) groups for matched dataHi I have a matched treated-control firm-year panel dataset which I matched on different variables …
Subscribe to:
Post Comments (Atom)
0 Response to Extract year from datetime variable
Post a Comment