Researchers have developed an algorithm that could give pig farms advance notice of porcine epidemic diarrhea virus (PEDV) outbreaks. The proof-of-concept algorithm has potential for use in real-time prediction of other disease outbreaks in food animals.