• 沒有找到結果。

Outline Chapter5SumorRandomVariableandLarge-TermAverage

N/A
N/A
Protected

Academic year: 2022

Share "Outline Chapter5SumorRandomVariableandLarge-TermAverage"

Copied!
7
0
0

加載中.... (立即查看全文)

全文

(1)

Chapter 5

Sum or Random Variable and Large-Term Average

Random signal and Process 輔仁大學 電機工程系所

Outline

Expected value (Mean) of Random Variable

Sum of independent identically distribution

Sample Mean

Chebyshev inequality

Central Limit Theorem

CDF, PDF, Proof

Confidence Interval

Sample mean, unknow Mean and know variance

Unknow Mean and variance

Chi-square R.V. with (n-1) degrees of freedom

St udent s t - di st r i but i on wi t h

(n-1) degrees of freedom

(2)

5 - 2 Chapter 5: Sum of Random Variable and

Large-Term Average Dr. Sheng-Chou Lin

Expected value (Mean) of Random Variable

: a sequence of R.V.

: Sum of R.V.

•Meanof

•Variance of , X1  X2  Xn

Sn = X1 +X2+ X+ n Sn

E X1+X2+Xn E X=   E X1 +    E X2 + +  n Sn

Z = X+Y E Z  E X=   E Y+   VAR Z  E Z E= – 2 Z 

E X+Y–E X  E Y– 2

=

VAR X  VAR Y+   2COV X Y+  

=0

Z2X2+Y2

VAR X1+X2+Xn

VAR X k COV XjXk

k=1

n j=1

n

+

k=1

n

=

jk

-

If are indep.

-

sum of indep., identically dist. (iid)

•pdfof : are indep.

For n=2,

X1  X2  Xn

VAR X1+X2+XnVAR X k

k=1

n

=

E S  E Xn =1+X2+Xn n= VAR S  AR Xn =1+X2+Xn n= 2

Sn X1  X2  Xn Z = X+Y

Z E ew =jwZ E e=jwXejwYE ejwX E e+jwY

= = Xw Yw

fZz

= fX fx Yy

Random signal and Process 輔仁大學 電機工程系所

Expected value (Mean) of Random Variable

• For n independent R.V.

- -

-

Sum of n iid R.V.s

Ex: Sn: Sum of n independentGaussian R.V.’s with m1, ... , mn, and 12,...,n2

Sn: Gaussian R.V. with m = m1+ m2... + mn and 2=12+. .. +n2

S

n w X

1w X

nw

= fS

n z 1 X

1w X

nw

 

=

S

nw =Xw2

X

k ew = jw mkjw2k2 2

S

nw ejw mkjw2k2 2

k=1

n

=

ejw m1+ m+ n jw 212 + + n2 2

=

Ex: A sum of n i.i.d. Exponential R.V. with

m Erlang R.V.

Xw

 jw---

= S

nw

 jw--- n

=

 jw--- m

Exponential

mErlang R.V

(3)

5 - 4 Chapter 5: Sum of Random Variable and

Large-Term Average Dr. Sheng-Chou Lin

Sample Mean

: n i.i.d R.V’s with the same pdf

with .

• Sample mean

estimate

•Mean square errorof the sample mean about= variance of Mn

X1  X2  Xn E X  =

Mn 1

n--- Xj

j=1

n

=

E X 

E M  E 1n n--- Xj

j=1

n n---1 E X j j=1

n

= = =

MSE = E Mn21

n2

---VAR S  nn 2 n2 ---

=

=

2 ---n

= n2

Chebyshev inequality

Ex: Measurement ; : desired voltage, : Noise voltage with .

• How many measurements PX ma 2

a2 ---

PMnE M n  2n

2 ---

PMn 1 2 n2 ---

= 1

select n Xj = V+Nj V

Nj  1V=

PMnV  1 2 n2 ---

1 1

n---

0.99

= =

1V  1V= at least

n100

Snn

fM

nm

2n

Random signal and Process 輔仁大學 電機工程系所

Central Limit Theorem

: n i.i.d R.V’s with finite mean and ;

• nlarge; cdf, pdf of Sn Gaussian

• ;

 ,

 standard Normal

X1  X2  Xn

2 Sn = X1+X2+ X+ n

E X  = VAR X  = 2

E S  nn = VAR S  nn = 2 S

n = n

Zn Snn

--- n

=

Ex:Orders ata restaurantare i.i.d R.V.’s with= $8, = $2

P[First 100 customers spend more than $840]

• ,

P[Total spent by all customers> $1000]=90%

;

n 8 100= =800 n2 =4100 =400 P S100840  P Z=100840 80020

Q 2 

= 2.28102

P 780S100820 P= –1Z10011 2Q 2–  

= 0.682

P S1001000  P Z=1001000 8n2 n1000 8n

---2 n =1.2815

8n 1.28152 n1000= 0n129 Q x 0.1=

x=1.2815

(4)

5 - 6 Chapter 5: Sum of Random Variable and

Large-Term Average Dr. Sheng-Chou Lin

Central Limit Theorem (CDF)

n = 5 Bernoulli with p = 1/2

n = 25 Bernoulli with p = 1/2

n = 5 Exponential with p = 1/2

n = 50 Exponential with p = 1/2

Random signal and Process 輔仁大學 電機工程系所

Central Limit Theorem (PDF)

n = 5 Binomial with p = 1/2

n = 25 Binomial with p = 1/2

n = 5 Discrete uniform from the set

 5 1 2=

=2.5

 25 1 2=

=12.5

(0,1,2...9}

nlarge; pdf of Sn Gaussian

; ,

E X  = VAR X  = 2 E S  nn = S

