The Poisson distribution is a valuable tool for modeling count data, representing the probability of a specific number of events within a fixed timeframe or space, assuming a constant average rate and event independence. However, real-world datasets often deviate from these ideal conditions. This article explores fitting Poisson distributions to…