A New R-Function to Estimate the PDF of the Product of Two Uncorrelated Normal Variables
Antonio Seijas-Macias, Amílcar Oliveira, Teresa A. Oliveira- General Mathematics
- Engineering (miscellaneous)
- Computer Science (miscellaneous)
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.