Powerball lottery
How to play
6 picks out of 69 numbers
One pick out of 26 numbers
Plan which data you will organize
Extract counting from the data
Click here to arrange the data
Draw: 587
Probability: 5/69
Draw: 587
Probability: 5/69
You will pick Number 28?? Based on the data?
Standard for frequency?
Higher than the normal probablity
Lower than the normal probablity
Must-have numbers?
Must-not-have numbers?
Distribution of frequency
Normal distribution zone
261 draw
Data process – group by
-First, to figure out your data and its structure.
X1, X2, X3, X4, … Xn
-To understand the data by X1, use the function of ‘group by’
X1, X3, X4, … Xn
group by X1 for X2
X2
No
group by X1 and X2, data size=max 69*69 (in case of powerball)
X1, X2, X3, X4, … Xn
X1
X2
X3
X4
X1, X2, X3, X4, … Xn
X1
X2
X3
X4
Filter -> we should find each variable
Need to look at one variable
How can we find the frequency of the number set?
How many of (12, 3) in the data?
Filter 12 in gathered data (tidy data) -> save draw -> ‘innerjoin’ with original data
Innerjoin saves only shared data between two data (<->antijoin)
Filter 12 in gathered data and save only data with ‘12’
Innerjoin data with ‘12’ and original gathered data with ‘draw’
6 times showing the data has (12,3)