Probability Essentials for Game Development
Probability Essentials for Game Development
Overview
IMGD 2905
• Statistics important for • What are some examples of
game analysis probabilities needed for
• Probability important for game development?
Probability statistics
• So, understand some basic
probability
Chapters 4 & 5 • Also, probability useful for
game development
[Link]
mages/[Link]
[Link]
[Link] wnlCrC13cKGG68wK9ljrTiXzRqvfq7IpWNzcwgzlpEOI8YmMafp4K4zO0sanvXu
mages/[Link]
1
4/27/2017
2
4/27/2017
3
4/27/2017
• Probability distribution –
values and likelihood of • “So what?”
those values that random • Can use known
variable can take
• Why? If can model formulas
mathematically, can use to
predict occurrences
– e.g., probability slot machine [Link]
4
4/27/2017
[Link]
[Link]
5
4/27/2017
[Link]
6
4/27/2017
zero, total probability infinite – e.g., P(59.5 < X < 60.5) normal (“bell curve”)
(this violates our rule) – Basis for inferential statistics
• Uses calculus (integrate (e.g., statistical tests)
area under curve) (not – “Bridge” between probability Aka “Gaussian” distribution
shown here) and statistics
What continuous distribution is especially important? The Normal Distribution
[Link]
=[Link]()
7
4/27/2017
=[Link](x,mean,stddev,false)
Use table (Z-table). Or Empirical Rule? =[Link](30,24,3,false) Use table (Z-table). Or Empirical Rule?
5% / 2 = 2.5% likely (actual is 2.28%)
Yes No
[Link] [Link]
8
4/27/2017
versus another
• If line same distribution?
distribution
1. Order data 7.19, 6.31, 5.89, 4.5, 3.77, 4.25, 5.19, 5.79, 6.79
2. Compute Z
scores
(normal) 1. Order data
3. Plot data (y-
axis) versus Z 2. Compute Z scores
(x-axis)
• Normal? line 3. Plot data versus Z
[Link]
10% = -1.28
20% = -0.84
30% = -0.52
40% = -0.25 10% = -1.28
50% = 0 20% = -0.84
30% = -0.52
60% = 0.25 40% = -0.25
50% = 0
70% = 0.52 60% = 0.25
80% = 0.84 70% = 0.52
80% = 0.84
90% = 1.28 90% = 1.28
9
4/27/2017
[Link]
[Link]
10