Probability Statistics Slides
Probability Statistics Slides
Pradeep Boggarapu
Department of Mathematics
BITS PILANI K K Birla Goa Campus, Goa
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 1 / 24
Text Book:
Introduction to Probability and Statistics, ‘Principles and
applications for engineering and the computing sciences’ by J. S.
Milton and J. C. Arnold, 4th ed., Tata McGraw-Hill Pub.
References:
1 Vol: 1, 2: An Introduction to Probability Theory and
Applications by Feller, 3rd edition, John Wiley & Sons, 2008.
2 A First Course in Probabilitys by Sheldon M. Ross, 7th edition,
Prentice Hall, 2002.
3 Miller & Freund’s-Probability & Statistics for Engineers by
Richard A. Johnson, 6th Edition, Pearson Education Inc., First
Indian Reprint, 2001.
4 Introduction to Mathematical Statistics by Hogg, R. V. and
Craig, A, Pearson Education, 2005.
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 2 / 24
Teachers:
1 Dr. Pradeep Boggarapu (CC-113)
Lecture for Sec. L2 and Tutorial for Sec. T5.
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 3 / 24
Evaluation Scheme:
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 4 / 24
Miscellaneous
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 5 / 24
Introduction to Probability
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 6 / 24
Outline
1 Basic terminology
3 Conditional probability
4 Bayes’ theorem
5 Independent events
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 7 / 24
Basic Termonology
What is Probability?
Ans. The measure of the chances that an event occur
in an experiment.
Random Experiment. An experiment or a process for
which the outcome cannot be predicted with certainty.
Although the outcome of the experiment will not be
known in advance, but the set of all possible outcomes
is known.
Sample Space. The set of all possible outcomes of a
random experiment is known as the sample space of
the experiment and is denoted by S.
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 8 / 24
Basic Termonology
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 9 / 24
Axioms of Probability
Probability is a function P : 2S → R satisfying:
Axiom 1.
0 ≤ P(E ) ≤ 1
Axiom 2.
P(S) = 1
Definition 0.1.
Classical Formula. Let S be finite sample space of a
random experiment having equally likely outcomes, then
for any event E ⊂ S,
n(E )
P(E ) = .
n(S)
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 12 / 24
Problems
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 13 / 24
Problems
Definition 0.2.
Let E and F be events such that P(F ) 6= 0. The
conditional probability of E given F , denoted by P(E |F ),
is defined as
P(E ∩ F )
P(E |F ) = .
P(F )
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 15 / 24
Total Probability Rule
P(E1 E2 E3 · · · En )
= P(E1 )P(E2 |E1 )P(E3 |E1 E2 ) · · · P(En |E1 E2 · · · En−1 ),
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 16 / 24
Bayes’ Theorem
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 17 / 24
Problems
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 18 / 24
Independent Events
Definition 0.6.
The three events E , F and G are said to be (mutually)
independent if
P(EFG ) = P(E )P(F )P(G )
P(EF ) = P(E )P(F )
P(FG ) = P(F )P(G )
P(GE ) = P(G )P(E ).
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 20 / 24
Independent Events
Theorem 0.7.
Let E , F and G be three events from a sample space S.
1 If E and F are independent, then so are E and F c .
2 If E , F and G are independent, then E is independent
of F ∪ G .
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 21 / 24
Problems
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 22 / 24
Problems
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 23 / 24
Thank you for your attention
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 24 / 24
Probability and Statistics (MATH F113)
Pradeep Boggarapu
Department of Mathematics
BITS PILANI K K Birla Goa Campus, Goa
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 1 / 18
Random Variables. Discrete Random Variables
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 2 / 18
Outline
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 3 / 18
Random Variables
Definition 0.1.
Random Variable Random variable is a real-valued
function from a sample space S. We use uppercase letters
to denote a random variable and lowercase letter to denote
the numberical values observed by random variable (rv).
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 4 / 18
Examples for RV
f (x) = P(X = x)
Remark 0.4.
A real valued function f (x) is a probability density
function for a discrete random variable if and only if
1 f (x) ≥ 0,
X
2 f (x) = 1.
allx
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 7 / 18
Problems
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 8 / 18
Cumulative distribution function- Discrete
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 9 / 18
Expectation of a random variable
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 10 / 18
Expectation of a random variable
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 11 / 18
Variance and Standard deviation of random variable
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 12 / 18
Rules for expectations
Theorem 0.8.
Let X and Y be two discrete random varibles and c be
any real number.
1 E [c] = c
2 E [cX ] = cE [X ]
3 E [X + Y ] = E [X ] + E [Y ].
Corollary 0.9.
Var [X ] = E [X 2 ] − (E [X ])2 .
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 13 / 18
Rules for variance
Theorem 0.10.
Let X and Y be two discrete random varibles and c be
any real number.
1 Var [c] = 0
2 Var [cX ] = c 2 Var [X ]
3 Var [X + Y ] = Var [X ] + Var [Y ], provided X and Y
are independent random variables.
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 14 / 18
Problem
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 15 / 18
Moments and moment generating function (mgf)
mX (t) = E [e tX ]
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 16 / 18
Moments and moment generating function (mgf)
Example 9. Two balls are randomly chosen from an urn
containing 2 white, 2 red, and 4 black balls. Suppose that
we win Rs. 1 for each white ball selected and lose Rs. −1
for each red ball selected. If we let X denote our total
winnings from the experiment, then find the first, second
moments of X and mgf for X .
Theorem 0.12.
If mX (t) is the moment generating function for a random
variable X , then the kth moment of X is given by
k d k mX (t)
E [X ] = .
dt k t=0
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 17 / 18
Thank you for your attention
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 18 / 18
Probability and Statistics (MATH F113)
Pradeep Boggarapu
Department of Mathematics
BITS PILANI K K Birla Goa Campus, Goa
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 1 / 12
Standard Examples for Discrete Random Variables
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 2 / 12
Outline
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 3 / 12
Bernoulli random variable
Definition 0.1 (Bernoulli trial).
A random experiment or a trial whose outcome can be
classified as either success or a failure is called Bernoulli
trial.
In Bernoulli trial, define a random variable X by
X = 1, when the outcome is a success and X = 0
when it is a failure, then X is called Bernoulli random
variable.
If p is the probability that the trial is success, then the
probability mass function is given by
f (x) = p x (1 − p)1−x for x = 0, 1.
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 4 / 12
Binomial random variable
Theorem 0.2.
If X is a binomial random variable with parameters (n, p),
then
1 E (X ) = np
2 Var (X ) = np(1 − p)
3 The mgf of X is given by mX (t) = (pe t + 1 − p)n .
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 7 / 12
Mean, Variance and Mgf of Binomial RV
n
X n x
E (X ) = x p (1 − p)n−x
x=0
x
n
X n!
= x p x (1 − p)n−x
x=0
x!(n − x)!
n
X (n − 1)!
= np p x−1 (1 − p)n−1−x
x=1
(x − 1)!(n − x)!
n−1
X (n − 1)! j
= np p (1 − p)n−1−j
j!(n − j)!
j=0
= np(p + 1 − p)n−1 = np
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 8 / 12
Mean, Variance and Mgf of Binomial RV
n
2
X n x
2
E (X ) = x p (1 − p)n−x
x
x=0
n
X
2 n!
= x p x (1 − p)n−x
x!(n − x)!
x=0
n
X (n − 1)!
=np (x − 1 + 1) p x−1 (1 − p)n−x
(x − 1)!(n − x)!
x=1
n
X (n − 1)!
=np (x − 1) p x−1 (1 − p)n−1−x
(x − 1)!(n − x)!
x=1
n
X (n − 1)!
+ np p x−1 (1 − p)n−1−x
(x − 1)!(n − x)!
x=1
=n(n − 1)p 2 + np = np(1 − p) + n2 p 2 .
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 9 / 12
Mean, Variance and Mgf of Binomial RV
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 10 / 12
Cumulative Distribution Function of Binomial RV
Remark 0.3.
The cdf of bionomial random variable X with parameters
(n, p) is given by
0, if x < 0
[x]
X n j
F (x) = p (1 − p)n−j , if 0 ≤ x < n
j
j=0
1, if x ≥ n.
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 11 / 12
Thank you for your attention
Pradeep Boggarapu (Dept. of Maths) Probability and Statistics January 18, 2018 12 / 12