I have a situation where an event is supposed to occur every x minutes for a number of different sites (each site could be configured for a different time interval x). From time to time the event may fail.
I'd like to be able to predict an interval of time that I should worry if an event hasn't occurred. (e.g. for site A 1 missed event indicates a problem that needs attention, but site B misses a lot, so I wouldn't worry about 5 missed events).
To make this a little more concrete. Let's say that I have 3 stores that are supposed to upload their sales data every 30 minutes. If store 1 misses an upload, it may be a temporary problem and they'll be able to upload at the next 30 minute interval. This is especially true if this happens frequently for store 1.
On the other hand store 2 may almost always upload at the 30 minute interval mark, so that one failure indicates a problem that someone needs to look at.
Assuming I have a lot of historical data on how frequently each store fails uploading, how would I go about creating a model for each store based on their history that I can use to determine an estimated prediction of when each store should next upload their data?