The Kelly Criterion only applies to games where you have an edge, if you inputed the average lottery results you should get a negative number, indicating that you should be the house (haha.)
And Ronnie, EV stands for Expected Value. It's a real concept - it's the same thing as the "mean" or "average" result of any gamble. For example the EV of a fair coinflip with a 1:1 bet is 0. It's not a wierd theory, it's just the word many gambling mathemticians use to describe the average result of a wager. It could also be expressed as Edge, like house or player edge.
The Standard Deviation Statistic is useful for 2 reasons. It describes how far you are likely to deviate away from your expected value. The second reason is that for games with a player edge, you can reasonably approximate the optimal bet for bankroll growth with the formula (EV/(STDDEV^2))*Bankroll.
The formula to find the actual optimal Kelly bet is more complex than just using STD DEV, but is usually well approximated by using STDDEV^2.
J.L. Kelly Jr, found that anyone betting double of the Kelly criterion would see no growth in their bankroll playing a game with an advantage. I think it is important to understand this concept, although it has little to no application with the lottery, which can basically never be played with a player edge.