



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!




6/23/2012 Lecture 5:^ Nasir M Mirza^1
Room A-114, Department of Physics & Applied Mathematics, Pakistan Institute of Engineering & Applied Sciences, P.O. Nilore, Islamabad email: [email protected]
6/23/2012 Lecture 5:^ Nasir M Mirza^2
n i
n
p x x
g x x x ( )
2 2
2 2
x x
p x x
x x p x x
i
i i
i
i i
i
2 2
The standard deviation of x is var{ x }
6/23/2012 Lecture 5:^ Nasir M Mirza^4
The covariance is a measure of the independence of two random variables x and y: cov{ x , y } xy x y
Zero covariance does not imply independence of random variables. Another quantity related to covariance is the correlation coefficient:
It is equal to zero when x and y are independent. Also,
var{ }var{ }
cov{ , } ( , ) x y
x y x y
Its value is in between -1 and +1. Monte Carlo calculations try to take advantage of the negative correlation as a measure of reducing the variance.
6/23/2012 Lecture 5:^ Nasir M Mirza^5
Consider two events E0 and E1 that are mutually exclusive and exhaustive:
( 0 } 0 , 0.
{ 1 } , 1 .,
P E x
P E p x
The expected values for the real number x and its square are
( ).
( ) 1 ( 1 ) 0 , E x^2 p
E x p p p
The variance of x is
Suppose there are N independent samples of these events And each has either 0 or 1 outcome. Then probability of x Successes out of N is
( 1 ).
var{ } 2
2 2
p p p p
x x x
x N x x P { X x } N^ C p ( 1 p )
x Np
The variance of x is var{^ x }^ np (^1 p )
The average or mean of x is
Binomial pdf:
6/23/2012 Lecture 5:^ Nasir M Mirza^7
x l
, 0 , 1 , 2 , 3 , , !
( ) { } ^ n n
t P X x e
n l t^ l