6
Example 3.2:-The probability mass function example is given below :
Let X be a random variable, and P(X=x) is the PMF given by,
�012345 6 7
�(�)0�2�2�3��
2
2�
2
7�
2
+�
i.Determine the value of k
ii.Find the probability P(X≤ 6) and P(3<x≤ 6 )
Outline
7
❖Discrete probability mass function
❖Continuous probability density function
❖Mean and Variance
❖Some special distributions
❖Conditionals distribution
Continuous probability density function(pdf)
8
Let ??????
????????????=
??????�
????????????
????????????
➢Thefunction??????
????????????iscalledtheprobabilitydensityfunction(pdf)ofthe
continuousr.v.X.
9
Example 3.3:-If the probability density function is given as:
��=ቊ
��−1,0≤�<3
�, �≥3
The find ??????(1<�<2)?
Solution
??????1<�<2=න
1
2
��−1��
Example 3.4:If X is a continuous random variable with the probability
density function given as:
��=ቐ
��
−??????
2
,�≥0
0,��ℎ������
Then find the values of �?
Cumulative distribution function (cdf) of pdf
10
The cdf �
??????(??????)of a continuous r.v. X can be obtained by
�
????????????=????????????≤??????=
−∞
??????
??????
????????????????????????
11
Example 3.5:-The pdf .of a continuous r.v. X is given by
Find the corresponding cdf �
??????(�)and sketch �
??????(�)and �
??????(�)
Solution
Outline
12
❖Discrete probability mass function
❖Continuous probability density function
❖Mean and Variance
❖Some special distributions
❖Conditionals distribution
Mean and Variance function
13
Mean:-The mean (or expected value) of a r.v. X , denoted by �
??????���(??????)is
defined by
Moment:-The �
??????ℎ
moment of a r.v. X is defined by
Note that the mean of X is the first moment of X .
Mean and Variance function
14
Variance:-The variance of a r.v. X, denoted by ??????
??????
2
or ??????��(??????)is defined by
??????
??????
�
=????????????????????????=�??????−�??????
�
=�??????−??????
??????
�
=�??????
�
−�??????
�
15
Example 3.6:-Consider a discrete r.v. X whose pmf is given by
Find the meanand varianceof X.
Solution
??????
??????=�??????=
�
�
−�+�+�=�
??????
??????
�
=????????????????????????=�??????−�??????
�
=�[??????−??????
??????
�
]=�??????
�
=
�
�
−�
�
+�
�
+�
�
=
�
�
16
Example 3.6:-Find the mean and variance of the r.v. X if the pdf of X is
Solution
??????
??????=�??????=න
�
�
??????�??????????????????=
�
�
�??????
�
=න
�
�
??????
�
�??????????????????=
�
�
??????
??????
�
=????????????????????????=�??????
�
−�??????
�
=
�
�
−
�
�
�
=
�
�??????
Outline
17
❖Discrete probability mass function
❖Continuous probability density function
❖Mean and Variance
❖Some special distributions
❖Conditionals distribution
Some special distributions
18
A.Bernoulli Distribution:
✓A r.v. X is called a Bernoulli r.v. with parameter pif its pmf is given by
✓The cdf �
????????????of the Bernoulli r.v. X is given by
✓The meanand varianceof the Bernoulli r.v. X are
19
Example3.7:Abasketballplayercanshootaballintothebasketwitha
probabilityof0.6.Whatistheprobabilitythathemissestheshot?
Solution:WeknowthatsuccessprobabilityP(X=1)=p=0.6
Thus,probabilityoffailureisP(X=0)=1-p=1-0.6=0.4
Answer:TheprobabilityoffailureoftheBernoullidistributionis0.4
Example 3.8:If a Bernoulli distribution has a parameter 0.45 then find its
mean.
Solution:Mean E[X] = p = 0.45
Example 3.9:If a Bernoulli distribution has a parameter 0.72 then find its
variance.
Solution:Variance Var[X] = p (1-p) = 0.72 (0.28) = 0.2016
Some special distributions
20
B.Binomial Distribution:
✓A r.v. X is called a binomial r.v. with parameters (n,p) if its pmf is given b
✓which is known as the binomial coefficient.
✓The corresponding cdf of X
21
Example3.10:-Abagcontains10marbles,6ofwhichareblueand4arered.An
experimentconsistsofpickingamarble(atrandom)fromthebag,makinganoteofits
colorandputtingitbackinthebag.Thisexperimentisrepeated5times.
Whatistheprobabilityofpickingexactly3bluemarbles?
Solution
Since the marble is put back in the bag at the end of each trial, the outcome of
each pick is independent of the previous. There are only two possible outcomes:
✓picking a blue (success),�=
6
10
=0.6
✓not picking a blue (failure),�=
4
10
=0.4
✓WedefinethediscreterandomvariableXasthe"numberofbluemarblespicked".
Usingthebinomialprobabilitydistributionfunctionwith5trials,n=5,probabilityof
asuccessp=0.6,for3successes,r=3,wefind:
Some special distributions
22
C.PoissonDistribution:
✓A r.v. X is called a Poisson r.v. with parameter �(>0) if its pmf is given
Some special distributions
24
D.UniformDistribution:
✓A r.v. X is called a uniform r.v. over (a, b) if its pdf is given by
Some special distributions
25
E.ExponentialDistribution:
Outline
26
❖Discrete probability mass function
❖Continuous probability density function
❖Mean and Variance
❖Some special distributions
❖Conditionals distribution