I am given a list of date variables in dd/mm/yy and I would like to sort the variables out in the form of grouping them together by the specific year. For example, I want all date variables of 2010 to be in 2010 year variable and all date variables of 2011 to be in 2011 year variable.
How do I go about doing this?
Related Posts with How to convert date variable to year group?
Can't find PIPI'm running Spyder Python 3.3.6 from Stata/IC 16.1 for Mac (64-bit Intel): Code: . python query --…
Unable to use command BSPLINE in STATA version 15.1Hi, I am using STATA version 15.1. I am trying to run the following command: bspline, xvar(tmean05…
Cumulative Totals in Unbalanced Time Series DataI have not been able to figure out how to leverage time-series data (tsset) and its efficiencies to …
Difference gmm vs system gmm, fd vs fodIs there any criteria to decide which estimation of difference gmm vs system gmm, first difference v…
Difference in SE and CI using svyset v. pweight - reason for difference?I am working on analyzing survey data which was collected using a stratified random sample, with dis…
Subscribe to:
Post Comments (Atom)
0 Response to How to convert date variable to year group?
Post a Comment