I have a variable of type integer. It contains years as YYYY. I wish to convert it to double type and %td format. I wish to add 1st January as the day and month for each year.
How can I do this?
Thanks.
Related Posts with A dates conversion question
compare outcomesHi statalist, I am a new student in STATA program I have a list of patients with different variables…
Linear regression with year as predictor variableHi all, I am new to Stata and a somewhat of statistics novice. I am working on a project where I am…
Identifying and replacing duplicate values across multiple string variablesHi. My data has each row identified by an id variable and multiple language string variables that li…
IR and PR (Prevalence ratio) same for Modified Poisson Regression with Robust Error VarianceHello glm y i.x1 i.x2 i.x3 i., link(log) family(poisson) eform Using the above command, I have fo…
Data manipulationI have a dataset with 3 variables and it looks like: year diff1 diff2 1970 1 0.5 1980 5 10 …
Subscribe to:
Post Comments (Atom)
0 Response to A dates conversion question
Post a Comment