Dear members
I have the following date: 12-Dec-15 and would like to convert it to numerical so I can great a dummy variable equal to one if the data is less than 12-Dec-15 and zero otherwise.
What’s the right code to convert the data so I can use to create the dummy variable?
thanks for your help
Related Posts with How to convert a date into numerical for subtraction
Remove spaces from string if consecutive one letter characters or numbersHi how would I go about removing spaces from strings such as the following: 1 2 B L GROW A I M INC b…
Replacing ICD value to another value in a datasetDear Stata Expert I would much appreicate your help on this issue. In a dataset where variabled DX1 …
Dyadic analysis - what are the key assumptionsHi all, We want to perform dyadic analysis for a cross-sectional dataset of about 800 families with…
Add one overall note, text or caption to a combined coefplotHi I use coefplot to stack several graphs together. When I want to add a note, it adds to each sub g…
Remove spaces from string if consecutive one letter charactersHi how would I go about removing spaces from strings such as the following: B L GROW A I M INC becom…
Subscribe to:
Post Comments (Atom)
0 Response to How to convert a date into numerical for subtraction
Post a Comment