n

2 =n2

(5)

5 - 8 Chapter 5: Sum of Random Variable and

Large-Term Average Dr. Sheng-Chou Lin

Central Limit Theorem (Proof)

Zn Snn

--- n 1

 n---Xk

k=1

n

= =

Z

n E ewjwZn  E jw

 n---Xk

k=1

n

 

 

 

= = exp

E eiw Xk  n

k=1

n

= E eiw Xk n

k=1

n

=

E eiw X n

 n

= ex 1 x x2

2! --- x3

3! ---

+ + + +

=

E 1 jw

 n--- X– jw 2 2!n2

--- X–2 R w

+ + +

1 jw

 n--- EX jw 2 2!n2

--- E X–2E R w

+ + +

=

1 w2

2n--- E R w+ 

1 w22n

=

n

, ,

For Gaussian R.V.

Characteristic Function of Standard Gaussian as n goes to infinity

• Usually,n20, pdf or cdf of 

Gaussian R.V.

1+x

 n = 1+nx+1 w22 ex = 1+x x = –w22

Z

n 1 ww 2 2n---

– 

 

 n

= ew22

X ew = jw m jw 2k2 2ew22

m=02=1

Z

nw

Zn

Random signal and Process 輔仁大學 電機工程系所

Confidence Interval

• Sample mean estimator ,

, How good

• Sample variance estimator



Confidence Interval

• Interval

-

Confidence Interval

-

The width of a confidence interval is a measure of the accuracy

Mn E X  =

Mn 1

n--- Xj

j=1 n

= Mn

Vn2 1 n1

---XjMn2

j=1 n

=

l X u X

 

Pl X  u X   1 =1

 100 %

•Case 1: unknow Mean and know variance

-

-

Confidential Interval

confidence interval for

-

Depends on , , ,

PZ Mnn --- Z n

= 1 2Q z– 

P Mn z

---n

 Mn z

---n

  +

=

true mean

sample mean

 2Q Z= 2

z 2 ---n

Mn z 2 ---n

+ 1

 100 %

Mn 2 m 1

(6)

5 - 10 Chapter 5: Sum of Random Variable and

Large-Term Average Dr. Sheng-Chou Lin

Confidence Interval

Ex: ; : unknown; : random noise, Gaussian pdf with

• 95% confidence interval for if n =100, sample m Sample mean

-

, ,

X = v+N v N

2 = 1V v

Mn = 5.25V

 5 %=  2 = 0.025 z 2 = 1.96

Confidence 5.25 1.96 1

---10

5.25 1.96 1

---10

+

= 5.05 5.45

 

= 95% fall in this area

• Case 1:unknow Mean and know variance

-

-

Confidential Interval

confidence interval for

-

Depends on , , ,

PZ Mnn --- Z n

= 1 2Q z– 

P Mn z

---n

 Mn z

---n

  +

=

true mean

sample mean

 2Q Z= 2

z 2 ---n

Mn z 2 ---n

+ 1

 100 %

Mn 2 m 1

 2

 2

Random signal and Process 輔仁大學 電機工程系所

Confidence Interval

•Case 1: unknow Mean and variance : iid Gaussian R.V. with unknow mean and unknown variance

W :student’s t-distribution with (n-1) degrees of freedom

Xj's

2

P Mn z

---n

 Mn z ---n

  +

P Mn zVn ---n

 Mn zVn ---n

  +

=

sample variance

W Mn Vnn

--- n Mn Vn ---

= =

Mn

  nn 1

 2Vn2

 n 1–

 1 2 ---

=

zero-mean unit-variance Gaussian

Chi-square R.V. with (n-1) degree of freedom

• pdfofstudent’s t-distribution

fn 1y n 2

 n 1– 2n 1–  --- 1 y2

n 1---

+

 n 2

=

P Mn zVn ---n

 Mn zVn ---n

  +

fn 1yy d

z

z

= = 1 2Fn 1 –z

Gaussian pdf Students pdf n=4 and n=8

(7)

5 - 12 Chapter 5: Sum of Random Variable and

Large-Term Average Dr. Sheng-Chou Lin

Confidence Interval

• Confidential Interval 1-

-

confidence interval for mean

-

Table 5.2:

Ex: A certain device, lifetimeGaussian;

8 devices are tested

-

sample mean10days

-

sample variance4days

-

99% confidence interval ,

 2F= n 1–z 2n 1–  1

 100 %

Mn z 2 n 1 Vn

--- Mn n z 2 n 1 Vn ---n

+

=

z 2 n 1

n 1= 7 z 2 7 = 3.499

Confidence Interval 10 3.499 2

---8

10 3.499 2---8

+ =7.53 12.47

參考文獻

相關文件

● Selfish centromeres have bigger chance to face toward egg side,and pass their genetic information into next generation... Take

1 Generalized Extreme Value Distribution Let Y be a random variable having a generalized extreme- value (GEV) distribution with shape parameter ξ, loca- tion parameter µ and

Quadratically convergent sequences generally converge much more quickly thank those that converge only linearly.

denote the successive intervals produced by the bisection algorithm... denote the successive intervals produced by the

4.1 Extreme Values of Functions on Closed Intervals 4.2 The Mean Value Theorem.. 4.3 Monotonic Functions and the First Derivative Test 4.4 Concavity and

As a byproduct, we show that our algorithms can be used as a basis for delivering more effi- cient algorithms for some related enumeration problems such as finding

– The futures price at time 0 is (p. 278), the expected value of S at time Δt in a risk-neutral economy is..

Lemma 3 An American call or a European call on a non-dividend-paying stock is never worth less than its intrinsic value.. • An American call cannot be worth less than its