The NY Pick 4 lottery consists of four "randomly" chosen digits from 0 to 9. For this to be fair, each digit should be equally likely to occur. To determine whether this is the case, a Chi-squared goodness of fit test will be applied to historical data. This provides a quantitative way of measuring how well the observed frequency of digits matches our expectations of a fair lottery. We also explore the "Lucky Sum", which is also a part of the Pick 4. We determine which sum is most likely to occur, and what the odds of winning are if you play the sum most likely to occur. We also developed a MATLAB program, which allows us to find Lucky Sum of any pick. Furthermore, we found the equation that fits the curve approximately.
Zhou, Xiaona, "Validation of a Lottery" (2019). CUNY Academic Works.