








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
This document is for begginers who want to learn probabiliy
Typology: Lecture notes
1 / 14
This page cannot be seen from the preview
Don't miss anything!
0 <= p <= 1
0 = certain non-occurrence
1 = certain occurrence
Probability varies between 0 and 1
or 0%., 0 indicates(0%) impossibility of event.
The higher the probability of an event, the more likely that the event will
occur.
For each outcome we will get probability
Sum of all the probability of sample space is equal to one, sample
space consists of outcomes.
Impossible Unlikely Equal Chances Likely Certain
0 0.5 1
0% 50% 100%
½
outcomes are 1, 2, 3, 4, 5, and 6
an even number is 3 (you could roll a 2, 4 or 6).
P(heads) = 1 head on a coin = 1
total outcomes = 2 sides to a coin = 2
P(heads)= ½ = 0.5 = 50%
part A?
stop on
(a) An even number?
(b) An odd number?
will stop in the area marked A?
B A
C D
3 1
2
A
C B
P(A)=1/4=25%
P(even)=1/
P(areaA)=1/
Probability Word Problem:
The team is deciding on a color and all
eight members wrote their choice down
on equal size cards. If Lawrence picks one
card at random, what is the probability
that he will pick blue?
Number of blues = 3
Total cards = 8
yellow
red
blue
blue
blue
green
black
black
1 to 6. What is the probability of the
following?
a.) an odd number
odd numbers – 1, 3, 5
total numbers – 1, 2, 3, 4, 5, 6
b.) a number greater than 5
numbers greater – 6
total numbers – 1, 2, 3, 4, 5, 6
Let’s Work These Together
3/6 = ½ = 0.5 = 50%
1/6 = 0.166 = 16.6%
greater than 1?
congruent sections numbered 1-5 will stop on an
even number?
one toss of a number cube?
1 2
3 4
P(>1)=3/4=75%
P(even)=2/5=40%
P(multiple of 2)=3/6=50%
Probability Properties
Ex: A Coin is tossed, find the probability head outcome.
P(X)= 1 / 2
Ex: A dice is thrown find the probability of each of the outcome
Probability(X)=Desired outcome/ total no. of outcomes
P= 1 / 6
Ex: tossing a coin twice find the probability of each outcomes.
possible outcomes "head-head", "head-tail", "tail-head", and "tail-tail"
outcomes.
Sample space S={HH,HT,TH,TT}
The probability of getting an outcome of “head-head" is 1 out of 4
outcomes or 1 / 4 or 0. 25 (or 25 %). Suppose X=heads
Total Probability=
X 2 1 0
P(x) ¼ 1 / 2 ¼
The probability of an event A is written as, P(A).
Probability of not Event A
Probability of Event A and not event A
First type of outcomes is X= 3 heads, then subsample (HHH)
Second type of outcomes X= 2 heads, then
Possibilities subsamples are (HHT,HTH,THH)
Third type of outcome X= 1 head,
then possibilities of subsamples (HTT,TTH,THT)
Forth type of outcome X= 0 heads, then possibilities (TTT)
Multiple outcomes ex: X= 2 (equal heads) then first use
intersection
=(( 1 / 2 x 1 / 2 x 1 / 2 ) +( 1 / 2 x 1 / 2 x 1 / 2 )+( 1 / 2 x 1 / 2 x 1 / 2 ))= 3 / 8
=( 1 / 2 x 1 / 2 x 1 / 2 )= 1 / 8 A Single outcome, use intersection i. e.
and then union
X=count of heads 3 2 1 0
P(x) 1 / 8 3 / 8 3 / 8 1 / 8
Probability distribution must be 1
X Difference between no. of heads and tail,
Ex: when two coins are tossed.
Probability distribution table for Difference, S{HH,HT,TH,TT}
H T Diff
X(HH,TT)=2 i.e. ((1/2x1/2)+(1/2x1/2))=1/
X(HT,TH)=0 i.e. ((1/2x1/2)+(1/2x1/2))=1/
Difference-X 2 0 sum
P(x) 1 / 2 1 / 2 1
Probability distribution table
Ex: If the outcome is head then 4 bits are sending per second, and if
the outcome is Tail then bits are not sent through the Tx line. When
three coins are tossed (i) find the bits sent for variable outcomes in the
sample space (ii) Find the probability distribution for the same.
Possibilities in
terms of no.(H)
Possibilities in
terms of no.(T)
send(+), not
sent(-) Difference
amount(X)
Possibilities
Bits sent/not
sent
HHH 3 0 12 Bits sent
HHT,THH,HTH 2 1 8 - 0 = 8 Bits sent
HTT,THT,TTH 1 2 4 - 0 = 4 Bits not sent
TTT 0 3 0 - 0 Bits not sent
P(HHH)=(1/2x1/2x1/2) = 1/
P(HHT,THH,HTH )=(1/2x1/2x1/2)+(1/2x1/2x1/2)+(1/2x1/2x1/2) = 3/
P(HTT,THT,TTH)=(1/2x1/2x1/2)+(1/2x1/2x1/2)+(1/2x1/2x1/2) = 3/
P(TTT)=(1/2x1/2x1/2) = 1/
Probability Distribution
Mean of random variables
For Discrete Random Variable: Expected value or
Mean of probability distribution or Mean of random variable,
Expected Value E(x)=X
1
1
2
2
3
3
4
4
n
n
i
forall x
i
The Probability distribution of discrete random variable x, for Ex.
x 0 1 2
P(x) 0.16 0.48 0.
Ex: X is the real no. associated with sample space, When One dice is
thrown,
X 1 2 3 4 5 6
P(x) 1 / 6 1 / 6 1 / 6 1 / 6 1 / 6 1 / 6
X
2
1 4 9 16 25 36
2
2
Standard deviation( )= Varience
Varience 1. 71
E(x)=21/6=3.
E(x
2
)=1/6+4/6+9/6+16/6+25/6+36/6=91/6=15.
Variance=E(x
2
)-(E(x))
2
=2.
Standard deviation( )=
Ex: Two dice thrown at a time, if x outcome is denoted as the no. of
six, write Probability Distribution and find mean, variance, and
standard deviation
Dice1 dice2 X=No. of 6
6 6 not(1,2,3,4,5) 1
6not 6 1
6not 6not 0
P(6)=1/6, P(6not)=5/
P(6 6)=1/6x1/6=1/
P(6,6not)=(1/6x5/6)=1/
P(6not 6not)=(5/6x5/6)=25/
P(6 6not, 6not 6)=(1/6x5/6)+(5/6x1/6)=5/36+5/36=10/
P(x) 25 / 36 5 / 36 + 5 / 36 = 10 / 36 1 / 6 x 1 / 6 = 1 / 36
2
E(x)=(10/36)+(2x1/36)=12/36=1/
E(x
2
)=(10/36)+(4x(1/36))=14/
Variance(x)=E(x
2
)-(E(x))
2
Variance=(14/36-1/9)=(14-4)/36=10/36=0.
Standard deviation( )=
Variance more, stability less in Discrete Random Variables
It is are of two types
2. Probability Density (Distribution) Function
Probability Distributions
Continuous random variable: Ex: Y= 2 , 2. 4 , 2. 8
CDF: Probability of previous outcome is added in to the
probability of next outcome is called Cumulative Density
Function (CDF), symbol Fx(x)
PDF: Probability is uniform for every outcome (ranndom
variable) is called Probability Density (in discrete it is
3). Non decreasing
Properties
probability of P( 2)=1/6+1/6=2/
probability of P( 1)=1/
probability of P( 3)=1/6+1/6+1/6=3/
(1)Finding a CDF where there is only one function in the pdf
(2)Finding a CDF where there is more than one function in the pdf
Conditional probability is the probability of some event A , given that
another event B has occurred.
Conditional probability is written P(A/B), or P B
(A) and is read"the
probability of A , given B ".itis conditional probability A given B.
If P ( A | B ) = P ( A ), then events A and B are said to be independent:
Also, in general, P ( A | B ) (the conditional probability of A given B) is not
equal to P ( B | A ).
Ex: Suppose that somebody secretly rolls two fair six-sided dice, and we
must predict the outcome (i.e sum of the two upward faces).
th
st
nd
2 2
C = 0 & n=1, 1
st
moment (absolute)
C = 0 & n=2, 2
nd
moment (absolute)
C 0 & n 1 , 1 moment ( absolute )
st
2 2
C 0 & n 22 moment ( absolute )
nd
st
nd
2
i i i
2 2
i i i
2 2
2
2 2
Ex: Variance(X)
Check
Law of large numbers
X 1
, X 2
,------is an infinite sequence of i.i.d. of
The sample average converges to the expected value
n
n
n
n
n n
n
2 1 2
n n
n
n
VarX VarX Var X
n
VarX X X
Var X
n n
n
2
2
2
2
2
2
1 2
( ) ( ) ( ) ( )
( )
2
2
2
n
n
Two different versions of the law of large numbers are described below; they are
called the strong law of large numbers , and the weak law of large numbers. Stated
for the case where X 1
, X 2
, ... is an infinite sequence of i.i.d. Lebesgue integrable
random variables with expected value E( X 1
) = E( X
2
) = ...= μ , both versions of the
law state that – with virtual certainty – the sample average
n
( ) n
VarX
n