I have a variable that records the time of an event. The problem is that some of entries include string reposes such N/A, which make the variable string when imported to Stata. How can I fix this?
Also, how can I deal with the first observation. I assume it should be 25:00:00 and not 25:00
Thanks,
Marvin
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str8 alarm "25:00" "21:05:00" "08:37:00" "00:00:00" "14:05:00" "03:10:00" "09:14:00" "11:46:00" "12:06:00" "n/a" end
Thanks,
Marvin
Comment