21
Distribution of the product of two normal variables. A state of the Art Am´ ılcar Oliveira 2,3 Teresa Oliveira 2,3 Antonio Seijas-Mac´ ıas 1,3 1 Department of Economics. Universidade da Coru˜ na (Spain) 2 Department of Sciences and Technology. Universidade Aberta (Lisbon), Portugal. 3 Center of Statistics and Applications, University of Lisbon (Portugal). September, 2018 A.Oliveira - T.Oliveira - A.Mac´ ıas Product Two Normal Variables September, 2018 1 / 21

Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

Distribution of the product of two normal variables. Astate of the Art

Amılcar Oliveira 2,3 Teresa Oliveira 2,3 Antonio Seijas-Macıas 1,3

1Department of Economics. Universidade da Coruna (Spain)

2Department of Sciences and Technology. Universidade Aberta (Lisbon), Portugal.

3Center of Statistics and Applications, University of Lisbon (Portugal).

September, 2018

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 1 / 21

Page 2: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

Outline

1 INTRODUCTION

2 FIRST APPROACHES

3 ROHATGI’S THEOREM

4 COMPUTATIONAL TECHNIQUES

5 RECENT ADVANCES

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 2 / 21

Page 3: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

INTRODUCTION

Introduction

Normal distribution: the most common in Theory of Probability.

Applications to the real world: biology, psychology, physics, economics,... .

Density function (PDF): f (x) = 1√2πσ2

exp− (x−µ)2

2σ2 ,where µ is the mean and σ is the

standard deviation (σ2 is the variance).

Distribution function (CDF): F (x) = 12

[1 + erf

(x−µσ√

2

)], where the error function is:

erf(t) = 2√π

∫ t0 e−y2

dy .

Normal Distribution N(0, 1)Abraham de Moivre(1667-1754) Carl F. Gauss (1777-1855)

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 3 / 21

Page 4: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

INTRODUCTION

Introduction

Several distributions are derived from normal distribution: Chi-squareor t distribution are the most famous.

Relation with other distributions (exponential, uniform, ...) is known.

Let X and Y be two normally distributed variables with means µxand µy and variances σ2

x , σ2y ,

Sum X + Y is normally distributed with mean µx + µy and varianceσ2x + σ2

y , when there is no correlation.

When there exists correlation (ρ), variance of the sum isσ2x + σ2

y + 2ρσxσy .

The product of two variables was not be able to characterize like thesum and remains like an open problem.

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 4 / 21

Page 5: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

FIRST APPROACHES

First Historical Approach

Wishart and Bartlett (1932): The product of two independent normal variables is directlyproportional to a second class Bessel function with a zero-order pure imaginary argument[WB32]

Craig (1936): Let be two normal variables X ∼ N(µx , σx ) and Y ∼ N(µy , σy ), andcorrelation coefficient ρxy and the inverse of the variation coefficient: rx = µx

σxand

ry =µy

σy. Then we could deduce the moment-generating function.[Cra36]

Mxy (t) =

exp

[(r2x +r2

y−2ρxy rx ry )t2+2rx ry t

2(1−(1+ρxy )t)(1−(1−ρxy )t))

]((1− (1 + ρxy )t)(1− (1− ρxy )t))1/2

(1)

The product of two normal variables might be a non-normal distribution

Skewness is (−2√

2,+2√

2), maximum kurtosis value is 12

The function of density of the product is proportional to a Bessel function and its graph isasymptotical at zero.

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 5 / 21

Page 6: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

FIRST APPROACHES

Figure: Examples of the product of two Normal Variables with ρ = 0 Craig (red -dashed) and MonteCarlo Simulation (blue)

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 6 / 21

Page 7: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

FIRST APPROACHES

Advances in 50’s in 20th Century

Aroian (1947): Type III Pearson function or Gram-Charlier Type A series ([Aro47]) .

Limitations: ρ = 0, the Type III Pearson requires µx 6= 0 or µy 6= 0, Gram-Charlierapproach has a very limited range of applicability.

Advantages: There is no discontinuity at zero.

Theorem ([ATC78], p. 167)

Let X and Y be two normally distributed variables with mean µx , µy , variances σ2x , σ

2y and

correlation coefficient ρ. Let be rx = µxσx

and ry =µy

σy. Distribution function of Z = xy

σxσyis

FZ (z) =1

2+

1

π

∫ ∞0

φ(z, rx , ry , ρ, t)dt, (2)

where φ(z, rx , ry , ρ, t) =

1t

1G

exp

(− (H+4ρrx ry )t2+(1−ρ2)Ht

2G2

)∗{[(

G+I2

)1/2sinA

]−[(

G−I2

)1/2cosA

]}, with

A =(t(y − r1r2I−ρHt2

G2

)),G2 = (1 + (1− ρ2)t2)2 + 4ρ2t2, H = r2

1 + r22 − 2ρr1r2 and

