• 검색 결과가 없습니다.

Transformation

N/A
N/A
Protected

Academic year: 2024

Share "Transformation"

Copied!
12
0
0

로드 중.... (전체 텍스트 보기)

전체 글

(1)

Preliminary Study

Transformation

Wha Sook Jeon

Mobile Computing & Communications Lab.

Seoul National University

(2)

Transformation (1)

• Probability generating function

− Nonnegative discrete random variable X

− Properties

) ( z

] [ )

(

0

n P z

E z

G X

n n X

X

=

=

=

] [ ]

[ )

( ) 1 (

) 1 ( ''

) ( z

) 1 (

) ( ) ''

(

] [ )

( )

1 ( '

) ( z

) ( ) '

(

2 0

0

2 2

2

0 0

1

X E X

E n

P n

n G

n P n

n z

G dz

z G d

X E n

nP G

n P n

z dz G

z dG

n

X X

X n

n X X

n

X X

X n

n X X

=

=

=

=

=

=

=

=

=

=

=

=

1

1 ) 1 ( = GX

(3)

Transformation (2)

• Laplace transform

− Nonnegative continuous random variable X

− Properties

dx e

x f e

E s

F*X ( ) = [ sX ] =

0 X ( ) sx

] [ )

( )

) ( (

] [ )

( )

( ) -

(

2 0

2 0

2 0

2

* 2

0 s

0 0 0

*

0

lim lim

lim lim

X E dx x f x dx

x f e ds x

s F d

X E dx

x f x dx

x f e ds x

s dF

X X

sx s

X

X X

sx s

X s

=

=

=

=

=

=

1 )

( )

0

( 0

* =

f x dx =

F X X

(4)

Transformation (3)

• Why the transformation?

1. It is easy to obtain the convolution, which is a

distribution of sums of independent random variables

Summation => multiplication

2. It is easy to calculate the moments of a random variable

Integral => differential

] [

]...

[ ] [

] [

) (

] [

]...

[ ] [

] [

) (

2 1

2 1

2 1

2 1

) ...

(

*

) ...

(

m m

n n

X sX

sX X

X X s X

X X

X X

X X X

e E e

E e

E e

E s

F

Z E Z

E Z

E Z

E z

G

+

+ +

+ + +

=

=

=

=

3

(5)

Examples :

Probability generating Function (1)

• For Bernoulli r.v. 𝑋𝑋 with parameter 𝑝𝑝

𝐺𝐺𝑋𝑋 𝑧𝑧 = E 𝑧𝑧𝑋𝑋

= 𝑧𝑧1𝑝𝑝 + 𝑧𝑧0(1 − 𝑝𝑝) = 𝑧𝑧𝑝𝑝 + 1 − 𝑝𝑝

𝐺𝐺𝐺𝑋𝑋 𝑧𝑧 = 𝑝𝑝, 𝐺𝐺𝐺𝐺𝑋𝑋 𝑧𝑧 =0

E 𝑋𝑋 = 𝐺𝐺𝐺𝑋𝑋 1 = 𝑝𝑝

Var 𝑋𝑋 = 𝐸𝐸 𝑋𝑋2 − E 𝑋𝑋 2

= 𝐺𝐺𝐺𝐺𝑋𝑋 1 + 𝐺𝐺𝐺𝑋𝑋 1 − 𝐺𝐺𝑋𝑋 1 2 = 𝑝𝑝 (1 − 𝑝𝑝)

(6)

• For binomial r.v. 𝑌𝑌 with parameters 𝑛𝑛 and 𝑝𝑝

− Average of 𝑌𝑌 using probability density function

E 𝑌𝑌 = ∑𝑛𝑛𝑘𝑘=0𝑘𝑘 𝑛𝑛𝑘𝑘 𝑝𝑝𝑘𝑘(1 − 𝑝𝑝)𝑛𝑛−𝑘𝑘

= ∑𝑛𝑛𝑘𝑘=0 𝑘𝑘−1 ! 𝑛𝑛−𝑘𝑘 !𝑛𝑛! 𝑝𝑝𝑘𝑘(1 − 𝑝𝑝)𝑛𝑛−𝑘𝑘

It is simpler to find the average using probability generating function

− Average of 𝑌𝑌 using probability generating function

𝑌𝑌 = 𝑋𝑋1 + 𝑋𝑋2 + ⋯ + 𝑋𝑋𝑛𝑛 (𝑋𝑋𝑖𝑖: Bernoulli r.v.)

𝐺𝐺𝑌𝑌 𝑧𝑧 = 𝐺𝐺𝑋𝑋1 𝑧𝑧 𝐺𝐺𝑋𝑋2 𝑧𝑧 ⋯ 𝐺𝐺𝑋𝑋𝑛𝑛 𝑧𝑧 = {𝑧𝑧𝑝𝑝 + 1 − 𝑝𝑝}𝑛𝑛

𝐺𝐺𝐺𝑌𝑌 𝑧𝑧 = 𝑛𝑛{𝑧𝑧𝑝𝑝 + 1 − 𝑝𝑝}𝑛𝑛−1𝑝𝑝 E 𝑌𝑌 = 𝐺𝐺𝐺𝑌𝑌 1 = 𝑛𝑛𝑝𝑝

5

Examples :

Probability generating Function (2)

(7)

• For binomial r.v. 𝑌𝑌 with parameters 𝑛𝑛 and 𝑝𝑝

− Variance of 𝑌𝑌 using probability generating function

𝐺𝐺𝐺𝐺𝑌𝑌 𝑧𝑧 = 𝑛𝑛(𝑛𝑛 − 1){𝑧𝑧𝑝𝑝 + 1 − 𝑝𝑝}𝑛𝑛−2𝑝𝑝2 𝐺𝐺𝐺𝐺𝑌𝑌 1 = E 𝑌𝑌2 − E 𝑌𝑌 = 𝑛𝑛(𝑛𝑛 − 1)𝑝𝑝2 Var 𝑌𝑌 = E 𝑌𝑌2 − {E 𝑌𝑌 }2

= 𝐺𝐺𝐺𝐺𝑌𝑌 1 + 𝐺𝐺𝐺𝑌𝑌 1 − {𝐺𝐺𝑌𝑌 1 }2 = 𝑛𝑛 𝑛𝑛 − 1 𝑝𝑝2 + 𝑛𝑛𝑝𝑝 − (𝑛𝑛𝑝𝑝)2 = 𝑛𝑛𝑝𝑝(1 − 𝑝𝑝)

Examples :

Probability generating Function (3)

(8)

• For geometric r.v. 𝐴𝐴 with parameter 𝑝𝑝

− Average of 𝐴𝐴 using probability density function

E 𝐴𝐴 = ∑𝑘𝑘=1𝑘𝑘(1 − 𝑝𝑝)𝑘𝑘−1𝑝𝑝

− Average of 𝐴𝐴 using probability generating function

𝐺𝐺𝐴𝐴 𝑧𝑧 = E 𝑧𝑧𝐴𝐴 = ∑𝑘𝑘=1𝑧𝑧𝑘𝑘 (1 − 𝑝𝑝)𝑘𝑘−1𝑝𝑝 = 𝑧𝑧𝑝𝑝 ∑𝑘𝑘=1{𝑧𝑧(1 − 𝑝𝑝)}𝑘𝑘−1

= 𝑧𝑧𝑝𝑝[1 + 𝑧𝑧 1 − 𝑝𝑝 + 𝑧𝑧 1 − 𝑝𝑝 2 + ⋯ ] = 1−𝑧𝑧(1−𝑧𝑧)𝑧𝑧𝑧𝑧

𝐺𝐺𝐺𝐴𝐴 𝑧𝑧 = {1−𝑧𝑧 1−𝑧𝑧 }𝑧𝑧 2E 𝐴𝐴 = 𝐺𝐺𝐺𝐴𝐴 1 = 𝑧𝑧1

7

Examples :

Probability generating Function (4)

(9)

• For geometric r.v. 𝐴𝐴 with parameter 𝑝𝑝

− Variance of 𝐴𝐴 using probability generating function

𝐺𝐺𝐺𝐺𝐴𝐴 𝑧𝑧 = {1−𝑧𝑧(1−𝑧𝑧)}2𝑧𝑧(1−𝑧𝑧) 3

𝐺𝐺𝐺𝐺𝐴𝐴 1 = E 𝐴𝐴2 − E 𝐴𝐴 = 2𝑧𝑧 1−𝑧𝑧𝑧𝑧3 = 2(1−𝑧𝑧)𝑧𝑧2 Var 𝐴𝐴 = E 𝐴𝐴2 − {E 𝐴𝐴 }2

= 𝐺𝐺𝐺𝐺𝐴𝐴 1 + 𝐺𝐺𝐺𝐴𝐴 1 − {𝐺𝐺𝐴𝐴 1 }2 = 2(1−𝑧𝑧)𝑧𝑧2 + 𝑧𝑧1 𝑧𝑧12

= 1−𝑧𝑧𝑧𝑧2

Examples :

Probability generating Function (5)

(10)

• For negative binomial r.v. 𝐵𝐵 with parameter 𝑘𝑘 and 𝑝𝑝

− Average of 𝐵𝐵 using p.d.f.

E 𝐵𝐵 = ∑𝑛𝑛=𝑘𝑘 𝑛𝑛 𝑛𝑛−1𝑘𝑘−1 𝑝𝑝𝑘𝑘−1(1 − 𝑝𝑝)𝑛𝑛−𝑘𝑘𝑝𝑝

It is not easy to directly calculate the above equation

− Average of 𝐵𝐵 using probability generating function

B= 𝐴𝐴1 + 𝐴𝐴2 + ⋯ + 𝐴𝐴𝑘𝑘 (𝐴𝐴𝑖𝑖: geometric r.v.)

𝐺𝐺𝐵𝐵 𝑧𝑧 = 𝐺𝐺𝐴𝐴1 𝑧𝑧 𝐺𝐺𝐴𝐴2 𝑧𝑧 ⋯ 𝐺𝐺𝐴𝐴𝑘𝑘 𝑧𝑧

= 1−𝑧𝑧(1−𝑧𝑧)𝑧𝑧𝑧𝑧 𝑘𝑘

𝐺𝐺𝐺𝐵𝐵 𝑧𝑧 = 𝑘𝑘 1−𝑧𝑧(1−𝑧𝑧)𝑧𝑧𝑧𝑧 𝑘𝑘−1 {1−𝑧𝑧(1−𝑧𝑧)}𝑧𝑧 2

E 𝐵𝐵 = 𝐺𝐺𝐺𝐵𝐵 1 = 𝑘𝑘𝑧𝑧

9

Examples :

Probability generating Function (6)

(11)

• For exponential r.v. 𝑋𝑋 with parameter 𝜆𝜆

− Average of 𝑋𝑋 using p.d.f.

E 𝑋𝑋 = ∫ 𝑥𝑥𝜆𝜆0 𝑒𝑒−𝜆𝜆𝜆𝜆𝑑𝑑𝑥𝑥

It is not easy to directly calculate the above equation

− Average and variance of 𝑋𝑋 using Laplace transform

𝐹𝐹𝑋𝑋 𝑠𝑠 = E 𝑒𝑒−𝑠𝑠𝑋𝑋 = ∫ 𝑒𝑒0 −𝑠𝑠𝜆𝜆𝜆𝜆𝑒𝑒−𝜆𝜆𝜆𝜆𝑑𝑑𝑥𝑥 = 𝜆𝜆 ∫ 𝑒𝑒0 −(𝜆𝜆+𝑠𝑠)𝜆𝜆𝑑𝑑𝑥𝑥 = 𝜆𝜆 1

−(𝜆𝜆+𝑠𝑠)𝑒𝑒−(𝜆𝜆+𝑠𝑠)𝜆𝜆

0 = 𝜆𝜆+𝑠𝑠𝜆𝜆

E 𝑋𝑋 = − lim𝑠𝑠→0𝑑𝑑𝐹𝐹𝑑𝑑𝑠𝑠𝑋𝑋 𝑠𝑠 = − lim𝑠𝑠→0 𝜆𝜆+𝑠𝑠−𝜆𝜆 2 = 1𝜆𝜆

E 𝑋𝑋2 = lim𝑠𝑠→0𝑑𝑑2𝐹𝐹𝑑𝑑𝑠𝑠𝑋𝑋2 𝑠𝑠 = lim𝑠𝑠→0(𝜆𝜆+𝑠𝑠)2𝜆𝜆 3 = 𝜆𝜆22

Var 𝑋𝑋 = E 𝑋𝑋2 − (E 𝑋𝑋 )2 = 2 1 2 = 1

Examples: Laplace Transform(1)

(12)

• For 𝑘𝑘-stage Erlang r.v. 𝑌𝑌 with parameter 𝑘𝑘 and 𝜆𝜆

− Average of 𝑌𝑌 using probability density function

𝑓𝑓𝑌𝑌 𝑥𝑥 = 𝜆𝜆𝑒𝑒−𝜆𝜆𝜆𝜆𝑘𝑘−1 !(𝜆𝜆𝜆𝜆)𝑘𝑘−1

E 𝑌𝑌 = ∫ 𝑥𝑥0 𝜆𝜆𝑒𝑒−𝜆𝜆𝜆𝜆𝑘𝑘−1 !(𝜆𝜆𝜆𝜆)𝑘𝑘−1𝑑𝑑𝑥𝑥

It is not easy to directly calculate the above equation

− Average of 𝑌𝑌 using Laplace transform

𝑌𝑌 = 𝑋𝑋1 + 𝑋𝑋2 + ⋯ + 𝑋𝑋𝑘𝑘 (𝑋𝑋𝑖𝑖: exponential r.v.)

𝐹𝐹𝑌𝑌 𝑠𝑠 = 𝐹𝐹𝑋𝑋1 𝑠𝑠 𝐹𝐹𝑋𝑋2 𝑠𝑠 ⋯ 𝐹𝐹𝑋𝑋𝑘𝑘 𝑠𝑠 = 𝜆𝜆+𝑠𝑠𝜆𝜆 𝑘𝑘

E 𝑌𝑌 = − lim𝑠𝑠→0𝑑𝑑𝐹𝐹𝑑𝑑𝑠𝑠𝑌𝑌 𝑠𝑠 = − lim𝑠𝑠→0𝑘𝑘 ⨯ 𝜆𝜆+𝑠𝑠𝜆𝜆 𝑘𝑘−1 (𝜆𝜆+𝑠𝑠)−𝜆𝜆 2 = 𝑘𝑘𝜆𝜆

Var 𝑌𝑌 = 𝜆𝜆𝑘𝑘2

11

Examples: Laplace Transform (2)

참조

관련 문서

“Evaluating median cross-over likelihoods with clustered accident counts: An empirical inquiry using random effects negative binomial model.” Transportation Research Record: Journal

Assigning Probabilities Probabilities of Complements and Unions of Events Conditional Probability Independence Bernoulli Trials and the Binomial Distribution Random Variables

In this paper, we consider the distribution for the ratio based on two independent two parameter Lindley random variables and two independent weighted Lindley random

For an inverse double Weibull distribution which is symmetric about zero, we obtain distribution and moment of ratio of independent inverse double Weibull variables, and also obtain

negatively superadditive dependent random variables, Marcinkie- wicz-Zygmund strong law of large numbers, weighted sums, the three series theorem.. Supported by the National

Development of Traffic Accident Estimation Model by Random Parameter Negative Binomial Model: Focus on Multilane Rural Highway, International Journal of Korean

In order to obtain limit theorems for fuzzy random variables, many authors have used the theory of Banach space-valued random variables by embedding the space of fuzzy

CONVERGENCE OF WEIGHTED SUMS FOR DEPENDENT RANDOM VARIABLES Han-Ying Liang, Dong-Xia Zhang, and Jong-Il Baek Abstract.. We discuss in this paper the strong convergence for weighted