Professional Documents
Culture Documents
Astha Savyasachi
RANDOM VARIABLES
RandomVariable
Values
Type
Flipacointhreetimes;X=thetotal
numberofheads.
{0,1,2,3}
Finite
Thereareonlyfour
possiblevaluesforX.
Selectamutualfund;X=the
numberofcompaniesinthefund
portfolio.
{2,3,4,...}
DiscreteInfinite
Thereisnostated
upperlimittothesize
oftheportfolio.
Measurethelengthofanobject;X= Anypositiverealnumber
itslengthincentimeters.
Continuous
Thesetofpossible
measurementscan
takeonanypositive
value.
PROBABILITY DISTRIBUTION
P(X)
.1
.3
.4
.2
The cumulative distribution function for the above probability distribution is calculated
as follows:
The probability that X is less than or equal to 1 is 0.1,
the probability that X is less than or equal to 2 is 0.1+0.3 = 0.4,
the probability that X is less than or equal to 3 is 0.1+0.3+0.4 = 0.8, and
the probability that X is less than or equal to 4 is 0.1+0.3+0.4+0.2 = 1.
CONTINOUS PROBABILITY
FUNCTION
A probability function for continuous random
variable is called continuous probability function
since the domain of function is continuous
probability function.
It can be also defined in terms of probability
density function and cumulative density function.
E(X)= x.p(x)=
X = the number of days the men'ssoccer team plays soccer per week. X
P(X=x)
xP(X=x)
0
0.2
(0)(0.2)0,
= 01, OR 2 DAYS A WEEK.
MEN'S SOCCER TEAM
PLAYS SOCCER
1
0.5 THEY PLAY
(1)(0.5)
= 0.5
THE PROBABILITY
THAT
0 DAYS
IS 0.2, THE
PROBABILITY THAT THEY PLAY 1 DAY IS 0.5, AND THE
2
0.3
(2)(0.3) = 0.6
PROBABILITY THAT THEY PLAY 2 DAYS IS 0.3. FIND THE
LOMEN'S NG-TERM AVERAGE, , OR EXPECTED VALUE OF
THE DAYS
PER WEEK
THE SOCCER TEAM 0PLAYS
SOCCER
Expected
value: (0)(0.2)+(1)(0.5)+(2)(0.3)=
+ 0.5. 0.6
= 1.1.
PROBLEMS
P(X=x)
Xp(x)
(x -)2P(X=x)
0.2
0.242
0.5
0.5
0.005
0.3
0.6
0.243
add the entries in the column labeled (x) 2P(X=x) and take the square root for finding standard deviation.
PROBLEMS CONTD.
Supposeyouplayagameofchanceinwhichyouchoose5numbersfrom0,
1,2,3,4,5,6,7,8,9.Youmaychooseanumbermorethanonce.Youpay
$2toplayandcouldprofit$100,000ifyoumatchall5numbersinorder
(yougetyour$2backplus$100,000).Overthelongterm,whatisyour
expectedprofitofplayingthegame?
LetX=theamountofmoneyyouprofit),thevaluesofxare100,000dollarsand2
dollars.
Towin,youmustgetall5numberscorrect,inorder.Theprobabilityofchoosing
onecorrectnumberis1/10becausethereare10numbers.Youmaychoosea
numbermorethanonce.Theprobabilityofchoosingall5numberscorrectlyandin
orderis:
1/10*/10*1/10*1/10*1/10=1*105=0.00001(1)
Therefore,theprobabilityofwinningis0.00001andtheprobabilityoflosingis
10.00001=0.99999
P(x=x)
Xp(x=x)
loss
-2
0.999
-1.9998
profit
100,000
0.00001
BINOMIAL DISTRIBUTION
-The process is performed under same conditions and for fixed number of
times
-Each trial is independent of other trials
-Each trial has two mutually exclusive possible outcomes.
-probability of success and failure remains constant for trial to trial
A binomial random variableis a random variable that counts
the number of successes in a sequence ofindependentBernoulli
trials with fixed probability of success.
BINOMIAL DISTRIBUTION
CONTD
The expression for binomial distribution is
Solution:-(q+p)=q6+6q5p1+15q4p2+20q3p3+15q2p4
+6q1p5+p6
The probability of getting 4 or more heads is=
15*(1/4)*(1/16)+6*(1/2)*(1/32)+(1/64)=.344
PROBLEMS CONTD.
No. of
heads up
Observed
frequency
10
24
38
18
No.of heads
P(r)
N.P(r)
.03125
3.125
.15625
15.625
.3125
31.25
.3125
31.25
.15625
15.625
.03125
3.125
PROBLEMS CONTD..
defective
No.of
samples
Tot
al
19
35
30
23
128
PROBLEMS CONTD
PROBLEMS CONTD..
POISSON DISTRIBUTION
It may be expected in case where the chance of
any individual event being a success is small.
It is used to describe the behaviour of rare events
such as the no. of accidents on the road, no. of
printing errors in a book etc.
It is a limiting case of binomial distribution.
It is also called the law of improbable events
P(r)=e-mmr
`
r!
CONSTANTS OF POISSON
DISTRIBUTION
Mean of poisson distribution is m =np
Variance is =m
N(P1)=N(P0)*(m/1)
N(P2)=N(P1)*(m/2)
PROBLEMS CONTD.
PROBLEMS CONTD
No. of
mistakes
211
90
19
per page
no. of
times the
mistakes
occured
fx
211
frequency
209.3
90
90
92.09
19
38
20.26
15
2.97
0.34
Expected