I = 1 + (1− ρ2)t2.

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 7 / 21

Page 8: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

FIRST APPROACHES

Figure: Examples of the Product of two normal variables no correlated:Gram-Charlier (green - pointed), Pearson Type III (red - dashed) y MonteCarlosimulation (blue)

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 8 / 21

Page 9: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

ROHATGI’S THEOREM

Rohatgi’s Theorem [Roh76]

Theorem ([GLD04], p.452-453)Let X be a continuous random variable with PDF f (x) definite and positive in (a, b), with 0 < a < b <∞. Let Y be arandom variable with PDF g(y), definite and positive in (c, d), with 0 < c < d <∞. Then, PDF of Z = XY is

When ad < bc:

h(z) =

∫ z/ca g

(zx

)f (x) 1

xdx ac < z < ad∫ z/c

z/dg(

zx

)f (x) 1

xdx ad < z < bc∫ b

z/d g(

zx

)f (x) 1

xdx bc < z < bd

When ad = bc

h(z) =

∫ z/ca g

(zx

)f (x) 1

xdx ac < z < ad∫ b

z/d g(

zx

)f (x) 1

xdx ad < z < bd

When ad > bc

h(z) =

∫ z/ca g

(zx

)f (x) 1

xdx ac < z < ad∫ b

a g(

zx

)f (x) 1

xdx bc < z < ad∫ b

z/d g(

zx

)f (x) 1

xdx ad < z < bd

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 9 / 21

Page 10: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

ROHATGI’S THEOREM

Application Rohatgi’s Theorem

Only for PDF of random variables in first quadrant, but generalization to other quadrantsis straightforward.

The PDF of the product is not defined at zero.

Range for normal distribution must be bounded.

Very good approach for the product of two independent N(0, 1) distributions:

h(z) =

