Week 3 & 4
1
Probability As Used In Simulation
Basic Probability Concepts
2
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
“total number of heads/total number of toss”
3
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
Probability of occurrence of an event =
total favourable events/total number of experiments
4
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
5
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
6
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
7
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
8
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
9
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
10
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
11
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
12
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
13
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
14
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
15
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
16
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
17
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
18
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
19
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
20
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
21
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
22
S
T
R
O
P
1
2
3
6
5
4
Example: Suppose you spin each of these two spinners. What is the probability of spinning an even number and a vowel?
P(even) =
(3 evens out of 6 outcomes)
(1 vowel out of 5 outcomes)
P(vowel) =
P(even, vowel) =
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
23
1 |
5 |
5 |
8 |
x
=
5 |
40 |
1 |
8 |
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
24
1 |
6 |
5 |
6 |
x
=
5 |
36 |
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
25
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
26
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
27
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
28
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
29
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
30
There are 6 black pens and 8 blue pens in a jar. If you take a pen without looking and then take another pen without replacing the first, what is the probability that you will get 2 black pens?
P(black second) =
(There are 13 pens left and 5 are black)
P(black first) =
P(black, black) =
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
31
1 |
26 |
0 |
25 |
x
=
0 |
650 |
0
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
32
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
33
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
34
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
35
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
36
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
37
Modeling and Simulation
Department of Computer Science
Basic Probability Concepts
38
Modeling and Simulation
Department of Computer Science
Random Variables
Modeling and Simulation
Department of Computer Science
Probability Distributions
Modeling and Simulation
Department of Computer Science
Discrete Probability Distributions
Modeling and Simulation
Department of Computer Science
Thank You
42
Modeling and Simulation
Department of Computer Science
Exercise:
43
Modeling and Simulation
Department of Computer Science
Q8. There are 6 black pens and 8 blue pens in a jar. If you take a pen without looking and then take another pen without replacing the first, what is the probability that you will get 2 black pens?
Q9. Explain probability distribution.
Q10. Higher is the number of trials, accurate will be the probability of ?
Q11. In probability, all favourable and unfavourable events are called ?
44
Modeling and Simulation
Department of Computer Science
Q12. What is called the set of all possible sample points of an experiment?
Q13. If sample space S has finite number of points, it is called.
Q14. A sample space that is finite or countable infinite is called a.
45
Modeling and Simulation
Department of Computer Science
Q15. Certain special pairs of events have a unique relationship referred to as.
Q16. For each element of an experiment’s sample space, the random variable can take on exactly.
46
Modeling and Simulation
Department of Computer Science