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

Combining date interval data from two separate datasets

$
0
0
I have two datasets, one containing the start and end time of work shifts throughout a year, and another containing rain event data, with the start and end times of various weather events. I would like to create a binary variable within the first dataset to indicate whether or not it was raining at the start or end of the individual's shift. I am working in Stata 14.

Viewing all articles
Browse latest Browse all 65055

Trending Articles



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