Dear all,
first of all, sorry if my question has already been posted (I'm looking for 1 hour now and don't find anything which fitted perfectly). I have Stata 14.
my problem is the following:
I have an excel file that I import in stata. Several variables contain dates. some of these variables have missing values (2 or 3 for example), then Stata recognizes them as string (whereas variables without missing values are already dealt as dates). the function date generates missing values for all the observations of a same variable if some of them are missing.
I can not drop the observations, moreover the data have to be merged with other files.
I hope I'm clear enough. Could you help me please? Thanks in advance.
Cécile
first of all, sorry if my question has already been posted (I'm looking for 1 hour now and don't find anything which fitted perfectly). I have Stata 14.
my problem is the following:
I have an excel file that I import in stata. Several variables contain dates. some of these variables have missing values (2 or 3 for example), then Stata recognizes them as string (whereas variables without missing values are already dealt as dates). the function date generates missing values for all the observations of a same variable if some of them are missing.
I can not drop the observations, moreover the data have to be merged with other files.
I hope I'm clear enough. Could you help me please? Thanks in advance.
Cécile
Comment