I have a variable named "year" which randomly displays the values 5 to 22. But I want "year" to display the dates 2000 to 2017 instead of the numeric 5 to 22. for example if "year" =5 I want to change it to make "year"=2000. another example : If "year"=6 I want year to show "year"=2001 or if "year"=22 I want to change and make "year"=2017
Related Posts with replacing numeric values with dates
How to expand the panel data to pairsHi All, I am struggling to combine my long panel data to pairs and wonder if anyone can give me a h…
Interpretation of output from the 'churdle' commandHello, I am currently planning a study and started thinking about the proper econometric approach t…
Saving mean and CI after "svy: mean" or a more efficient way to plot survey trends with CI's?Hello Statalist, I'm new to using the -svy- commands and I am trying to construct trend graphs with…
How to combine char(40) and a stringI have a standard error saved in a local variable `se'. For instance, the s.e. is .89. I want it to …
Remove blank space at the end of a graphHi Statalist! I am trying to get a plot of multiple time-series in one graph but I keep getting thi…
Subscribe to:
Post Comments (Atom)
0 Response to replacing numeric values with dates
Post a Comment