Simulation of Erlang and negative binomial distributions using the generalized Lambert W function

C. Y. Chew, G. Teng*, Y. S. Lai

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

39 Downloads (Pure)

Abstract

We present a simulation method for generating random variables from Erlang and negative binomial distributions using the generalized Lambert W function. The generalized Lambert W function is utilized to solve the quantile functions of these distributions, allowing for efficient and accurate generation of random variables. The simulation procedure is based on Halley's method and is demonstrated through the generation of 100,000 random variables for each distribution. The results show close agreement with the theoretical mean and variance values, indicating the effectiveness of the proposed method. This approach offers a valuable tool for generating random variables from Erlang and negative binomial distributions in various applications.

Original languageEnglish
Article number100092
JournalJournal of Computational Mathematics and Data Science
Volume10
Early online date8 Feb 2024
DOIs
Publication statusPublished - Mar 2024

Keywords

  • Inverse transform method
  • Lambert W function

ASJC Scopus subject areas

  • Computational Mathematics
  • Artificial Intelligence
  • Applied Mathematics
  • Computer Science Applications

Fingerprint

Dive into the research topics of 'Simulation of Erlang and negative binomial distributions using the generalized Lambert W function'. Together they form a unique fingerprint.

Cite this