










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











docsity.com
Carlo
calculations
are
numerical
stochastic
process;
a
sequence of random events. Elementary Events:
Those events that we can not further analyze
into simpler events. For example, results (HEAD or TAIL) of a coinflipping are elementary events.^ Compound or Composite Events:
Those events that are defined
from
a
number
of
elementary
events.
For
example,
results
of
flipping two coins.
Random Events occur in nature. For example,
Scattering of electron from an atom,
Radioactive decay of an unstable nucleus,
Percolation,
Scattering of neutrons from solids.
docsity.com
1
and E
, then probability that E 2
2
occurs given that E
1
has occurred is called
conditional probability:
It is denoted as Pr{E
2
| E
} or Pr{E 1
2
given E
}. 1
If the occurrence of E
1
does not effect the occurrence of E
, then the 2
conditional probability reduces to only Pr{E
} and such events are called 2
independent events.
Pr{E
2
| E
} = Pr{E 1
} 2
(for independent events)
If there are two events E
1
and E
, then E 2
E 1
2
means both E
1
and E
2
occur.
Such events are called
compound events. Then probability for compound
events can be written as
Pr{E
2
E
} 1 = Pr{E
} Pr{ 1
E
2
| E
} 1
And for independent events,
Pr{E
2
E
} 1 = Pr{E
} Pr{ 1
E
} 2
docsity.com
Conditional Probability^ Example:
Suppose a box contains 3 white balls and 2 black balls. Let E
1
=
first ball drawn is black; and E
2
= second ball drawn is black. Find probability
that both ball drawn are black. ANSWER: for independent events, Pr{E
2
E
} 1 = Pr{E
} Pr{ 1
E
} 2
Pr{first
ball drawn is black} = 2/(3 + 2) = 2/
Pr{second
ball drawn is black} = 1/(3 + 1) = 1/
Compound event Probability = (2/5) x (1/4) = 1/10 = 0.1 Example: Suppose that the probability that A will be alive in 20 years is
0.7 and
probability that B will be alive in 20 years is 0.5, then the find the probabilitythat they will both be alive in 20 years. ANSWER: for independent events, Pr{E
2
E
} 1 = Pr{E
} Pr{ 1
E
} 2
Pr = 0.7 x 0.5 = 0.
docsity.com
Mutually Exclusive Events Example: A ball is drawn at random from a box containing 6 red balls, 4 whiteballs and 5 blue balls. Find probability that a ball drawn is (a) red, (b)white, (c) blue (d) red or white. Let R, W, B denote the events of drawing red, white and blue ballrespectively. Then Pr{R} = (ways of choosing a red ball)/(total ways of choosing a ball) Pr{R} = 6/(6 + 4 + 5) = 6/15 Pr{W} = 4/(6 + 4 + 5) = 4/15 Pr{B} = 5/(6 + 4 + 5) = 5/15 Pr{ R + W} = (ways of choosing red or white ball)/Total = (6 + 4)/15 = 10/15 Pr{R
docsity.com
Probability Distributions Discrete distributions:
If a variable X can assume discrete values X
k^
with respective probability values as
p
, p 1
, p 2
, p 3
,... , p 4
k
then we say a discrete probability distribution has been defined. Thefunction p(X) is called
discrete probability function
or discrete frequency
function. The X is called discrete random variable. For example:
the probability of boys and girls in families with three children
assuming equal probability for boys and girls is computed; Event
boy in a
family = B and its probability is p = ½. Pr{BBB} = (1/2)(1/2)(1/2) = 1/8 ;
Pr{GGG} = 1/
Pr{One
boy and 2 girls} = Pr{ BGG + GBG + GGB} = 1/8 + 1/8 + 1/8 = 3/
Pr{Two
boys and a girl} = Pr{ BBG + BGB + GBB} = 1/8 + 1/8 + 1/8 = 3/
This discrete probability distribution is shown here in a table.
Number of boys (X)
Probability, p(X)
docsity.com
Probability Distributions
-**
0
1
2
3
4
5
6
0.7 0.6 0.5 0.4 0.3 0.2 0.1 0. p(X)
X-values
EXAMPLE:
A continuous random
variable X has values between 0 and 4and has a density function given by p(X) =0.5 ā
aX
where a is constant.
Find Pr{ 1 < X < 2 }.
(^
)
4 0
2
4 0
4 0
ā«
ā«
(^
)
(^21)
2
2 1
2 1
ā«
ā«
Solution:
For a, we know that total
probability is one. So, we integrate thedensity function from 0 to 4 and equateit to one:
Then we find Pr{1 If X is a discrete random variable that can assume values
k^
with respective probabilities
p
, p 1
, p 2
,... , p 3
k^
then mathematical
Expectation Value or Averages expectation of X is
j
j
j
k
k^
x p X p X p X p X x E
ā = + + + = =
L 2 2 1 1 ) (
If the probability is replaced by the relative frequency as
p
= fi
/ Ni
then
the expectation value is average or mean of the sample of size N. The expected value for a function g(x) is
) (
) (
)) ( (^
j
j
j^
x g p x g x g E
>
From the definition of expected value of a function,
< constant > = constant
< ag(x) + bh(x) > = a + b
here g and h are functions;
docsity.com
nth Moment^ The nth moment of x is defined as
n j
j
j
n^
x
p
x
ā
>=
<
j
j
j^
x
p
x
ā
>=
<
The First moment of x is
2
2
j
j
ā
The second moment of x is
docsity.com
Nth moment^ Example:
Let us find first four moments for the data:
Solution:
2
3
4
Total:
f=
fu=
fu
fu
fu
Deviation = d = (X ā
A) and
u = d/c;,
c = 3
docsity.com
Moments & Variance
The Central Moments The Central moments of x are defined as The second central moment has a particular meaning:
This is also called variance of x.
n
i
n x
x
p
x
x
x g
)
(
)
(
) (
>
< ā
=
> > < ā < = > <
ā
2
2
2
2
2
2
ā ā
x
x
x
x p
x
x
p
x
x
i
i
i
i
i
i
i
2
2
}
var{
x
The standard deviation of x is
docsity.com
For a general function g(x), the variance is Two random variables g(x) and h(x) are independent if they derive fromindependent events. When two are independent then,
> < > < = > < ) ( ) ( ) ( )
(^
x h x g x h x g
For independent g and h variables,
2
2
2
2
2
var{
ā
ā
g
g
x g p x g p
x g x g x g
j
j
j
j
j
j
2
2
Moments & Variance
docsity.com