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
Sample-level margin of error account for DeffHello, Apologies for the potentially basic question—I am generally a qualitative research who is di…
reg3 and xtabond2 Dear Statalist, I have estimated the 3SLS model below. reg3 (eq1: y1 = x1 x2 x3 x4 x5 dum1 dum2 d…
How to detect user-written programs in do-files?Is there a reasonable way to detect user-written commands in Stata code? I lead a small (5-person, …
factor variables may not contain noninteger valuesHi, I am trying to run the following regression: reg logchildwage logheadwage POOR age NPERSONS URB…
Remove margin below X-titleHi Statalist, I need to embed a local polynomial graph inside a LaTeX document. In order to keep th…
Subscribe to:
Post Comments (Atom)
0 Response to replacing numeric values with dates
Post a Comment