Joint Distribution

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 11

Joint Distribution

Suppose X & Y have the following joint distribution

Y Sum
-3 2 4
X 1 0.1 0.2 0.2 0.5
3 0.3 0.1 0.1 0.5
Sum 0.4 0.3 0.3

Find Cov(X,Y) - and Correlation between X & Y -

E(X) = = 1*0.5 + 3*0.5 = 2


E(Y) = = -3*0.4 + 2*0.3 + 4*0.3 = 0.6
E(XY) =
=(1)(-3)(0.1) + (1)(2)(0.2) + (1)(4)(0.2)
3)(-3)(0.3) + (3)(2)(0.1) + (3)(4)(0.1)
=0

Thus cov(X,Y) = E(XY) – E(X)E(Y) = -1.2

Computation of V(X) = =

E(X2) = (12)(0.5) + (32)(0.5) = 5

V(X) = E(X2) –[E(X)]2 = 5 – 22 = 1

E(Y2) = 9.6

V(Y) = 9.6 – 0.62 = 9.6

= -0.4

Thus X and Y are not independent.

Moment of a RV
Let Y be a RV with distribution of f.
The rth moment (Mr) of Y is defined as

Mr = E(Yr).

Thus
mean of Y = E(Y) = M1 = first moment

V(Y) = E(Y2) – [E(Y)]2 = M2 – (M1)2

Find the first five moment of Y if Y has the following distribution.


yi -2 1 2
F(yi) 1/2 1/4 1/4

M1 = =0

M2 = =4.5
..

..

M5 = =45

Moment generating function


The moment generating function is defined as the expected value of etY.

MGF: MY(t) = E(ety)

Discrete and Continuous Distributions


Binomial, Normal, Poisson, Exponential distributions

Binomial Distribution
In statistics the binomial distribution describes the
possible number of times that a particular event will
occur in a sequence of observations out of two possible
events. The two events are generally success and
failure.

Eg. (a) The engineer is interested number of non


defective items in a sample of 100 lot.
(b) The doctor studies the number of survivors vs
deaths after treatment for a sample of 200 patients
(c ) A teacher may interest how many heads occurs
when by throwing 100 coins
Eg. Six fair coins are tossed. Let Y= no of heads occur

The p(X=0) = (1-1/2)6 = (1/2)0(1-1/2)6


P(Y=1) = (1/2)1(1-1/2)5
P(Y=2) = (1/2)2(1-1/2)4
Y=i P(Y=i)
0 (1/2)0(1-1/2)6
1 (1/2)1(1-1/2)5
2 (1/2)2(1-1/2)4
3 (1/2)3(1-1/2)3
4 (1/2)4(1-1/2)2
5 (1/2)5(1-1/2)1
6 (1/2)6(1-1/2)0
Thus the binomial distribution is the discrete
probability distribution of the number of successes
in a sequence of n independent (yes/no) trials.

If p = probability of success of an experiment then


P(Y = r) = (p)r(1-p)n-r

P = Probability of success and n = number of trials

Binomial Distribution
The conditions for a binomial distributions are
 The experiment consists of n identical trials
 Each trial has only one of the two possible mutually exclusive outcomes,
success or a failure.
 The probability of each outcome does not change from trial to trial

Probability distribution (mass) function

In general, if the random variable Y follows the binomial distribution with parameters n and
p,

we write Y ~ B(n, p).

The probability of getting exactly k successes is given by (p)k(1-p)n-k , k=0,1,2,………., n.


This is known as probability mass function (or probability distribution function).

1. A family has 6 children. Find the probability that there are (a) 3 boys and 3 girls and (b)
fewer boys than girls. The probability that any child being a boy = ½.

P(3 boys) = 6C3 (1/2)3* (1-1/2)3 = 5/16

P( no boys = 1 boy + 2boys) = 11/32


