Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72762

Recode if date is not missing

$
0
0
I have a problem that help recode doesnt solve.

I have a IHD variable that is coded 0 or 1. In another column I have date of myocardial infarction. If a date is there, an event happened. If it's just a dot, no event happened. I want to recode from 0=1 if there is a date/or not a dot. Is there a simple solution?

Viewing all articles
Browse latest Browse all 72762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>