EconPapers    
Economics at your fingertips  
 

A New R-Function to Estimate the PDF of the Product of Two Uncorrelated Normal Variables

Antonio Seijas-Macias (), Amílcar Oliveira and Teresa A. Oliveira
Additional contact information
Antonio Seijas-Macias: Departamento de Economía, Facultade de Economía e Empresa, Universidade da Coruña, 15071 Coruña, Spain
Amílcar Oliveira: Departamento de Ciência e Tecnologia, Universidade Aberta, 1269-001 Lisboa, Portugal
Teresa A. Oliveira: CEAUL, Faculdade de Ciências, Universidade de Lisboa, 1749-016 Lisboa, Portugal

Mathematics, 2023, vol. 11, issue 16, 1-13

Abstract: This paper analyses the implementation of a procedure using the software R to calculate the Probability Density Function (PDF) of the product of two uncorrelated Normally Distributed Random Variables. The problem of estimating the distribution of the product of two random variables has been solved for some particular cases, but there is no unique expression for all possible situations. In our study, we chose Rohatgi’s theorem as a basis for approximating the product of two uncorrelated Normally Distributed Random Variables. The numerical approximation of the product PDF was calculated using a function that we implemented in R. Several numerical examples show that the approximations obtained in R fit the theoretical values of the product distributions. The results obtained with our R function are very positive when we compare them with the Monte Carlo Simulation of the product of the two variables.

Keywords: Rohatgi’s theorem; numerical integration; normal distribution; product normal variables (search for similar items in EconPapers)
JEL-codes: C (search for similar items in EconPapers)
Date: 2023
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
https://www.mdpi.com/2227-7390/11/16/3515/pdf (application/pdf)
https://www.mdpi.com/2227-7390/11/16/3515/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jmathe:v:11:y:2023:i:16:p:3515-:d:1217218

Access Statistics for this article

Mathematics is currently edited by Ms. Emma He

More articles in Mathematics from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-03-19
Handle: RePEc:gam:jmathe:v:11:y:2023:i:16:p:3515-:d:1217218