2. A multiple choice test has four possible answers to each of 16 questions. A student guesses
the answer to each question, i.e., the probability of getting a correct answer on any given
question is 0.25. What is probability that at least 14 questions be correct?

P(Y>14) = P(Y=14) + p(Y=15) + p(Y=16)

The questions are answered independently if the student's answer to a question in no way
influences his/her answer to another question.

3. It was identified that 1% of all TVs made by Singer Company in 2006 are
defective. If six of these TVs are randomly selected from across a town and tested,
what is the probability that exactly three of them are defective?

Binomial Probability Distribution Table


(n = 6)
----------------------------------------------------------------------------------------
Probability
X.....0.1...... ..0.2.... .0.3... ..0.4.... .0.5.....0.6.....0.7.....0.8.....0.9
--------------------------------------------------------------------------------------
0.....0.531............0.118....................................................
1.....0.354............0.303....................................................
2.....0.098............0.324....................................................
3.....0.0165............0.185....................................................
4.....0.001............0.060....................................................
5.....0.000............0.010....................................................
6.....0.000............0.001....................................................
--------------------------------------------------------------------------------------

Properties of Binomial Distribution


Mean = np
Variance = npq = np(1-p)
SD =
Proof

Mean Y = E(Y) =

= (k=0 equals to zero)

= np

Let m = n - 1 and s = k – 1

= np

= np*1

= np

V(X) – Home exercise / Assignment

Note:

If X ~ B(n,p) and Y ~ B(m,p) and X & Y are independent then X+Y is also a binominal
distribution with (n+m, p) parameters.

Prove E(mean) & V(mean)

Normal Distribution

The normal distribution, is known as the Gaussian distribution, is an important family of


continuous probability distributions, applicable in many fields. Each member of the family
may be defined by two parameters, namely mean ("average", μ) and variance ("variability",
σ2), respectively.

PDF of the Normal dist. Is: fX(x) =

Y ~ N(µ, ).

The normal distribution also arises in many areas of statistics. The normal distribution is the
most widely used family of distributions in statistics and many statistical tests are based on
the assumption of normality. In probability theory, normal distributions arise as the limiting
distributions of several continuous and discrete families of distributions.

Standard normal distribution

As a consequence of Property 1, it is possible to relate all normal random variables to the


standard normal.

If X ~ N(μ,σ2), then is a standard normal DIRTRIBUTION. Z ~ N(0,1). An


important consequence is that the cdf of a general normal distribution is therefore

Conversely, if Z is a standard normal distribution, Z ~ N(0,1), then

X = σZ + μ

is a normal random variable with mean μ and variance σ2.


P( -1 Z +1 ) = 68.2
P( -2 Z +2 ) = 95.4
P( -3 Z +3 ) = 99.2

The standard normal distribution has been tabulated (usually in the form of value of the
cumulative distribution function Φ). (see distributed document)

If X is a rV with standard normal distribution . Find

(a) P(X=Z 1.2) = = 0.8849

= +

= 0.5 + 0.3859 = 0.8849


(b) P(x =

=1- = 1 – 0.9082 = 0.0918

(2) Let T be the temperature in May & distributed normally with mean 68 and SD 6. Find the
Prob. That the temperature is between 70 & 80

T ~ N (68, 62)

P( 70 T 80 )

= P( )

=P(0.33 Z 2)

= P(Z 2) – P(Z 0.33)

= -

= 0.9772 – 0.6293 = 0.3479

(3) The radius of nails in a sample of 800 is normally distributed with men 66 mm and
standard deviation 5 mm. Find the number of nails with radius between 65 and 70 mm.

Let R be the RV of the radius of nails

P(65 R 70 ) = P( Z )

= P (-0.20 Z 0.80)
Normal approximation

If n is large enough, the skew of the distribution is not too great, and in such situation if Y
distributed B(n, p) then it is approximated that Y distribute normally with mean np, npq

Properties of Normal dis

You might also like