Professional Documents
Culture Documents
Management - I
http://ganga.iiml.ac.in/~ggarg/QAM1.html
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
EVALUATION SCHEME
Quiz: 10%
Impression: 5%
Mid Term Exam: 35%
Post Mid part (OR): 50%
EXAM DATES
Quiz: 19 Jul 2011;
8:30 - 8:50 AM
Mid Term Exam: 1 - 3 Aug 2011
(Exact date and timings will be announced later)
CONTACT HOURS
Thursday & Friday 5:00 PM - 6:00 PM
COURSE OUTLINE
Random Variable
Discrete Probability Distributions
Continuous Probability Distributions
Correlation and Regression
Introduction to Sampling
CONTACT DETAILS
234, Chintan
Indian Institute of Management Lucknow
Prabandh Nagar, Off Sitapur Road
Lucknow - 226 013, Uttar Pradesh, INDIA
Talk: +91-522-273-6627 (W), +91-522-273-6416 (R)
Email: ggarg@iiml.ac.in; ggarg31@gmail.com
Random Variable
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
A Review of Probability Theory
S is a sample space
A is some event in S. ( )
n
A
is the number of occurrences of A
Limitations:
Limitations
S is a sample space
A is some event in S. ( )
B A B
B P A P B A P
S P
A P
provided , event any for
) ( ) ( ) ( (iii)
1 ) ( (ii)
1 ) ( (i)
Important Probability Rules
P(S) = 1
P() = 0
A A
c
= , so P(A A
c
) = 0
AUA
c
= S so P(AUA
c
) = 1
P(A
c
) = 1 P(A)
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
Conditional probability
P(A|B)=P(A)
P(AB)=P(A).P(B)
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
Example:
Example:
)
=
.
3
P(AC and CD) = 0.2
P(AC and CD
/
) = 0.5
P(AC and CD
/
) = 0.1
P(AC and CD) = 0.2
1 . 1
1 . 1
1 . 1
1 . 1
1 . 1
1 . 1
All
Cars
1 . 1
1 . 1
Given AC or
no AC:
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
H
a
s
C
D
D
o
e
s
n
o
t
h
a
v
e
C
D
H
a
s
A
C
D
o
e
s
n
o
t
h
a
v
e
A
C
H
a
s
A
C
D
o
e
s
n
o
t
h
a
v
e
A
C
P
(
C
D
)
=
0
.
4
P
(
C
D
)
=
0
.
6
P(CD and AC) = 0.2
P(CD and AC) = 0.2
P(CD and AC) = 0.1
P(CD and AC) = 0.5
1 . 1
1 . 1
1 . 1
1 . 1
1 . 1
1 . 1
All
Cars
Given CD or
no CD:
1 . 1
1 . 1
Idea of Random Variable
Or
i.e., X : S R,
Example:
X is a random variable
Example:
X could be 1, 2, 3, 4, 5 or 6
Example:
Sample space
S={HHH, HHT, HTH, THH, HTT, THT, TTH, TTT}
X is a random variable.
X could be 0, 1, 2, or 3.
X belongs to {0, 1, 2, 3}
= 7/8
Example:
X is a random variable.
P(X 1) = 15/16
Example:
Example:
'
1 if , 1 / 1
1 if , 1 / 1
1 if , 1 / 1
) (
is of function mass y probabilit
x
x
x
x p
X
x = 0 x = 1 x = 2
P
r
o
b
a
b
i
l
i
t
i
e
s
Example:
'
111 if 1 / 1
111 if 1 / 1
) (
x
x
x p
Example:
Also,
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
1
1
1
1
1
1
1
1
1
1
1
1
1
1
) (
1 1
1 1
,
_
,
_
,
_
x
x x
x p
( )
( )
'
1 if 1 / 1
1 if 1 / 1
1 if 1 / 1
) (
is of function mass y probabilit
1
1
x
x
x
x p
X
Example:
Ans: 0.91
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
Expectation of a Discrete Random
Variable
pmf of X is
'
111 if 1 / 1
111 if 1 / 1
) (
x
x
x p
E(a) = a,
E(aX) = aE(X),
Find E(X).
Ans: -0.6
Example
Ans: 1
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
x -2 -1 0 1
p(x) 0.4 k 0.2 0.3
Example
pmf of X is given as
Ans: 2
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
Variance of a Discrete Random
Variable
Var(a) = 0,
Var(aX) = a
2
Var(X),
Var(aX + bY) = a
2
Var(X) + b
2
Var(Y) + 2ab
XY
XY
is the covariance between X and Y.
(will be discussed
later)
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
), ( ) ( and ) ( ) (
1 1
x p x X E x p x X E
x x
Example
Find Var(X).
Ans: 1.64
Example
Find Var(X).
Ans: 2/5
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
x -2 -1 0 1
p(x) 0.4 k 0.2 0.3
Joint Probability Distribution of two
Discrete Random Variables
b
m
Total
a
1
p
11
p
12
p
1m
p
1.
a
2
p
21
p
22
p
2m
p
2.
.
.
.
.
.
.
.
.
.
.
.
.
a
n
p
n1
p
n2
p
nm
p
n.
Totalp
.1
p
.2
p
.m
1
. , , 1 , 1 ; , , 1 , 1 ), and ( m j n i b Y a X P p
j i ij
Marginal pmf of X
Marginal pmf of Y
Possible values of X
Possible values of Y
Example:
Ans
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
Y
X 0 1 Total
0 0 1/2 1/2
1 1/2 0 1/2
Total 1/2 1/2 1
Example:
Ans
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
Y
X 0 1 2 3 Total
0 1/8 2/8 1/8 0 4/8
1 0 1/8 2/8 1/8 4/8
Total 1/8 3/8 3/8 1/8 1
Covariance between two
Discrete Random Variables
It is given by
Here,
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
[ ]
) ( ) ( ) (
)} ( )}{ ( {
Y E X E XY E
Y E Y X E X E
XY
m
j
j j
n
i
i i
n
i
m
j
ij j i
p b Y E p a X E
p b a XY E
1 1
1 1
) ( , ) (
) (
Example:
Compute
E(XY) = E(X).E(Y)
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
Probability Distribution of a
Continuous Random Variable
pdf is defined as
Provided
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
,
_
+
1 1
1
lim ) (
1
h
x X
h
x P
h
x f
h
. 1 and all for , 1 ) (
X
R
f(x) dx x x f
<
< < <
b
a
dx x f
b X a P
b X a P
b X a P b X a P
) (
) (
) (
) ( ) (
Example:
Example:
Find E(X).
Ans: 1/a
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
X
R
dx x xf X E ) ( ) (
Example:
Find E(X).
Ans: 3/4
Example:
Find k
Find E(X)
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
Variance of a Continuous Random
Variable
where
f(x) is pdf of X,
R
X
is the range space of X.
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
X X
R R
dx x xf X E dx x f x X E ) ( ) ( and ) ( ) (
1 1
( ) { }
( ) [ ]
1
1
1
1
) (
) ( ) (
X E X E
X E X E X Var
X
Example:
Find Var(X).
Example:
Find Var(X)
Example:
Find Var(X).
QAM - I by Prof. Gaurav Garg (IIM Lucknow)
Summary
Random Variable