Docsity

Calculating Expectation & Variance of Discrete & Continuous Variables, Study notes of Economics

Toggle sidebar
bg1
Mathematical Expectation
Expectation for Discrete rv’s: For a discrete rv
X with pmf p(xi); i=1,2,…, the expectation of X,
denoted by E(X), is defined as
E(X)=xip(xi),
If g(X) is a real valued function of X, then
E[g(X)]= g(xi)p(xi),
Ex: Let pmf of a discrete rv X be
p(x)=px(1-p)1-x; x=0,1; 0<p<1, and 0 otherwise.
Find E(X), E(X2).
Ex: Suppose pmf of discrete rv X is
p(x)=e-22x/x!; x=0,1,…; and 0 elsewhere
Find E(X).
Ex: The pmf of a rv X is
p(x)=1/n, x=x1,x2,…,xn
Find E(X).
1
pf2

Partial preview of the text

Download Calculating Expectation & Variance of Discrete & Continuous Variables and more Study notes Economics in PDF only on Docsity!

Mathematical Expectation

Expectation for Discrete rv’s: For a discrete rv

X with pmf p(xi); i=1,2,…, the expectation of X,

denoted by E(X), is defined as

E(X)=xip(x i),

If g(X) is a real valued function of X, then

E[g(X)]= g(x i)p(x i),

Ex: Let pmf of a discrete rv X be

p(x)=px(1-p) 1-x^ ; x=0,1; 0<p<1, and 0 otherwise.

Find E(X), E(X^2 ).

Ex: Suppose pmf of discrete rv X is

p(x)=e-2^2 x/x!; x=0,1,…; and 0 elsewhere

Find E(X).

Ex: The pmf of a rv X is

p(x)=1/n, x=x 1 ,x 2 ,…,xn

Find E(X).

1

Expectation of Continuous rv’s: Let X be a continuous rv with pdf f(x). Then expectation of X is defined as The expectation of a function g(X) of X is defined as Ex: Let X be a continuous rv with pdf f(x)=e-x^ , if x>0 and 0 otherwise. Find E(X), E(X 2 ).

Ex: The pdf of X is given by f(x)=1/2, if –1<x<1 and 0 otherwise. Find E(X), E (X^2 ).

Results:

  • For a constant c, E(c)=c.
  • E[cg(X)]=cE[g(x)]
  • If g 1 (x)g 2 (x) for all x then E[g 1 (X)]E[g 2 (X)]

=E(X) is called the mean of X (^2) =E(X- ) 2 is called the variance of rv.

2