{K0(−z)π

−∞ < z < 0K0(z)π

0 < z <∞

where K0(·) is the modified second class Bessel function.

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 10 / 21

Page 11: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

ROHATGI’S THEOREM

Figure: Examples of Product of two independent normal distributions: Rohatgi’s TheoremApproach (blue) and MonteCarlo Simulation (red)

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 11 / 21

Page 12: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

COMPUTATIONAL TECHNIQUES

Advances in early 21st Century

Ware and Lad (2003) : A bivariate independent normal distribution [WL03]:[XY

]∼ N

( [µxµy

],

[σ2x 0

0 σ2y

] ]Marginal density f (z) would be:

f (z) =

∫ ∞−∞

f (z|y)f (y)dy =

∫ ∞−∞

f (z, y)dy (3)

Approach using numerical integration: Newton-CotesSimulation with MonteCarlo methodAnalytical approach using normal distribution: Moment-generating Function:

µz = µxµy + ρσxσy (4)

σ2z = µ2

xσ2y + µ2

yσ2x + σ2

xσ2y + 2ρµxµyσxσy + ρ2σ2

xσ2y (5)

For the case of two independent normally distributed variables, the limit distribution of theproduct is normal. These approach follows the evolution of ratio (mean/standard deviation), butsome important questions remain open [WL03]:

When the ratio mean/standard deviation is enough to guarantee the normal approach forthe product.Approximation to normality is more sensitive for individual ratios or combined ratio.How is the evolution of the skewness of the product, when is null? Is there a level forskewness and normality of product

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 12 / 21

Page 13: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

COMPUTATIONAL TECHNIQUES

Approach to the Product of Two Normal Variables

Let X and Y be two variables normales with parameter: µx , σ2x and rx = µx

σxand µy , σ2

y and

ry =µy

σy. Then [SMO12] :

When two variables have unit variance (σ2 = 1), with different mean, normal approach isa good option for means greater than 1. But, when the mean is lower, normal approach isnot correct.

When two variables have unit mean (µ = 1), with different variance, normal approachrequires that, at least, one variable has a variance lower than 1.

When, at least, one of the inverse of the variation coefficient δx or δy is high, then normalapproach is correct.

When two normal distributions have same variance σ2x = σ2

y = σ2, we define combined

ratio asµxµy

σ, then a high value for combined ratio produce a good normal approach for

product, but when combined ratio is lower than 1, the normal approach fails [OOSM13].

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 13 / 21

Page 14: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

COMPUTATIONAL TECHNIQUES

Figure: Examples of Product of two independent normal distributions: Numerical Integration(blue), MonteCarlo Simulation (red), Normal Approach (green)

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 14 / 21

Page 15: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

COMPUTATIONAL TECHNIQUES

Figure: Examples of Product of two independent normal distributions: Numerical Integration(blue), MonteCarlo Simulation (red), Normal Approach (green)

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 15 / 21

Page 16: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

RECENT ADVANCES

Recent Publications

Theorem ([NP16] p. 202)

Let (X ,Y ) be a bivariate normal distribution random vector with meanzero and variance one and correlation coefficient ρ. Then, PDF ofZ = XY is

fZ (z) =1

π√1− ρ2

exp

[ρz

1− ρ2

]K0

(|z |

1− ρ2

)(6)

for −∞ < z <∞, where K0(·) is second class zero order modified Besselfunction.

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 16 / 21

Page 17: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

RECENT ADVANCES

Recent Publications

Theorem ([Cui+16], pp.1662-1663)

Let X and Y two real Gaussian random variables X ∼ N(µx , σx) andY ∼ N(µy , σy ) with ρ the correlation coefficient. Then the exact PDFfZ (z) of the product Z = XY is given by:

exp

{− 1

2(1− ρ2

(µ2x

σ2x

+µ2y

σ2y

− 2ρ(x + µxµy )

σxσy

)}

×∞∑n=0

2n∑m=0

x2n−m|x |m−nσm−n−1x

π(2n)!(1− ρ2)2n+1/2σm−n+1y

(µxσ2x

− ρµyσxσy

)m

(2n

m

)×(µyσ2y

− ρµxσxσy

)2n−mKm−n

(|x |

(1− ρ2)σxσy

)where Kv (·) denotes the modified Bessel function of the second kind andorder v .

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 17 / 21

Page 18: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

RECENT ADVANCES

Final Summary

First Approaches: Bessel Function - Product of two independentstandard normal distributions.

Moment-generating function of the product

New Options: Pearson Function Type III - Gram-Charlier Series TypeA.

Rohatgi’s Theorem.

Alternatives approaches:

Approach using functions: Bessel, Pearson, Gram-Charlier Series, ...Approach to normal distribution: mean and variance of the product,skewness and kurtosis.Approach using numerical integration methods.

Future: Alternative distributions: Skew-Normal, ExtendedSkew-Normal, ...

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 18 / 21

Page 19: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

RECENT ADVANCES

References: I

[Aro47] Leo A. Aroian. “The probability function of the product of two normally distributedvariables”. In: The Annals of Mathematical Statistics 18.2 (1947), pp. 265–271.

[ATC78] Leo A. Aroian, Vidya S. Taneja, and Larry W. Cornwell. “Mathematical Forms ofthe Distribution of the Product of Two Normal Variables”. In: Communications inStatistics - Theory and Methodology A7.2 (1978), pp. 165–172.

[Cra36] Cecil C. Craig. “On the Frequency of the function xy”. In: The Annals ofMathematical Statistics 7 (1936), pp. 1–15.

[Cui+16] Guolong Cui et al. “Exact Distribution for the Product of Two CorrelatedGaussian Random Variables”. In: IEEE Signal Processing Letters 23.11 (2016),pp. 1662–1666.

[GLD04] Andrew G. Glen, Lawrence M Lemmis, and John H. Drew. “Computing thedistribution of the product of two continuous random varialbes”. In:Computational Statistics & Data Analysis 44 (2004), pp. 451–464.

[NP16] Saralees Nadarajah and Tibor K. Pogany. “On the distribution of the product ofcorrelated normal random variables”. In: Comptes Research de la AcademieSciences Paris, Serie I 354 (2016), pp. 201–204.

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 19 / 21

Page 20: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

RECENT ADVANCES

References: II

[OOSM13] A. Oliveira, T. Oliveira, and A. Seijas-Macıas. “The influence of ratios andcombined ratios on the distribution of the product of two independent gaussianrandom variables”. In: Proceedings of the 59th World Statistics Congress of theInternational Statistical Institute. Ed. by Proceedings of the 59th World StatisticsCongress of the International Statistical Institute. International StatisticalInstitute. 2013.

[Roh76] Vijay K. Rohatgi. An Introduction to Probability Theory Mathematical Studies.New York: Wiley, 1976.

[SMO12] Antonio Seijas-Macıas and Amılcar Oliveira. “An approach to distribution of theproduct of two normal variables”. In: Discussiones Mathematicae. Probability andStatistics 32.1-2 (2012), pp. 87–99.

[WB32] J. Wishart and M. S. Bartlett. “The distribution of second order moment statisticsin a normal system”. In: Mathematical Proceedings of the CambridgePhilosophical Society 28.4 (1932), pp. 455–459.

[WL03] Robert Ware and Frank Lad. Approximating the Distribution for Sums of Productsof Normal Variables. Tech. rep. The University of Queensland, 2003.

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 20 / 21

Page 21: Distribution of the product of two normal variables. A ... · Distribution of the product of two normal variables. A state of the Art Am lcar Oliveira 2,3Teresa Oliveira Antonio Seijas-Mac

Acknowledgments

This research is based on the partial results of the funded by FCT - Fundacao Nacional para aCiencia e Tecnologia, Portugal, through the project UID/MAT/00006/2013.

Thank you for your attentionEmail: [email protected]

A.Oliveira - T.Oliveira - A.Macıas Product Two Normal Variables September, 2018 21 / 21