Hello, I have a string variable that looks like this: 13-03-2014(Late visited). How can I remove some kind of those texts from this variable and then convert this variable to date type. Thanks in advance.
Related Posts with removing text from string variable with date format
cox regression with shared frailty or vce clusterHello, In running a cox regression model (stcox), I would like to look at within group correlation.…
generate variable: birth order of children (ages 0 to 17) in householdHello I am using the South African NIDS (National Income Dynamic Survey) wave 1 to wave 5. I have s…
Using the foreach commandHello, I am using STATA 15 and wide-format dataset. My aim is to create a new variable (my data is…
New version of xtdcce2 and xtcd2. New package xtcse2Thanks to Kit Baum a new version of xtdcce2 and xtcd2 is available on SSC. In addition a new program…
Create mean variables of a subgroup for the whole groupDear all, I have data on education attainment per year and state and I want to compute the percenta…
Subscribe to:
Post Comments (Atom)
0 Response to removing text from string variable with date format
Post a Comment